Instructions#
Prerequisites#
galactic-algebra-concept requires Python 3.11, a programming language that comes pre-installed on Linux and macOS, and which 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-algebra-concept in the same environment using the bash command:
(galactic) $ pip install "galactic-algebra-concept[docs]"
Do not 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-algebra-concept in the same environment with one of the following bash commands:
(galactic) $ pip install -r https://www.thegalactic.org/requirements/stable/galactic-algebra-concept.txt
(galactic) $ pip install -r https://www.thegalactic.org/requirements/stable/galactic-algebra-concept_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-algebra-concept.txt
(galactic) $ pip install -r https://www.thegalactic.org/requirements/pre/galactic-algebra-concept_docs.txt
Contributing#
Build#
Building galactic-algebra-concept requires
hatch, which is a tool for dependency management and packaging in Python;
graphviz, which is a graph visualization software;
Build galactic-algebra-concept using the following bash commands:
$ hatch run docs:notebooks [--overwrite]
$ hatch build
Testing#
Test galactic-algebra-concept using the following bash commands:
$ hatch test
to run the tests.
$ hatch test --cover
to run the tests with coverage.
$ hatch test --doctest-modules src
to run doctest.
Linting#
Lint galactic-algebra-concept using the following bash commands:
$ hatch check
to run linting.
$ hatch check --fix
to 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-algebra-concept, please feel welcome to file an issue on GitLab so that we can help.