Coder Social home page Coder Social logo

danielrioslinares / c-python-fortran Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 497 KB

Demonstrate the C API for Python 3, comunicating Python, C++ and Fortran 90 in the simplest way

License: GNU General Public License v3.0

Makefile 77.12% C++ 18.15% Python 2.02% Fortran 0.54% QMake 2.18%
python cpp cpython fortran example fortran90 qt matplotlib

c-python-fortran's Introduction

C-Python-Fortran

Demonstrate the C API for Python 3, comunicating Python, C++ and Fortran 90 simplest as possible. The current examples are:

  • example_001 : Calls Python function f(x) inside p.py from C++ printing out the result.
  • example_002 : Python calls a method inside C++ named callCppFromPython(x), duplicates x and applies the function f(x) stored in pyfunc.py.
  • example_003 : From Python calls a Fortran 90 subroutine as a function extended with C++.
  • example_004 : From Python plot a figure and then the RGB values are sent to C++ where with Qt5 render the image in a label widget using Qpixmap object.

c-python-fortran's People

Contributors

danielrioslinares avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

skphy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.