A package for parsing and validation of Exomol Database data files
Project description
Meet ExoMole, a creature that feeds on data and meta-data files of the ExoMol database. ExoMole package provides code for parsing, validation and access to the ExoMol meta-data and data either from local file system or over the ExoMol public API defined in the database release paper.
The code in the package is organised into several modules. The read_all and read_def modules contain functionality for parsing, validation and analysis of the ExoMole’s .all and .def meta-data files, while the read_data module groups functionality for reading and validating the .states and .trans data files.
Installation:
The exomole package can be installed either from PyPI
python3 -m pip install exomole
or from the GitHub page
python3 -m pip install git+https://github.com/hanicinecm/exomole.git
or from the source by navigating to the project root directory and running
python3 -m pip install .
For Developers:
It goes without saying that any development should be done in a clean virtual environment. After cloning or forking the project from its GitHub page, exomole can be installed into the virtual environment in the editable mode by running
pip install -e .[dev]
The [dev] extra installs (apart from the package dependencies) also several development-related packages, such as pytest, black, tox or ipython. The tests can then be executed by running (from the project root directory)
pytest --cov --doctest-modules
The project does not have the requirements.txt file by design, as all the package dependencies are rather handled by the setup.py. The package therefore needs to be installed locally to run the tests, which grants the testing process another layer of usefulness.
Docstrings in the project adhere to the numpydoc styling. The project code is formatted by black. Always make sure to format your code before submitting a pull request, by running black on all your python files.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file exomole-1.1.0.tar.gz
.
File metadata
- Download URL: exomole-1.1.0.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbad329eb79bb0f4adbade301d7fe3695cb6734fdb60e8f5b96752422c3be61 |
|
MD5 | cefb7fd2c016793d50b351b20449a691 |
|
BLAKE2b-256 | 839e953a2f6bdb387fe06f32530536cbf770e80a6514f0b71bbc54e0c96b7da1 |
File details
Details for the file exomole-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: exomole-1.1.0-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94a4be2579877f177d0f9d59b28216e604793430e27ecf982f3e3cab9b5afdef |
|
MD5 | 8c32b5ff6504916f6b35dddc488f2100 |
|
BLAKE2b-256 | 62be37f263fe9e786edc776e9005a9b0e235856252b6791890431887cab2670e |