divineapi 1.4.0__tar.gz → 1.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {divineapi-1.4.0 → divineapi-1.6.0}/PKG-INFO +1 -1
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/__init__.py +1 -1
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/indian/panchang.py +82 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/western/natal.py +1 -1
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/western/transit.py +21 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi.egg-info/PKG-INFO +1 -1
- {divineapi-1.4.0 → divineapi-1.6.0}/pyproject.toml +1 -1
- {divineapi-1.4.0 → divineapi-1.6.0}/LICENSE +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/README.md +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/calculators.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/client.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/exceptions.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/horoscope.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/indian/__init__.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/indian/festival.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/indian/kundli.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/indian/match_making.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/lifestyle.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/numerology.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/pdf.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/py.typed +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/western/__init__.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/western/_house_system.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/western/composite.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/western/planet_returns.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/western/prenatal.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/western/progressions.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi/western/synastry.py +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi.egg-info/SOURCES.txt +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi.egg-info/dependency_links.txt +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi.egg-info/requires.txt +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/divineapi.egg-info/top_level.txt +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/setup.cfg +0 -0
- {divineapi-1.4.0 → divineapi-1.6.0}/setup.py +0 -0
|
@@ -317,3 +317,85 @@ class PanchangApi:
|
|
|
317
317
|
"""Month Surya Nakshatra list."""
|
|
318
318
|
return self._c.post("astroapi-8", "/indian-api/v1/month-surya-nakshatra-list",
|
|
319
319
|
self._loc(day, month, year, place, lat, lon, tzone, lan))
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
def muhurat_marriage(
|
|
323
|
+
self, month: int, year: int,
|
|
324
|
+
place: str, lat: float, lon: float, tzone: float,
|
|
325
|
+
lan: str = "en",
|
|
326
|
+
) -> Dict[str, Any]:
|
|
327
|
+
"""Marriage Muhurat."""
|
|
328
|
+
return self._c.post("astroapi-3", "/indian-api/v1/muhurat/marriage",
|
|
329
|
+
self._month_loc(month, year, place, lat, lon, tzone, lan))
|
|
330
|
+
|
|
331
|
+
def muhurat_house_entering(
|
|
332
|
+
self, month: int, year: int,
|
|
333
|
+
place: str, lat: float, lon: float, tzone: float,
|
|
334
|
+
lan: str = "en",
|
|
335
|
+
) -> Dict[str, Any]:
|
|
336
|
+
"""Griha Pravesh (House Entering) Muhurat."""
|
|
337
|
+
return self._c.post("astroapi-3", "/indian-api/v1/muhurat/house-entering",
|
|
338
|
+
self._month_loc(month, year, place, lat, lon, tzone, lan))
|
|
339
|
+
|
|
340
|
+
def muhurat_vehicle_purchase(
|
|
341
|
+
self, month: int, year: int,
|
|
342
|
+
place: str, lat: float, lon: float, tzone: float,
|
|
343
|
+
lan: str = "en",
|
|
344
|
+
) -> Dict[str, Any]:
|
|
345
|
+
"""Vehicle Purchase Muhurat."""
|
|
346
|
+
return self._c.post("astroapi-3", "/indian-api/v1/muhurat/vehicle-purchase",
|
|
347
|
+
self._month_loc(month, year, place, lat, lon, tzone, lan))
|
|
348
|
+
|
|
349
|
+
def muhurat_property_purchase(
|
|
350
|
+
self, month: int, year: int,
|
|
351
|
+
place: str, lat: float, lon: float, tzone: float,
|
|
352
|
+
lan: str = "en",
|
|
353
|
+
) -> Dict[str, Any]:
|
|
354
|
+
"""Property Purchase Muhurat."""
|
|
355
|
+
return self._c.post("astroapi-3", "/indian-api/v1/muhurat/property-purchase",
|
|
356
|
+
self._month_loc(month, year, place, lat, lon, tzone, lan))
|
|
357
|
+
|
|
358
|
+
def muhurat_business_start(
|
|
359
|
+
self, month: int, year: int,
|
|
360
|
+
place: str, lat: float, lon: float, tzone: float,
|
|
361
|
+
lan: str = "en",
|
|
362
|
+
) -> Dict[str, Any]:
|
|
363
|
+
"""Business Start Muhurat."""
|
|
364
|
+
return self._c.post("astroapi-3", "/indian-api/v1/muhurat/business-start",
|
|
365
|
+
self._month_loc(month, year, place, lat, lon, tzone, lan))
|
|
366
|
+
|
|
367
|
+
def muhurat_foundation_laying(
|
|
368
|
+
self, month: int, year: int,
|
|
369
|
+
place: str, lat: float, lon: float, tzone: float,
|
|
370
|
+
lan: str = "en",
|
|
371
|
+
) -> Dict[str, Any]:
|
|
372
|
+
"""Foundation Laying (Bhoomi Pujan) Muhurat."""
|
|
373
|
+
return self._c.post("astroapi-3", "/indian-api/v1/muhurat/foundation-laying",
|
|
374
|
+
self._month_loc(month, year, place, lat, lon, tzone, lan))
|
|
375
|
+
|
|
376
|
+
def muhurat_do_ghati(
|
|
377
|
+
self, day: int, month: int, year: int,
|
|
378
|
+
place: str, lat: float, lon: float, tzone: float,
|
|
379
|
+
lan: str = "en",
|
|
380
|
+
) -> Dict[str, Any]:
|
|
381
|
+
"""Do Ghati Muhurat."""
|
|
382
|
+
return self._c.post("astroapi-3", "/indian-api/v1/muhurat/do-ghati",
|
|
383
|
+
self._loc(day, month, year, place, lat, lon, tzone, lan))
|
|
384
|
+
|
|
385
|
+
def muhurat_hora(
|
|
386
|
+
self, day: int, month: int, year: int,
|
|
387
|
+
place: str, lat: float, lon: float, tzone: float,
|
|
388
|
+
lan: str = "en",
|
|
389
|
+
) -> Dict[str, Any]:
|
|
390
|
+
"""Hora."""
|
|
391
|
+
return self._c.post("astroapi-3", "/indian-api/v1/muhurat/hora",
|
|
392
|
+
self._loc(day, month, year, place, lat, lon, tzone, lan))
|
|
393
|
+
|
|
394
|
+
def muhurat_jain_pachakkhan(
|
|
395
|
+
self, day: int, month: int, year: int,
|
|
396
|
+
place: str, lat: float, lon: float, tzone: float,
|
|
397
|
+
lan: str = "en",
|
|
398
|
+
) -> Dict[str, Any]:
|
|
399
|
+
"""Jain Pachakkhan."""
|
|
400
|
+
return self._c.post("astroapi-3", "/indian-api/v1/muhurat/jain-pachakkhan",
|
|
401
|
+
self._loc(day, month, year, place, lat, lon, tzone, lan))
|
|
@@ -73,7 +73,7 @@ class NatalApi:
|
|
|
73
73
|
|
|
74
74
|
def ascendant_report(self, **kw: Any) -> Dict[str, Any]:
|
|
75
75
|
"""Ascendant Report."""
|
|
76
|
-
return self._post4("/western-api/
|
|
76
|
+
return self._post4("/western-api/v2/ascendant-report", **kw)
|
|
77
77
|
|
|
78
78
|
def moon_phase_calendar(self, **kw: Any) -> Dict[str, Any]:
|
|
79
79
|
"""Moon Phase Calendar."""
|
|
@@ -78,6 +78,27 @@ class TransitApi:
|
|
|
78
78
|
))
|
|
79
79
|
return self._c.post("astroapi-4", "/western-api/v1/transit/basic", payload)
|
|
80
80
|
|
|
81
|
+
def custom_transit(
|
|
82
|
+
self,
|
|
83
|
+
transit_day: int, transit_month: int, transit_year: int,
|
|
84
|
+
transit_lat: float, transit_lon: float,
|
|
85
|
+
transit_tzone: float, transit_place: str,
|
|
86
|
+
transit_hour: int = 0, transit_min: int = 0, transit_sec: int = 0,
|
|
87
|
+
**kw: Any,
|
|
88
|
+
) -> Dict[str, Any]:
|
|
89
|
+
"""Custom Transit. Requires the natal birth block plus the full transit
|
|
90
|
+
moment (date, time and location). Does not send house_system."""
|
|
91
|
+
payload = self._birth(**kw)
|
|
92
|
+
payload.pop("house_system", None)
|
|
93
|
+
payload.update(self._transit_dt(
|
|
94
|
+
transit_day, transit_month, transit_year,
|
|
95
|
+
transit_hour, transit_min, transit_sec,
|
|
96
|
+
))
|
|
97
|
+
payload.update(self._transit_loc(
|
|
98
|
+
transit_lat, transit_lon, transit_tzone, transit_place,
|
|
99
|
+
))
|
|
100
|
+
return self._c.post("astroapi-4", "/western-api/v1/transit/custom", payload)
|
|
101
|
+
|
|
81
102
|
def daily(self, **kw: Any) -> Dict[str, Any]:
|
|
82
103
|
"""Transit Daily."""
|
|
83
104
|
return self._post4("/western-api/v1/transit/daily", **kw)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|