Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacobwilliams/fastnml
Python module for reading and writing Fortran namelists
https://github.com/jacobwilliams/fastnml
fortran namelist
Last synced: about 5 hours ago
JSON representation
Python module for reading and writing Fortran namelists
- Host: GitHub
- URL: https://github.com/jacobwilliams/fastnml
- Owner: jacobwilliams
- License: other
- Created: 2019-03-31T04:34:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-01T03:47:28.000Z (almost 3 years ago)
- Last Synced: 2024-10-11T20:38:13.762Z (27 days ago)
- Topics: fortran, namelist
- Language: Python
- Homepage:
- Size: 410 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
![fastnml](media/fastnml.png)
============A Python library to quickly read Fortran namelists.
![Build Status](https://github.com/jacobwilliams/fastnml/actions/workflows/CI.yml/badge.svg)
### Description
The `fastnml` code only works with a specific subset of the namelist format. It is not nearly as general or robust as [f90nml](https://github.com/marshallward/f90nml), but it is much faster when reading very large namelists. Also, both codes are tested using multiprocessing to read many namelists in parallel.
### Installing
* Install from [PyPI](https://pypi.org/project/fastnml/) using pip: `pip install fastnml`
* Install from [conda-forge](https://anaconda.org/conda-forge/fastnml) using conda: `conda install -c conda-forge fastnml`### Documentation
The API documentation for the current `master` branch can be found [here](https://jacobwilliams.github.io/fastnml/). This is generated with `pdoc3` by running `pdoc --html fastnml --force`.
### Dependencies
* [f90nml](https://github.com/marshallward/f90nml) -- the more general library
### Other links
* [Fastnml on PyPI](https://pypi.org/project/fastnml/)
* [fastnml-feedstock for conda-forge](https://github.com/conda-forge/fastnml-feedstock)