Installation
At the command line:
1 | |
You can also install the in-development version with:
1 | |
Optional dependencies
The package supports several optional dependency groups that can be installed for additional functionality:
1 2 3 4 5 6 7 8 9 10 11 | |
Dependency groups
dev: Development tools for testing and code quality
- pytest: Testing framework
- pytest-order: Ordered test execution
docs: Documentation building tools
- mkdocs-material: MkDocs theme with extensive functionality
- mkdocstrings-python: API reference generation from docstrings
- mkdocs-jupyter: Jupyter notebook rendering
- mkdocs-gen-files, mkdocs-literate-nav: Auto-generated API navigation
examples: Tools for running examples and tutorials
- jupytext: Jupyter notebook text conversion
- notebook: Jupyter notebook interface
- seaborn: Statistical data visualization
- ipykernel: Jupyter kernel support
full: All optional dependencies combined
- Includes all packages from dev, docs, and examples groups
Development
You can use this GitHub Codespace for fast development:
To run all the tests run:
1 | |
And to build the documentation run:
1 | |
Note, to combine the coverage data from all the tox environments run:
| Platform | Command |
|---|---|
| Windows | set PYTEST_ADDOPTS=--cov-append then tox |
| Other | PYTEST_ADDOPTS=--cov-append tox |
You can check that the bump versioning works by running:
1 | |
Note that actual version bumps should be run via the publish-pypi.yml GitHub action from the "Actions" tab of the repository (limited to repository administrators).