Skip to main content

A package for parsing and validation of Exomol Database data files

Project description

Test action Codecov report GitHub license PyPI version PyPI pyversions Code style

https://raw.githubusercontent.com/hanicinecm/exomole/master/docs/exomole.png

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 used for 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.

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

exomole-1.2.11.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

exomole-1.2.11-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file exomole-1.2.11.tar.gz.

File metadata

  • Download URL: exomole-1.2.11.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using 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.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for exomole-1.2.11.tar.gz
Algorithm Hash digest
SHA256 a866e54f0497d9c4f1bb0365603efde56766ba7c94472c50f22f6748a58da4ac
MD5 728ba09f0476e449ca421e18bea01b58
BLAKE2b-256 3b529e38706af8593d14358c90ac38ac8b129e29f8b4cbcc9125ac45d8dd85f3

See more details on using hashes here.

File details

Details for the file exomole-1.2.11-py3-none-any.whl.

File metadata

  • Download URL: exomole-1.2.11-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using 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.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for exomole-1.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 ee9b297b795c4bcb5d819d898e6c300e2f08ac5d2ccbe39e24db45bab9ffca60
MD5 242da362b7fdc77d1d9747896905c0db
BLAKE2b-256 02b5b29eb9cb9469bc9c410043fbe5913ddb184a1072a416c517f2de836bf68b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page