Skip to main content

A lightweight Python SDK for interacting with the United States Congress API.

Project description

congress_py

Tests

congress_py is an unofficial Python SDK, CLI, and read-only MCP server for reading data from the Congress.gov API.

This project is not affiliated with Congress.gov, the Library of Congress, Congress, or the U.S. government. It does not provide legal, legislative, lobbying, financial, compliance, or policy advice.

Installation

pip install congress-py

Local Development

git clone https://github.com/talaniz/congress.py.git
cd congress.py
python3 -m venv .venv
.venv/bin/python -m pip install -e .

You will need your own Congress.gov API key.

Documentation

Full documentation is available at:

https://talaniz.github.io/congress.py/

The documentation site includes installation steps, API-key setup, SDK examples, CLI examples, MCP server usage, API reference, contributing guidance, and the changelog.

License

MIT

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

congress_py-0.2.0.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

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

congress_py-0.2.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file congress_py-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for congress_py-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c14343323c5ef73a58aa16b9b9603d0741f27b52465bd38e0af4f9dd8be32a9d
MD5 2312d60831ee8616086c5ce49348a3cb
BLAKE2b-256 23f3948124050df3b84788cb502b6dd39a53db1399ef0794bcdf83e84e75dcf7

See more details on using hashes here.

Provenance

The following attestation bundles were made for congress_py-0.2.0.tar.gz:

Publisher: publish-pypi.yaml on talaniz/congress.py

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

File details

Details for the file congress_py-0.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for congress_py-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f84db4d2ccfc7984d36c01e75592c46cd8999a43fd47381fa9f3b2f3928b45ad
MD5 f25156fa50253f17c2acf05954e4494d
BLAKE2b-256 ffa03ff5ab214c3ea0f15ef32f54bb3b6d444d4f355f88ff8666317a60b9c44e

See more details on using hashes here.

Provenance

The following attestation bundles were made for congress_py-0.2.0-py3-none-any.whl:

Publisher: publish-pypi.yaml on talaniz/congress.py

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