Skip to content

scka-de/regwatch-eu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

regwatch-eu

Monitor EU regulatory changes across EUR-Lex, ESMA and EBA. Track DORA, MiCA, AI Act, PSD3, AMLD6.

Zero hosting. Zero API keys. Local-first.

Install

pip install regwatch-eu

Quick Start

# Fetch latest regulatory changes
regwatch update

# Check DORA-related changes
regwatch check --regulation dora

# Multiple regulations
regwatch check --regulation dora,mica --since 2025-01-01

# Export as JSON
regwatch check --format json > changes.json

# Cache status
regwatch status

Python API

from regwatch import RegWatch

rw = RegWatch()
rw.update()

# Query as pandas DataFrame
df = rw.check(regulations=["dora", "mica"], since="2025-01-01")
print(df[["date", "title", "regulation", "type"]])

Supported Regulations

ID Name
dora Digital Operational Resilience Act
mica Markets in Crypto-Assets Regulation
ai_act EU Artificial Intelligence Act
psd3 Payment Services Directive 3
amld6 Anti-Money Laundering Directive 6

Data Sources

  • EUR-Lex (Cellar SPARQL) — Legislative acts, delegated acts, implementing acts
  • ESMA (RSS) — Guidelines, consultations, Q&As
  • EBA (RSS) — Technical standards, guidelines, press releases

All sources are public. No API keys required.

LLM Classification (Optional)

For higher classification accuracy, provide an LLM API key.

CLI — set the environment variable:

export REGWATCH_LLM_API_KEY="sk-ant-..."  # Claude
export REGWATCH_LLM_API_KEY="sk-..."      # OpenAI

regwatch update  # now uses LLM fallback for ambiguous items

Python API:

rw = RegWatch(llm_api_key="sk-ant-...")  # Claude
rw = RegWatch(llm_api_key="sk-...")      # OpenAI

Without an LLM key, classification uses deterministic keyword matching (~80% accuracy).

CLI Reference

regwatch update [--source SOURCE]
regwatch check [--regulation REG] [--since DATE] [--type TYPE] [--source SOURCE] [--format FORMAT]
regwatch status
regwatch regulations

Environment Variables

Variable Description Default
REGWATCH_CACHE_DIR Cache directory ~/.regwatch
REGWATCH_LLM_API_KEY Claude or OpenAI API key for LLM classification None (uses keyword matching)

License

Apache 2.0

About

Monitor EU regulatory changes across EUR-Lex, ESMA and EBA. Track DORA, MiCA, AI Act, PSD3, AMLD6.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages