-
Notifications
You must be signed in to change notification settings - Fork 0
Releases: vibzart/panchang
Releases · vibzart/panchang
v0.2.10 — Batch panchanga primitive + faster tests
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 (×ばつ 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.
Assets 2
v0.2.9 — Ekadashi tithi-kshaya fix
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_monthwhen 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.
Assets 2
v0.2.8
Full Changelog: v0.2.7...v0.2.8
Assets 2
v0.2.7
Full Changelog: v0.2.6...v0.2.7
Assets 2
v0.2.6
Full Changelog: v0.2.5...v0.2.6
Assets 2
v0.2.5
Full Changelog: v0.2.4...v0.2.5
Assets 2
v0.2.4
Full Changelog: v0.2.3...v0.2.4
Assets 2
v0.2.3
Full Changelog: v0.2.2...v0.2.3
Assets 2
v0.2.2
Full Changelog: v0.2.1...v0.2.2
- Move festival data files inside the package
Assets 2
v0.2.1
fix: Bump version