Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)