# Calling Fortran from Python/Julia/Matlab

**URL:** <https://fortran-lang.discourse.group/t/calling-fortran-from-python-julia-matlab/9139>\
**Category:** Uncategorized\
**Created:** [January 28, 2025, 2:41pm UTC](https://fortran-lang.discourse.group/t/calling-fortran-from-python-julia-matlab/9139 "2025-01-28T14:41:33Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![RJaBi](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/rjabi/32/5161_2.png) [@RJaBi](https://fortran-lang.discourse.group/u/RJaBi)\
**Post date:** [January 28, 2025, 8:33pm UTC](https://fortran-lang.discourse.group/t/calling-fortran-from-python-julia-matlab/9139/9 "2025-01-28T20:33:08Z")

</div>

There was a discussion about calling Fortran from python on this forum a little ago (below, the last post is the most succint). This works well for my use-cases thus far. I find the real benefit that I only need to write Fortran & Python (it uses f2py underneath).

> [@Packaging a \`fpm\` project with Python bindings, a little guide and insights from our experience](https://fortran-lang.discourse.group/t/packaging-a-fpm-project-with-python-bindings-a-little-guide-and-insights-from-our-experience/8495):
>
> At our institute we have been migrating a lot of our codebase to a cleaner and more structured one, taking advantage of modern Fortran constructs and fpm. The resulting product is: [GitHub - ipqa-research/yaeos: Thermodynamic Equations of State, Fortran library with both automatic and anallytical derivation capabilities](https://github.com/ipqa-research/yaeos). It exploits Fortran OOP maybe too much but it helped us to obtain an easy to extend library. While for a medium-level Fortran user using this library is (in our opinion) pretty …

---

_[View the full topic](https://fortran-lang.discourse.group/t/calling-fortran-from-python-julia-matlab/9139)._
