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

From PyPI:

pip install executiveordermonitor

From source:

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

# Create and activate virtual environment
python -m venv .venv -p 3.8
source .venv/bin/activate

# Install the package
pip install -e .
  1. Run as a Python module:
python -m executiveordermonitor
  1. Run as an installed script:
monitor-eos

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

Requirements

  • Python 3.8+
  • requests>=2.32.3

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.0.tar.gz (5.2 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.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: executiveordermonitor-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 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.0.tar.gz
Algorithm Hash digest
SHA256 068f37fe735ca1e1da50f4813b4a3b46c74aa59132e6b40b0056c663d47e965a
MD5 7eefb703d3cb82f6fbfce12b9c43d13f
BLAKE2b-256 2d1ca9e9f1451955dd27c33682a8ea2613810feb5ec22b7f1fc7d2259edae2e6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for executiveordermonitor-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c629f39b67a833b5450184a171c8864a7d4df9439a5853b650a8ad56ae99fca7
MD5 5ab699f7319a2fd06ba0e1c8daeed5fb
BLAKE2b-256 5692ccc2ce1e072dd714c0bcc9f283287d9d637c1cf351e22606bf556a9688e2

See more details on using hashes here.

Provenance

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