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 both Python 2.7 and Python 3.6.

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 just Python 2 or just Python 3, you can run tox -e py27 or tox -e py36.

Changelog

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.4.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

govdelivery-1.4.0-py2.py3-none-any.whl (12.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: govdelivery-1.4.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for govdelivery-1.4.0.tar.gz
Algorithm Hash digest
SHA256 34949426b884b07dee608da5e48a0443f5f898e1102e69b5eb17b647199f1b1f
MD5 bbc79adc306d597fc004cbe89e36521b
BLAKE2b-256 adb1804a077dd415f8ec005925bd8abc7433b2c2f35170fdaae98f87f5598dff

See more details on using hashes here.

File details

Details for the file govdelivery-1.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: govdelivery-1.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for govdelivery-1.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8d1d3feb1eed821af35c82b6f64ec5dc23f9e189205d163e3536a6b4af476170
MD5 b1c26f2e02cb78029d253a12a5b38b25
BLAKE2b-256 3e8b5b72202768aca7c4eb8589c6f94560b106c1649bd27ed2c9742b2b1c8be9

See more details on using hashes here.

Supported by

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