pytimeir

Get events and holidays from time.ir


License
MIT
Install
pip install pytimeir==0.2

Documentation

pytimeir

Python 3.6 License

A simple package to get events and holidays from time.ir

Getting Started

Install the package with:

pip install pytimeir

Usage

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)