A simple fast namelist parser
Project description
A Python library to quickly read Fortran namelists.
Description
The fastnml
code only works with a specific subset of the namelist format. It is not nearly as general or robust as 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 using pip:
pip install fastnml
- Install from conda-forge using conda:
conda install -c conda-forge fastnml
Documentation
The API documentation for the current master
branch can be found here. This is generated with pdoc3
by running pdoc --html fastnml --force
.
Dependencies
- f90nml -- the more general library
Other links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastnml-2.0.1.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file fastnml-2.0.1.tar.gz
.
File metadata
- Download URL: fastnml-2.0.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 453af86747e432f9bbb0fde48044c1550e398ed8be4678bc48efba6ab9d5c3c2 |
|
MD5 | a0323635e4654b9354ccf17d284c716c |
|
BLAKE2b-256 | 2f732d8620675afce90533fad26d509f9e2f8d6af7970d7ff21830c7802208de |
File details
Details for the file fastnml-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: fastnml-2.0.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6268df765f6d421323030df8c0a1a76efab47e9973707a887076420a828f744f |
|
MD5 | a78d40c63df35b4aaafd5bf6df99f7c4 |
|
BLAKE2b-256 | 6c1d2a89605acf59990b98ea2e2abab56096a89e1cfd8a0240e8e8861c279a19 |