Use typical pip
installation (preferably within a virtual environment to keep dependencies clean) e.g.
pip install git+https://github.com/dvlaykov/sgs_tools.git
NB The package is in active development. No backwards compatibility is guarranteed at this time.
The docs are generated via sphinx and several sphinx addons.
- To automatically get all the dependencies, reinstall the package adding
'sgs_tools[doc]'
to the end of the install command. - To generate the docs run
make doc
from the top level in the repository. This will generate an html version of the documentation. - The resulting docs can be accessed from
<repo_directory>/doc/_build/html/index.html
- clone the repository
- make an editable install via
pip install --editable <location-of-repository>[dev]
-
Please add any issues, feature requests and pull requests directly to the GitHub repository -- all are very welcome.
-
Testing, formatting and static types are handled through
tox
and for the whole repo you can runmake test
to check formatting type hints and run the tests and their coverage.- Tests rely on the
pytest
package and should go totest/test_*.py
- Formatting is taken care of by
ruff
. Runmake format
to auto-format. - Type hints are handled by
mypy
. Runmake mypy
to check for any issues
- Tests rely on the