v0.3.0
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)andholidays_on(date), with aHolidaytype andCategoryenum. - 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 hebrewcalRequires Python 3.11+. Documentation: https://hebrewcal.readthedocs.io