Skip to main content

PyCongress

Python client for Congress.gov's API.

Setup

Sign up for an API Key from Congress.Gov prior to using the library.

Store your key as an environment variable named CONGRESS_API_KEY and it will automatically be passed through the client for authentication.

You may also manually declare your key:

congress = Congress(api_key="Insert key here")

Misc.

pycongress currently only supports the bill, member, and congress endpoints. Support for more endpoints is planned in the future.

This project was inspired by propublica-congress.

The Congress.Gov API is currently in beta. Visit the Library of Congress blog or GitHub page for more information.

License

MIT

Metadata

Release files for pycongress 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycongress 0.0.1
File Size Uploaded
pycongress-0.0.1.tar.gz 4.2 kB Details

Release files / pycongress-0.0.1.tar.gz

Download URL pycongress-0.0.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
213d541d843c3a9fddae68e034ac52f247ce8ed3cece8cd892506f8a2af330cc
BLAKE2b-256 checksum
How to use checksums
9ae68654e8d4572c0e411e995e408b70cf9b1e159c27710a3ab8c9e5bda04941
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page