fwrap | Wrap Fortran 90/95 in C , Cython and Python | Transpiler library

 by   kwmsmith Python Version: Current License: Non-SPDX

kandi X-RAY | fwrap Summary

kandi X-RAY | fwrap Summary

fwrap is a Python library typically used in Utilities, Transpiler applications. fwrap has no vulnerabilities, it has build file available and it has low support. However fwrap has 5 bugs and it has a Non-SPDX License. You can download it from GitHub.

Fwrap: Wrap Fortran 77/90/95 in C, Cython & Python. Fwrap is a utility that takes Fortran 77/90/95 source code and provides cross-platform & cross-compiler wrappers in C, Cython & Python. It wraps the basic functionality you’d expect (functions, subroutines, scalar and array arguments for intrinsic types) and will eventually support all features of Fortran 90/95 (derived types, C/Cython/Python callbacks, wrap modules in Python classes). It is currently under heavy construction and is to be considered beta software until otherwise indicated. All commandline options, APIs etc. are subject to change.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              fwrap has a low active ecosystem.
              It has 49 star(s) with 11 fork(s). There are 7 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 2 open issues and 0 have been closed. On average issues are closed in 3243 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of fwrap is current.

            kandi-Quality Quality

              fwrap has 5 bugs (0 blocker, 0 critical, 1 major, 4 minor) and 434 code smells.

            kandi-Security Security

              fwrap has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              fwrap code analysis shows 0 unresolved vulnerabilities.
              There are 1 security hotspots that need review.

            kandi-License License

              fwrap has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              fwrap releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              fwrap saves you 4075 person hours of effort in developing the same functionality from scratch.
              It has 8662 lines of code, 899 functions and 60 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed fwrap and discovered the below as its top functions. This is intended to give you an instant insight into fwrap implemented functionality, and help decide if they suit your requirements.
            • Wrapper for function wrapper
            • Generate wrapper files
            • Generate python files for Fortran
            • Write a buffer to a file
            • Writes ctps to file
            • Returns a list of pxd_cimports
            • Generate the AST for a list of functions
            • Return a pyf Argument object from a p_arg
            • Get a list of all the arguments of a function
            • Write the ctp_tps_mod to fbuf
            • Write ctps header to file
            • Return the git version number
            • Set the intern variables for the dimension
            • Generates a string representation of the definition
            • Generate code for the wrapped function
            • Check code block
            • Return a list of pybytes
            • Write ctps to file
            • Returns the post - call code
            • Generate code for ctypes
            • Pre call
            • Check that all required names are present in the scope
            • Create an instance from a fw_proc
            • List of declaration declarations
            • Generate cyx module
            • Generate arguments for this function
            Get all kandi verified functions for this library.

            fwrap Key Features

            No Key Features are available at this moment for fwrap.

            fwrap Examples and Code Snippets

            No Code Snippets are available at this moment for fwrap.

            Community Discussions

            QUESTION

            Is there a more efficient way to wrap a float?
            Asked 2020-Oct-10 at 21:43

            I've been looking for examples on how to wrap a float between two numbers, similar to how you can do with integers using modulus. Examples I've found either involve using fmod to just find the remainder past the decimal point, assuming it's for a circle and doing pi-based math, among other things that didn't quite do what I needed. Finally, I just wrote this:

            ...

            ANSWER

            Answered 2020-Oct-10 at 21:43

            Is there a more efficient way to wrap a float?

            Use the fmod() family.

            Source https://stackoverflow.com/questions/64271039

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install fwrap

            You can download it from GitHub.
            You can use fwrap like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/kwmsmith/fwrap.git

          • CLI

            gh repo clone kwmsmith/fwrap

          • sshUrl

            git@github.com:kwmsmith/fwrap.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Transpiler Libraries

            c2rust

            by immunant

            Bridge

            by bridgedotnet

            vincent

            by wrobstory

            godzilla

            by owenthereal

            Try Top Libraries by kwmsmith

            h3-cython

            by kwmsmithC

            cythonize

            by kwmsmithPython