Grants Shared
This repo contains the shared code used by the different backend APIs in:
This code is not meant to be used outside of these systems. We cannot provide support for anyone who attempts to use this code for other projects.
Installation
You can install this package with any python dependency manager.
# Using pip
pip install grants_shared
# Using poetry
poetry add grants_shared
# Using uv
uv add grants_shared
Release Process
Version Upgrade
When you make changes, upgrade the version of the package.
# Upgrade the version with uv
# https://docs.astral.sh/uv/guides/package/#updating-your-version
# Generally do a patch version (eg. 1.0.1 -> 1.0.2)
uv version --bump patch
# Or do a minor version for anything fairly big (eg. 1.1.3 -> 1.2.0)
# uv version --bump minor
Release to PyPi
After your change has been merged to main, you can publish a new release in PyPi with our Github action
Usage
Guidance on common commands and running the application will come in later versions as we're still getting this setup, but a few basic commands to get you started.
# Build the docker image
make build
# Run tests
make test
# Formatting and linting
make format
make lint
Metadata
Release files for grants-shared 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| grants_shared-0.4.0.tar.gz | 76.6 kB | With provenance | Details for grants_shared-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| grants_shared-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for grants_shared-0.4.0-py3-none-any.whl |
Total release size: 177.1 kB
Security for grants-shared 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.