Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hadi-gharibi/irholiday
Time.ir data extractor for python
https://github.com/hadi-gharibi/irholiday
calendar holiday-api holidays persian-calendar
Last synced: 3 months ago
JSON representation
Time.ir data extractor for python
- Host: GitHub
- URL: https://github.com/hadi-gharibi/irholiday
- Owner: hadi-gharibi
- License: mit
- Created: 2018-06-06T16:39:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-30T09:21:35.000Z (over 2 years ago)
- Last Synced: 2024-07-09T10:08:03.632Z (4 months ago)
- Topics: calendar, holiday-api, holidays, persian-calendar
- Language: Python
- Homepage:
- Size: 39.1 KB
- Stars: 27
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
=========
irholiday
=========.. image:: https://img.shields.io/pypi/v/irholiday.svg
:target: https://pypi.python.org/pypi/irholiday.. image:: https://img.shields.io/travis/hadi-gharibi/irholiday.svg
:target: https://travis-ci.org/hadi-gharibi/irholiday.. image:: https://readthedocs.org/projects/irholiday/badge/?version=latest
:target: https://irholiday.readthedocs.io/en/latest/?badge=latest
:alt: Documentation StatusInstallation
------------::
$ 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.. code:: python
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')