Currencies, Monetary Value Arithmetic/Conversion and Some Type Convenience
Python Library for Currencies and Monetary Values
TODO: Provide a complete README.
Enter the Nix shell:
Run the test suite:
python -m nox
Note: Since we are under Nix shell,
noxcommand will attempt to use its own Python interpreter pinned during
noxinstallation. We want our own interpreter to be used during
nix-shell --argstr python python39 --run "python -m nox" nix-shell --argstr python python310 --run "python -m nox" nix-shell --argstr python python311 --run "python -m nox"
Note: Python 3.9 test are not added to GitHub Actions test workflow. It takes very long to setup the Nix shell as Python 3.9 packages are no longer fetched from the cache.
Building a package and uploading it to PyPI is handled by the GitHub Action upon successful GitHub Release (using Release Please Action).
However, in the event of emergency, you can still manually build a package and upload it to PyPI:
rm -Rf dist/ python -m build twine check dist/* twine upload -s dist/*
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.