Skip to main content

Pandas Datafarme data from time.ir

Project description

irholiday

https://img.shields.io/pypi/v/irholiday.svg https://img.shields.io/travis/hadi-gharibi/irholiday.svg Documentation Status

Installation

$ pip install irholiday

to install from the latest source use following command

$ pip install git+git://github.com/hadi-gharibi/irholiday.git

Usage

Enter the start and end year!

that’s all :D

from irholiday import irHoliday

# initialise the class
calendar = irHoliday()

# export data to dataframe
df = calendar.to_df(1388,1392)

# export data to csv
calendar.to_csv(1388,1392,'path/to/data')

History

0.1.8 (2011-06-21)

  • Fix the request bug that returns just a month from time.ir

  • Fix the bug for duplicate holiday dates (ex: 13th Farvardin)

  • Use jdatetime as date convertor which is more updated

0.1.0 (2018-06-06)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

irholiday-0.1.8.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

irholiday-0.1.8-py2.py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page