A simple package to get events and holidays from time.ir
Install the package with:
pip install pytimeir
import pytimeir
# get holidays for a year
df = pytimeir.get_holidays(1401)
# get holidays for a range of years
df = pytimeir.get_holidays(1390, 1410)
# get events for a year
df = pytimeir.get_events(1401)
# get events for a range of years
df = pytimeir.get_events(1390, 1410)