Skip to main content

Python module for interacting with the GovDelivery API

Project description

govdelivery

A quite incomplete client for the GovDelivery Communications Cloud API v1.

Currently, you can subscribe a user; manage their topics, categories, and question responses; and get the list of available topics.

The GovDelivery Communications Cloud API is described here: https://developer.govdelivery.com/api/comm_cloud_v1/Default.htm

Status

Officially supports Python 3.10 and above.

Installation

pip install govdelivery

Running the tests

To lint the code and execute the unit tests, we recommend using tox.

  1. Install tox in a virtualenv or in your global Python environment by running pip install tox.

    Alternately, we also like using pipx for installing and running system-wide tools like tox.

  2. Run all the tests in one go with tox.

  3. If you want to run just the linting tools (flake8 and isort), you can run tox -e lint.

  4. If you want to run tests in a specific Python version, you can run tox -e py310 or tox -e py313.

Changelog

1.5 - 2025-11-17

  • Drop support for Python < 3.10
  • Modernize PyPI release publishing

1.4.0 - 2021-06-21

  • Drop Python 2 support
  • Pin dependency on requests to a range

1.3 – 2019-11-25

  • Add Python 3 support
  • Improve test coverage and add tox support for easy test running
  • Fix a few assorted bugs

1.2 – 2018-09-17

  • Support updating a subscriber's response to a select question (as opposed to a free response question)

1.1 – 2017-11-06

  • Allow SMS subscriptions
  • Allow notifications to be enabled on certain method calls

1.0 – 2017-01-31

Initial public release.

Open source licensing info

  1. TERMS.md
  2. LICENSE
  3. CFPB Source Code Policy

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

govdelivery-1.5.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

govdelivery-1.5-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file govdelivery-1.5.tar.gz.

File metadata

  • Download URL: govdelivery-1.5.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for govdelivery-1.5.tar.gz
Algorithm Hash digest
SHA256 a251feb836007a7698496faabcda59b4b5040e718153e6cbec628bdbc68799e2
MD5 9c40c69ca424892f87a60f6b649c9c59
BLAKE2b-256 021b791508e4c6b7b915f7360a3ea2f74900a1d57c1f172d3fdf5c1e5b8072be

See more details on using hashes here.

Provenance

The following attestation bundles were made for govdelivery-1.5.tar.gz:

Publisher: cfpb-pypi-publish.yml on cfpb/govdelivery

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

File details

Details for the file govdelivery-1.5-py3-none-any.whl.

File metadata

  • Download URL: govdelivery-1.5-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for govdelivery-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 13c350efcd8c88f638e866dcde2014d54c772d6a4800fd2a8b345dc4d180fec4
MD5 2599fca013f08d1d6f89f4925284583b
BLAKE2b-256 b78d58a456c2b77a3869521e484fb3b3b5c4952cca104f93fd3be67cce177242

See more details on using hashes here.

Provenance

The following attestation bundles were made for govdelivery-1.5-py3-none-any.whl:

Publisher: cfpb-pypi-publish.yml on cfpb/govdelivery

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