Introduction to ExoMole
Meet ExoMole, a creature that feeds on data and meta-data files of the ExoMol database. The exomole package provides code for parsing, validation and access to the ExoMol meta-data and data. The package is primarily aimed at ExoMol database developers and maintainers, as most of the features require access to the ExoMol files. The code therefore works the best if installed directly on the ExoMol server. Nevertheless, several features of the package are also relevant from outside the ExoMol production server, tapping into the ExoMol public API defined in the database release paper.
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
Package:
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.
The documentation describes some examples of usage of the package. For further documentation, refer to the codebase docstrings.
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
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.
Release files for exomole 1.2.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| exomole-1.2.12.tar.gz | 18.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| exomole-1.2.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.5 kB
Release files / exomole-1.2.12.tar.gz
| Download URL | exomole-1.2.12.tar.gz |
|---|---|
| Size | 18.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d27bde1fc1ab87403e70fa249b9bfac5be338b1ed2b1dba5149562c98eb2226
|
|
BLAKE2b-256 checksum How to use checksums |
eb7682503863ea5d5343c4033db714d66619477774a481b856179d31549b3473
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / exomole-1.2.12-py3-none-any.whl
| Download URL | exomole-1.2.12-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d391441ae8f97990160db3a35974173a13301f92b9b0149a0f5d30331cc16175
|
|
BLAKE2b-256 checksum How to use checksums |
cffde0b2b020bd7428b5dfb0b16ce5309578ce72f53dc1b9782917a1b1bb1a56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|