Skip to content

v0.2.0

Choose a tag to compare

@bsesic bsesic released this 08 Jun 18:58
· 68 commits to main since this release
e5c0fac

Phase 2 of the roadmap: a pure-Python astronomy layer, with no runtime dependencies and no network calls.

Added

  • Location value type (coordinates, elevation, IANA time zone).
  • Julian Day time base derived from the Rata Die count, and an RD/UTC-minutes ↔ timezone-aware datetime bridge.
  • NOAA/Meeus solar model: sunrise, sunset, solar_noon (agreeing with reference implementations to ~15-20 s at mid latitudes), plus solar_declination and equation_of_time.
  • Twilight: civil, nautical and astronomical dawn/dusk with a configurable depression angle.
  • Molad as a civil instant in Jerusalem mean time.

Installation

pip install hebrewcal

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