Skip to main content

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.

License

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grants_shared-0.2.5.tar.gz (42.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grants_shared-0.2.5-py3-none-any.whl (51.7 kB view details)

Uploaded Python 3

File details

Details for the file grants_shared-0.2.5.tar.gz.

File metadata

  • Download URL: grants_shared-0.2.5.tar.gz
  • Upload date:
  • Size: 42.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for grants_shared-0.2.5.tar.gz
Algorithm Hash digest
SHA256 4516a6b49b9076548ceed8769451b5dcfcfaeef717554ea46cd432d10991f684
MD5 3f2971e6dc5b6b4531f27e3782d4d88f
BLAKE2b-256 f7d4c6b5b3699f3f127349088de80d1e77424e49d0391acc7c4fd3e03261d777

See more details on using hashes here.

Provenance

The following attestation bundles were made for grants_shared-0.2.5.tar.gz:

Publisher: publish-grants-shared.yml on HHS/simpler-grants-gov

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file grants_shared-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: grants_shared-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 51.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for grants_shared-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 dfb461dc10e32a2e56c0428d5d4256c8a3f9dd9e59be2545bdbd3b7aab8e731f
MD5 7b3921bed9e9de7d6f05db653c6197b4
BLAKE2b-256 b2a0a1a9b5b645f1e33ef83e54981163ae7a0cd0dcaa6c7b2ba187225a2c1088

See more details on using hashes here.

Provenance

The following attestation bundles were made for grants_shared-0.2.5-py3-none-any.whl:

Publisher: publish-grants-shared.yml on HHS/simpler-grants-gov

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page