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.1.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.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: executiveordermonitor-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e1fc6d687de2e71e57ac25b56c0ddfb92309830e8c45dc76b59e6117ad73f558
MD5 0085f8fc30e4618d1558c06ef148e993
BLAKE2b-256 9d73bc1b2ce639e00e1a78a02c69eb0afb3f5d2e133f2237bf4b5540999e8f5e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for executiveordermonitor-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1454cae70aa82dd1dbe5eefcbed3e8f4df16efa02764a6b773b08030c788234
MD5 2ba505b5b697ca87dee307df635d09fb
BLAKE2b-256 e5947cb4a2a502a48c669689871f3da577316c5e99d6c845862d31ad982764c3

See more details on using hashes here.

Provenance

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