A lightweight Python SDK for interacting with the United States Congress API.
Project description
congress_py
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
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
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c14343323c5ef73a58aa16b9b9603d0741f27b52465bd38e0af4f9dd8be32a9d
|
|
| MD5 |
2312d60831ee8616086c5ce49348a3cb
|
|
| BLAKE2b-256 |
23f3948124050df3b84788cb502b6dd39a53db1399ef0794bcdf83e84e75dcf7
|
Provenance
The following attestation bundles were made for congress_py-0.2.0.tar.gz:
Publisher:
publish-pypi.yaml on talaniz/congress.py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
congress_py-0.2.0.tar.gz -
Subject digest:
c14343323c5ef73a58aa16b9b9603d0741f27b52465bd38e0af4f9dd8be32a9d - Sigstore transparency entry: 1985994608
- Sigstore integration time:
-
Permalink:
talaniz/congress.py@1913fc925aa1c6158c14c844947616fe8e8d382b -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/talaniz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yaml@1913fc925aa1c6158c14c844947616fe8e8d382b -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f84db4d2ccfc7984d36c01e75592c46cd8999a43fd47381fa9f3b2f3928b45ad
|
|
| MD5 |
f25156fa50253f17c2acf05954e4494d
|
|
| BLAKE2b-256 |
ffa03ff5ab214c3ea0f15ef32f54bb3b6d444d4f355f88ff8666317a60b9c44e
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
congress_py-0.2.0-py3-none-any.whl -
Subject digest:
f84db4d2ccfc7984d36c01e75592c46cd8999a43fd47381fa9f3b2f3928b45ad - Sigstore transparency entry: 1985994717
- Sigstore integration time:
-
Permalink:
talaniz/congress.py@1913fc925aa1c6158c14c844947616fe8e8d382b -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/talaniz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yaml@1913fc925aa1c6158c14c844947616fe8e8d382b -
Trigger Event:
push
-
Statement type: