fix(rectification): restore classic eight methods and observe KP Placidus cusps

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-08-20 15:58:28 +08:00
co-authored by Cursor
parent a1914686e8
commit 84e6191fc2
42 changed files with 1488 additions and 185 deletions
+7
View File
@@ -19,6 +19,13 @@ from sade_sati import calc_sade_sati_complete
CONTRACT_VERSION = "1.0.0"
_SWISSEPH_LOCK = threading.RLock()
def swiss_ephemeris_lock() -> threading.RLock:
"""Shared Swiss Ephemeris lock. Sidereal mode is process-global."""
return _SWISSEPH_LOCK
_PLANET_IDS = {
"Jupiter": swe.JUPITER,
"Saturn": swe.SATURN,