fffi | transparently use shared libraries generated by Fortran
kandi X-RAY | fffi Summary
kandi X-RAY | fffi Summary
fffi is a Python library. fffi has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.
fffi is a tool to transparently use shared libraries generated by Fortran in Python with NumPy arrays. It is based on CFFI and currently assumes the use of gfortran or Intel Fortran. The focus of fffi is dynamical automatic generation of interfaces directly within Python with a minimum of extra code generation and files to allow for the simplest possible workflow for fast prototyping of Python/Fortran codes. In this sense it complements F2x which instead supplies interfaces based on generated code and ISO C bindings. Both tools aim to be more powerful and flexible alternatives to F2Py.
fffi is a tool to transparently use shared libraries generated by Fortran in Python with NumPy arrays. It is based on CFFI and currently assumes the use of gfortran or Intel Fortran. The focus of fffi is dynamical automatic generation of interfaces directly within Python with a minimum of extra code generation and files to allow for the simplest possible workflow for fast prototyping of Python/Fortran codes. In this sense it complements F2x which instead supplies interfaces based on generated code and ISO C bindings. Both tools aim to be more powerful and flexible alternatives to F2Py.
Support
Quality
Security
License
Reuse
Support
fffi has a low active ecosystem.
It has 6 star(s) with 2 fork(s). There are 3 watchers for this library.
It had no major release in the last 6 months.
There are 4 open issues and 1 have been closed. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of fffi is current.
Quality
fffi has 0 bugs and 0 code smells.
Security
fffi has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
fffi code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
fffi is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
fffi 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.
It has 1993 lines of code, 126 functions and 28 files.
It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed fffi and discovered the below as its top functions. This is intended to give you an instant insight into fffi implemented functionality, and help decide if they suit your requirements.
- Setup the package
- Define a cdef file
- Set the C source code
- Return the module declaration for a variable
- Generate source code for ast
- Generate code for subprogram
- Compile the module
- Return a typed array descriptor for the given compiler
- Prints debug information
- Return a typed array for a given compiler
- Define cdef
- Parse the given grammar
- Test the cffi test
- Convert a pointer to a numpy array
- Loads the library
- Prints a warning message
- Loads lib
- Parse the grammar
- Convert NumPy arrays to Fortran format
Get all kandi verified functions for this library.
fffi Key Features
No Key Features are available at this moment for fffi.
fffi Examples and Code Snippets
No Code Snippets are available at this moment for fffi.
Community Discussions
No Community Discussions are available at this moment for fffi.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fffi
You can download it from GitHub.
You can use fffi 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.
You can use fffi 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:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page