Skip to main content

Monitor the Federal Register API for new Executive Orders

Project description

Executive Order Monitor

Monitors the Federal Register API for new Executive Orders. Features:

  • Real-time monitoring with adaptive polling (1s → 5s → 10s → 30s → 60s)
  • Caches seen EOs to avoid duplicates
  • Smart backoff on API errors
  • Rate limit awareness

Usage

Run using any of these methods:

  1. With uvx:
uvx executiveordermonitor

Installation

Requirements:

  • Python 3.8+
  • requests>=2.32.3

From PyPI:

pip install executiveordermonitor

From source:

# Clone the repository
git clone https://github.com/wakamex/executiveordermonitor.git
cd executiveordermonitor

# Create virtual environment
.venv/bin/python -m venv .venv
source .venv/bin/activate
  1. Run as a Python module:
python -m executiveordermonitor
  1. Run as an installed script:
executiveordermonitor

The monitor will:

  • Start checking every 1 second
  • If errors occur, gradually back off to longer intervals (5s → 10s → 30s → 60s)
  • Return to faster intervals when API is responsive
  • Cache seen EOs in seen_eos.json to avoid duplicate notifications

Each time a new Executive Order is found, it will display:

  • Title
  • EO Number
  • Signing Date
  • URL to the full document

License

MIT License. See LICENSE file for details.

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

executiveordermonitor-1.0.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

executiveordermonitor-1.0.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file executiveordermonitor-1.0.2.tar.gz.

File metadata

  • Download URL: executiveordermonitor-1.0.2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for executiveordermonitor-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4a13f0b41e86983215f158860244f6ebd0589a02c3fc5235637dfc92cd1661aa
MD5 190ca68d8cfd04dd4e6cbcf0490dc293
BLAKE2b-256 245c35f85a1c3fb23559db88c0115b959b43a5ad71d2bc52c1e42f95f378acb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for executiveordermonitor-1.0.2.tar.gz:

Publisher: workflow.yml on wakamex/executiveordermonitor

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

File details

Details for the file executiveordermonitor-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for executiveordermonitor-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dd61f976cf60b3879638b08d02af34a7167cd8e3ae0d881dc9423fc36e152c61
MD5 ed62e3cc4ca2745a2acd2e98007fe433
BLAKE2b-256 e8135a994b1aad72194b65dd80e6c54cb38d6fabf68da4e953dc9f6e00b6cb11

See more details on using hashes here.

Provenance

The following attestation bundles were made for executiveordermonitor-1.0.2-py3-none-any.whl:

Publisher: workflow.yml on wakamex/executiveordermonitor

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