Skip to content

wakamex/executiveordermonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages