Skip to content

Releases: vibzart/panchang

v0.2.10 — Batch panchanga primitive + faster tests

19 Apr 04:09

Choose a tag to compare

Added

  • py_compute_panchanga_at_jds(jds) — batch primitive that computes tithi/nakshatra/yoga/karana at many arbitrary instants in a single FFI round-trip. Benchmarks: 8760 JDs in ~1.1s, vs ~45s for a per-JD loop. Designed for muhurat engines (vivah, etc.) that sample panchanga hourly across a year.
  • panchang.core.panchang.compute_panchanga_at_jds(jds) — Python wrapper for ergonomic use.

Improved

  • Test suite runs in ~70s instead of ~290s (4× faster) via session-scoped fixtures for expensive year-long computations (festivals, batch, ekadashis). No coverage loss.

Compatibility

  • Additive — no behavior changes to existing APIs.
  • Recommended for downstream packages doing fine-grained panchanga sampling.

v0.2.9 — Ekadashi tithi-kshaya fix

19 Apr 03:37

Choose a tag to compare

Fixed

  • compute_ekadashis: Kshaya Ekadashis (where tithi 11/26 never spans sunrise within a lunar month) are now correctly resolved to the preceding Dashami day per Smarta convention, instead of being silently dropped. Prabodhini Ekadashi 2026 (Nov 20) was the motivating case.
  • compute_ekadashis: Lunar-month labels are now correct. The old sankranti-anchored ±20-day search sometimes returned Ekadashis with the wrong lunar_month when search windows overlapped (e.g., Jan 29 2026 was returned as "Pausha Putrada" when it is actually "Jaya"). The new Amant-bounded search prevents this class of mis-labeling.

Unchanged

  • Vaishnava Ekadashi rule (Dashami-at-Arunodaya shift) is preserved.
  • Festival resolution, panchang batch, Sankranti, and all other APIs are unchanged.

Tests

  • Added regression tests for Prabodhini 2026 and correct Magha Shukla labeling.
  • Full suite: 119 Python tests + 73 Rust tests, all passing.

v0.2.8

15 Apr 17:53

Choose a tag to compare

Full Changelog: v0.2.7...v0.2.8

v0.2.7

14 Apr 18:45

Choose a tag to compare

Full Changelog: v0.2.6...v0.2.7

v0.2.6

14 Apr 11:19

Choose a tag to compare

Full Changelog: v0.2.5...v0.2.6

v0.2.5

12 Apr 21:38

Choose a tag to compare

Full Changelog: v0.2.4...v0.2.5

v0.2.4

12 Apr 16:22

Choose a tag to compare

Full Changelog: v0.2.3...v0.2.4

v0.2.3

12 Apr 12:22

Choose a tag to compare

Full Changelog: v0.2.2...v0.2.3

v0.2.2

01 Apr 18:50

Choose a tag to compare

Full Changelog: v0.2.1...v0.2.2

  • Move festival data files inside the package

v0.2.1

20 Mar 15:48

Choose a tag to compare

fix: Bump version