Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: vibzart/panchang

v0.2.10 — Batch panchanga primitive + faster tests

19 Apr 04:09
@saucam saucam

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 (×ばつ 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
Loading

v0.2.9 — Ekadashi tithi-kshaya fix

19 Apr 03:37
@saucam saucam

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.
Loading

v0.2.8

15 Apr 17:53
@tvibha tvibha

Choose a tag to compare

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

Loading

v0.2.7

14 Apr 18:45
@tvibha tvibha

Choose a tag to compare

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

Loading

v0.2.6

14 Apr 11:19
@tvibha tvibha

Choose a tag to compare

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

Loading

v0.2.5

12 Apr 21:38
@tvibha tvibha

Choose a tag to compare

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

Loading

v0.2.4

12 Apr 16:22
@tvibha tvibha

Choose a tag to compare

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

Loading

v0.2.3

12 Apr 12:22
@tvibha tvibha

Choose a tag to compare

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

Loading

v0.2.2

01 Apr 18:50
@tvibha tvibha

Choose a tag to compare

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

  • Move festival data files inside the package
Loading

v0.2.1

20 Mar 15:48
@tvibha tvibha

Choose a tag to compare

fix: Bump version
Loading
Previous 1
Previous

AltStyle によって変換されたページ (->オリジナル) /