{"id":17654136,"url":"https://github.com/pnavaro/python-fortran","last_synced_at":"2025-05-08T20:57:41.923Z","repository":{"id":47212641,"uuid":"217046352","full_name":"pnavaro/python-fortran","owner":"pnavaro","description":"Python-Fortran bindings examples","archived":false,"fork":false,"pushed_at":"2024-12-02T08:48:57.000Z","size":157797,"stargazers_count":53,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-17T10:06:20.131Z","etag":null,"topics":["f2py","finite-differences","jupyter-book","python-fortran"],"latest_commit_sha":null,"homepage":"https://pnavaro.github.io/python-fortran/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pnavaro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-23T12:00:10.000Z","updated_at":"2024-12-02T08:41:20.000Z","dependencies_parsed_at":"2022-09-03T21:12:28.250Z","dependency_job_id":null,"html_url":"https://github.com/pnavaro/python-fortran","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnavaro%2Fpython-fortran","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnavaro%2Fpython-fortran/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnavaro%2Fpython-fortran/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnavaro%2Fpython-fortran/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pnavaro","download_url":"https://codeload.github.com/pnavaro/python-fortran/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235655380,"owners_count":19024616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["f2py","finite-differences","jupyter-book","python-fortran"],"created_at":"2024-10-23T12:08:47.979Z","updated_at":"2025-01-26T02:09:36.881Z","avatar_url":"https://github.com/pnavaro.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python-Fortran bindings examples\n\n[![binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/pnavaro/python-fortran/master)\n[![jupyterbook](https://github.com/pnavaro/python-fortran/workflows/jupyter-book/badge.svg)](https://pnavaro.github.io/python-fortran)\n\n```bash\ngit clone https://github.com/pnavaro/python-fortran.git\ncd python-fortran\nconda env create -f environment.yml\nconda activate python-fortran\njupyter notebook\n```\n\nYou can open py files or ipynb files in notebooks directory. They are synchronized with\njupytext.\n\n\n  - [Introduction to F2PY](https://pnavaro.github.io/python-fortran/01.f2py.html)\n  - [F2PY and Fortran 90 modules](https://pnavaro.github.io/python-fortran/02.f2py.html)\n  - [Comparison with Cython, Numba, Pythran and PyJulia : The Julia set example](https://pnavaro.github.io/python-fortran/03.julia-set.html)\n  - [The 1D1V Vlasov-Poisson solved with Semi-Lagrangian method](https://pnavaro.github.io/python-fortran/04.vlasov-poisson.html)\n  - [Co-rotating vortices solved with discrete vortex method](https://pnavaro.github.io/python-fortran/05.co-rotating-vortex.html)\n  - [Finite differences and the Gray-Scott model](https://pnavaro.github.io/python-fortran/06.gray-scott-model.html)\n  - [Finite differences on staggered grid to solve Maxwell equations in 2D](https://pnavaro.github.io/python-fortran/07.maxwell-fdtd-2d.html)\n  - [Short example with SWIG and CTYPES](https://pnavaro.github.io/python-fortran/08.swig.html)\n\nReminder: Build the Jupyter book\n\n```bash\nmake\njupyter-book build notebooks\n```\nand eventually push the book to gh-pages\n```bash\nghp-import -n -p -f notebooks/_build/html\n```\n\nPierre Navaro IRMAR CNRS\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpnavaro%2Fpython-fortran","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpnavaro%2Fpython-fortran","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpnavaro%2Fpython-fortran/lists"}