semvec/pypi-packages huggingface dataset:
forex-calendar 0.1.0
Python library for fetching and processing Forex Factory weekly calendar
License: MIT

# Forex Calendar

Python library to fetch, process, and save Forex Factory weekly calendar events.

## Features
- Fetch weekly Forex Factory calendar
- Save hourly CSV files with deduplication
- Filter by currency and impact
- Get upcoming events for N hours
- Generate summary per currency & impact
- Run as continuous hourly collector

## Example
```python
from forex_calendar import fetch_calendar, filter_by_currency, events_summary

df = fetch_calendar()
usd_events = filter_by_currency(df, "USD")
summary = events_summary(df)

print(usd_events.head())
print(summary)