Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Pyluach is a Python package for manipulating Hebrew dates, Gregorian-Hebrew calendar conversions, and other Jewish calendar related calculations.

Project description

Documentation Status

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


  • 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


Use pip install pyluach.

Typical use

>>> from pyluach import dates, hebrewcal, parshios

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

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

>>> date = dates.GregorianDate(2010, 10, 6)
>>> print(parshios.getparsha(date))
>>> print(parshios.getparsha_string(date))


Documentation for pyluach can be found at


For questions and comments feel free to contact me at


Pyluach is licensed under the MIT license.

Project details

Download files

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

Files for pyluach, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size pyluach-1.2.1-py3-none-any.whl (14.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyluach-1.2.1.tar.gz (12.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page