divineapi 1.3.0__tar.gz → 1.5.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.
Files changed (34) hide show
  1. {divineapi-1.3.0 → divineapi-1.5.0}/PKG-INFO +9 -1
  2. {divineapi-1.3.0 → divineapi-1.5.0}/README.md +8 -0
  3. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/__init__.py +1 -1
  4. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/indian/kundli.py +33 -0
  5. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/western/natal.py +1 -1
  6. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/western/transit.py +21 -0
  7. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi.egg-info/PKG-INFO +9 -1
  8. {divineapi-1.3.0 → divineapi-1.5.0}/pyproject.toml +1 -1
  9. {divineapi-1.3.0 → divineapi-1.5.0}/LICENSE +0 -0
  10. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/calculators.py +0 -0
  11. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/client.py +0 -0
  12. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/exceptions.py +0 -0
  13. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/horoscope.py +0 -0
  14. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/indian/__init__.py +0 -0
  15. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/indian/festival.py +0 -0
  16. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/indian/match_making.py +0 -0
  17. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/indian/panchang.py +0 -0
  18. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/lifestyle.py +0 -0
  19. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/numerology.py +0 -0
  20. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/pdf.py +0 -0
  21. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/py.typed +0 -0
  22. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/western/__init__.py +0 -0
  23. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/western/_house_system.py +0 -0
  24. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/western/composite.py +0 -0
  25. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/western/planet_returns.py +0 -0
  26. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/western/prenatal.py +0 -0
  27. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/western/progressions.py +0 -0
  28. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi/western/synastry.py +0 -0
  29. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi.egg-info/SOURCES.txt +0 -0
  30. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi.egg-info/dependency_links.txt +0 -0
  31. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi.egg-info/requires.txt +0 -0
  32. {divineapi-1.3.0 → divineapi-1.5.0}/divineapi.egg-info/top_level.txt +0 -0
  33. {divineapi-1.3.0 → divineapi-1.5.0}/setup.cfg +0 -0
  34. {divineapi-1.3.0 → divineapi-1.5.0}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: divineapi
3
- Version: 1.3.0
3
+ Version: 1.5.0
4
4
  Summary: Official Python SDK for the Divine API - Astrology, Numerology, Tarot & more
5
5
  Author-email: Divine API <support@divineapi.com>
6
6
  License: MIT
@@ -141,6 +141,14 @@ client.indian.kundli.lal_kitab_varshphal_chart(2026, **birth)
141
141
  # Lal Kitab dasha content (no birth data needed)
142
142
  client.indian.kundli.lal_kitab_mahadasha_content(maha_dasha="saturn")
143
143
  client.indian.kundli.lal_kitab_antardasha_content(maha_dasha="saturn", antar_dasha="mercury")
144
+
145
+ # Additional kundli analysis
146
+ client.indian.kundli.vargottama_planets(**birth)
147
+ client.indian.kundli.bhav_bala(**birth)
148
+ client.indian.kundli.shani_ashtam_shani(**birth)
149
+ client.indian.kundli.bhava_analysis(**birth)
150
+ client.indian.kundli.bhava_group_predictions(**birth)
151
+ client.indian.kundli.planet_remedies("sun", **birth) # analysis_planet + birth
144
152
  ```
145
153
 
146
154
  ### Indian Astrology - Match Making
@@ -113,6 +113,14 @@ client.indian.kundli.lal_kitab_varshphal_chart(2026, **birth)
113
113
  # Lal Kitab dasha content (no birth data needed)
114
114
  client.indian.kundli.lal_kitab_mahadasha_content(maha_dasha="saturn")
115
115
  client.indian.kundli.lal_kitab_antardasha_content(maha_dasha="saturn", antar_dasha="mercury")
116
+
117
+ # Additional kundli analysis
118
+ client.indian.kundli.vargottama_planets(**birth)
119
+ client.indian.kundli.bhav_bala(**birth)
120
+ client.indian.kundli.shani_ashtam_shani(**birth)
121
+ client.indian.kundli.bhava_analysis(**birth)
122
+ client.indian.kundli.bhava_group_predictions(**birth)
123
+ client.indian.kundli.planet_remedies("sun", **birth) # analysis_planet + birth
116
124
  ```
