Installation and Release¶
Installation¶
Once the package is published to PyPI, install it with:
Standard installation
python -m pip install jano
To use Polars inputs directly, install the optional extra:
Optional Polars extra
python -m pip install "jano[polars]"
For local development, install the project in editable mode with the development dependencies:
Development setup
python -m pip install -e ".[dev]"
Versioning¶
Jano exposes its package version through jano.__version__. The distribution version is sourced from jano/_version.py so the runtime version and the published package metadata stay aligned.
Release flow¶
The repository now includes a dedicated GitHub Actions workflow for PyPI publication:
Update
jano/_version.pyto the release version.Verify locally:
Release checks
python -m pytest -q python -m build python -m twine check dist/*
Commit and push the release changes.
Create and push a Git tag that matches the release version, for example:
Release tag
git tag v0.3.0 git push origin v0.3.0
The
Publishworkflow builds the artifacts, validates them withtwine checkand publishes them to PyPI via trusted publishing.
PyPI configuration¶
To make the workflow publish successfully, PyPI must trust this GitHub repository as a publisher for the jano project. Configure that once in the PyPI project settings, then future tagged releases can publish without storing API tokens in GitHub secrets.