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.3.tar.gz (5.5 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.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: executiveordermonitor-1.0.3.tar.gz
  • Upload date:
  • Size: 5.5 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.3.tar.gz
Algorithm Hash digest
SHA256 8595ad3b6c86a7979bc4bf3bf3661db801e0a4022f079e582006d11b0ec1a7c3
MD5 595838fa6b0dc7fddcd5d8c285e110e7
BLAKE2b-256 9c07dcd8c0c288b8b01fd01806a22ab31562ac373f742c5aad0b1272910b333c

See more details on using hashes here.

Provenance

The following attestation bundles were made for executiveordermonitor-1.0.3.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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for executiveordermonitor-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a42eee26a454cd2c4ba1dc3b4e162f3d76a987a1b0ad6a5a5f0bc1903399c16b
MD5 dbd213f6f3f19e9d04497e436a50aa6a
BLAKE2b-256 673727109b4b1f252a0294cd1f1d1fa781db850c4003271bb4e1b3f175965253

See more details on using hashes here.

Provenance

The following attestation bundles were made for executiveordermonitor-1.0.3-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