Skip to content

v0.3.0

Choose a tag to compare

@bsesic bsesic released this 08 Jun 20:43
· 53 commits to main since this release
4b79b7c

Phase 3 of the roadmap: the holiday engine. This release completes the MVP — calendar core, astronomy, and holidays.

Added

  • Holiday engine: holidays(year, diaspora=True) and holidays_on(date), with a Holiday type and Category enum.
  • Major festivals with Israel/Diaspora differences (yom tov sheni, Simchat Torah placement, 7- vs 8-day Pesach, 1 vs 2 days Shavuot) and Chol HaMoed.
  • Minor festivals and Rosh Chodesh (Hanukkah, Tu BiShvat, Purim/Shushan Purim incl. leap-year Adar II, Lag BaOmer, Tu B'Av, Pesach Sheni, Hoshana Rabbah).
  • Fasts with postponement rules.
  • Modern Israeli days with the statutory weekday adjustments.
  • Minority feasts (Sigd, Mimouna).
  • The Omer count and the special Shabbatot.

Installation

pip install hebrewcal

Requires Python 3.11+. Documentation: https://hebrewcal.readthedocs.io