Skip to content
/ pypara Public

Python library for currencies, monetary value objects, arithmetic and conversion

License

Notifications You must be signed in to change notification settings

vst/pypara

Repository files navigation

Python Library for Currencies and Monetary Values

PyPI Python Versions License Builds Issues Last Commit

TODO: Provide a complete README.

Development Notes

Enter the Nix shell:

nix-shell

Run the test suite:

python -m nox

Note: Since we are under Nix shell, nox command will attempt to use its own Python interpreter pinned during nox installation. We want our own interpreter to be used during nox checks.

Alternatively:

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.

Publishing

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/*

About

Python library for currencies, monetary value objects, arithmetic and conversion

Resources

License

Stars

Watchers

Forks

Packages

No packages published