117
125
 
118
126
  ### Indian Astrology - Match Making
@@ -29,7 +29,7 @@ from .numerology import NumerologyApi
29
29
  from .pdf import PdfReportApi
30
30
  from .western import WesternApi
31
31
 
32
- __version__ = "1.3.0"
32
+ __version__ = "1.5.0"
33
33
 
34
34
  __all__ = [
35
35
  "DivineApi",
@@ -323,3 +323,36 @@ class KundliApi:
323
323
  """Lal Kitab Varshphal Chart for the given year."""
324
324
  kw["varshphal_year"] = varshphal_year
325
325
  return self._post_birth("/indian-api/v1/lal-kitab/varshphal/chart", **kw)
326
+
327
+ # ------------------------------------------------------------------ #
328
+ # Additional Kundli Analysis (6 endpoints)
329
+ # ------------------------------------------------------------------ #
330
+
331
+ def vargottama_planets(self, **kw: Any) -> Dict[str, Any]:
332
+ """Vargottama Planets."""
333
+ return self._post_birth("/indian-api/v1/vargottama-planets", **kw)
334
+
335
+ def bhav_bala(self, **kw: Any) -> Dict[str, Any]:
336
+ """Bhav Bala."""
337
+ return self._post_birth("/indian-api/v1/bhav-bala", **kw)
338
+
339
+ def shani_ashtam_shani(self, **kw: Any) -> Dict[str, Any]:
340
+ """Shani Ashtam Shani."""
341
+ return self._post_birth("/indian-api/v1/shani-ashtam-shani", **kw)
342
+
343
+ def bhava_analysis(self, **kw: Any) -> Dict[str, Any]:
344
+ """Bhava Analysis."""
345
+ return self._post_birth("/indian-api/v1/bhava-analysis", **kw)
346
+
347
+ def bhava_group_predictions(self, **kw: Any) -> Dict[str, Any]:
348
+ """Bhava Group Predictions."""
349
+ return self._post_birth("/indian-api/v1/bhava-group-predictions", **kw)
350
+
351
+ def planet_remedies(self, analysis_planet: str, **kw: Any) -> Dict[str, Any]:
352
+ """Planet Remedies for a given planet.
353
+
354
+ analysis_planet: sun, moon, mars, mercury, jupiter, venus, saturn,
355
+ rahu or ketu.
356
+ """
357
+ kw["analysis_planet"] = analysis_planet
358
+ return self._post_birth("/indian-api/v1/planet-remedies", **kw)
@@ -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/v1/ascendant-report", **kw)
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: divineapi
3
- Version: 1.3.0
3
+ Version: 1.5.0
4
4
  Summary: Official Python SDK for the Divine API - Astrology, Numerology, Tarot & more
5
5
  Author-email: Divine API <support@divineapi.com>
6
6
  License: MIT
@@ -141,6 +141,14 @@ client.indian.kundli.lal_kitab_varshphal_chart(2026, **birth)
141
141
  # Lal Kitab dasha content (no birth data needed)
142
142
  client.indian.kundli.lal_kitab_mahadasha_content(maha_dasha="saturn")
143
143
  client.indian.kundli.lal_kitab_antardasha_content(maha_dasha="saturn", antar_dasha="mercury")
144
+
145
+ # Additional kundli analysis
146
+ client.indian.kundli.vargottama_planets(**birth)
147
+ client.indian.kundli.bhav_bala(**birth)
148
+ client.indian.kundli.shani_ashtam_shani(**birth)
149
+ client.indian.kundli.bhava_analysis(**birth)
150
+ client.indian.kundli.bhava_group_predictions(**birth)
151
+ client.indian.kundli.planet_remedies("sun", **birth) # analysis_planet + birth
144
152
  ```
145
153
 
146
154
  ### Indian Astrology - Match Making
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "divineapi"
7
- version = "1.3.0"
7
+ version = "1.5.0"
8
8
  description = "Official Python SDK for the Divine API - Astrology, Numerology, Tarot & more"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes