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 and CLI 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, 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.1.0.tar.gz (14.7 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.1.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: congress_py-0.1.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for congress_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 53869d5aaae74aca2ce72859df404882a53845ba81655729968ce594b6eb0643
MD5 f2f13b2a084d3f8c94a5be43885fde9c
BLAKE2b-256 526704701eab66f77eba697c01d57d9e30cf6509d1fb1c88810c95080cd568de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: congress_py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for congress_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac578289be9a67aed1a7aca28f8fabd1f9cd420df9d50fe3a8ad9af1275f1a30
MD5 2ba2e512fcd043dfb130eb524a7f0498
BLAKE2b-256 d5f842ecb78cf7191176c7f94ca70ba63972c2890b835f486c00aaa641b5e977

See more details on using hashes here.

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