Shared code used by the Simpler Grants.gov repo
Project description
Grants Shared
This repo contains the shared code used by the different backend APIs on the simpler.grants.gov system.
This code is not meant to be used outside of the Simpler Grants system. 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
Further documentation can be found in our Github
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters