Instructions#

hatch pre-commit ruff black doc8 mypy pylint slotscheck

Prerequisites#

galactic-io-data-ini requires Python 3.11, a programming language that comes pre-installed on Linux and macOS, and that is easily installed on Windows.

Installation#

First, install galactic in a virtual environment (conda or venv) using the instructions given in the Quick start guide.

Second, you can install galactic-io-data-ini in the same environment using the following Bash command:

(galactic) $ pip install "galactic-io-data-ini[docs]"

Don’t forget to add the --pre flag if you want the latest unstable build.

If you want to verify package integrity using hashes, you can install galactic-io-data-ini in the same environment with one of the following bash commands:

(galactic) $ pip install -r https://www.thegalactic.org/requirements/stable/galactic-io-data-ini.txt
(galactic) $ pip install -r https://www.thegalactic.org/requirements/stable/galactic-io-data-ini_docs.txt

For the pre-release version, use one of the following Bash commands:

(galactic) $ pip install -r https://www.thegalactic.org/requirements/pre/galactic-io-data-ini.txt
(galactic) $ pip install -r https://www.thegalactic.org/requirements/pre/galactic-io-data-ini_docs.txt

Contributing#

Build#

Building galactic-io-data-ini requires:

  • hatch, a tool for dependency management and packaging in Python.

Build galactic-io-data-ini using the following Bash commands:

$ hatch run docs:notebooks [--overwrite]
$ hatch build

Testing#

Test galactic-io-data-ini using the following Bash commands:

$ hatch test

Run the tests.

$ hatch test --cover

Run the tests with coverage.

$ hatch test --doctest-modules src

Run the doctest suite.

Linting#

Lint galactic-io-data-ini using the following Bash commands:

$ hatch check

Run linting.

$ hatch check --fix

Automatically fix linting issues.

Documentation#

Build the documentation using the bash commands:

$ hatch run docs:build

Getting Help#

Important

If you have any difficulties with galactic-io-data-ini, please feel free to file an issue on GitLab so that we can help.