Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Package for manipulating Hebrew dates, Gregorian-Hebrew conversion, and other Hebrew calendar related calculations.

Project Description

Pyluach is a Python package for manipulating Hebrew calendar dates and Hebrew-Gregorian conversions.

Features

  • Conversion between Hebrew and Gregorian dates
  • Finding the difference between two dates
  • Finding a date at a given duration from the given date
  • Rich comparisons between dates
  • Finding the weekday of a given date
  • Finding the weekly Parsha reading of a given date

Installation

Use pip install pyluach.

Typical use

from pyluach import dates, hebrewcal

>>> today = dates.HebrewDate.today()
>>> lastweek_gregorian = (today - 7).to_greg()
>>> lastweek_gregorian < today
    True
>>> today - lastweek_gregorian
    7
>>> greg = GregorianDate(1986, 3, 21)
>>> heb = HebrewDate(5746, 13, 10)
>>> greg == heb
    True

>>> for month in hebrewcal.Year(5774).itermonths():
...     print month.name
    Tishrei Cheshvan ...

Documentation

Documentation for pyluach can be found at https://readthedocs.org/projects/pyluach/.

Contact

For questions and comments feel free to contact me at simlist@gmail.com.

License

Pyluach is licensed under the MIT license.

Release History

Release History

This version
History Node

0.3.0.dev1

History Node

0.3.0.dev0

History Node

0.2.0.dev2

History Node

0.2.0.dev1

History Node

0.2.0.dev0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyluach-0.3.0.dev1-py2.py3-none-any.whl (14.5 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Sep 27, 2017
pyluach-0.3.0.dev1.tar.gz (11.7 kB) Copy SHA256 Checksum SHA256 Source Sep 27, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting