Skip to main content

A package for parsing and validation of Exomol Database data files

Project description

Test Action GitHub license PyPI version PyPI pyversions Code Style

Introduction to ExoMole

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


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.2.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

exomole-1.2.2-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exomole-1.2.2.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for exomole-1.2.2.tar.gz
Algorithm Hash digest
SHA256 b8c16cedb9560e0c0e6f509e3364a92661b44a0fb38e83ca3857ec72ea7e25a7
MD5 52cd46f75b55d6fae462b20e5fe755d2
BLAKE2b-256 b6031db36cdf978f2e3fb2a7a1dac63c8ab4f23cddd7873bb5a6cf1f1e40c2e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: exomole-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for exomole-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 281c92137f2ed73bc32fc76b47711a881473cfb5add4df4bfb65c10244078c1e
MD5 32c4454f8c6b7be4f19584e1c5e1a138
BLAKE2b-256 7c90d722763c02e8ecc7f602c05b4aa91ec7f0a7022a523deb209393dd445b66

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