divineapi 1.0.2__tar.gz → 1.0.4__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 (33) hide show
  1. {divineapi-1.0.2 → divineapi-1.0.4}/PKG-INFO +5 -1
  2. {divineapi-1.0.2 → divineapi-1.0.4}/README.md +4 -0
  3. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/__init__.py +1 -1
  4. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/indian/panchang.py +9 -0
  5. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/pdf.py +5 -0
  6. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/western/natal.py +1 -1
  7. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/western/synastry.py +5 -4
  8. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/western/transit.py +9 -1
  9. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi.egg-info/PKG-INFO +5 -1
  10. {divineapi-1.0.2 → divineapi-1.0.4}/pyproject.toml +1 -1
  11. {divineapi-1.0.2 → divineapi-1.0.4}/LICENSE +0 -0
  12. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/calculators.py +0 -0
  13. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/client.py +0 -0
  14. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/exceptions.py +0 -0
  15. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/horoscope.py +0 -0
  16. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/indian/__init__.py +0 -0
  17. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/indian/festival.py +0 -0
  18. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/indian/kundli.py +0 -0
  19. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/indian/match_making.py +0 -0
  20. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/lifestyle.py +0 -0
  21. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/numerology.py +0 -0
  22. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/py.typed +0 -0
  23. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/western/__init__.py +0 -0
  24. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/western/composite.py +0 -0
  25. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/western/planet_returns.py +0 -0
  26. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/western/prenatal.py +0 -0
  27. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi/western/progressions.py +0 -0
  28. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi.egg-info/SOURCES.txt +0 -0
  29. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi.egg-info/dependency_links.txt +0 -0
  30. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi.egg-info/requires.txt +0 -0
  31. {divineapi-1.0.2 → divineapi-1.0.4}/divineapi.egg-info/top_level.txt +0 -0
  32. {divineapi-1.0.2 → divineapi-1.0.4}/setup.cfg +0 -0
  33. {divineapi-1.0.2 → divineapi-1.0.4}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: divineapi
3
- Version: 1.0.2
3
+ Version: 1.0.4
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
@@ -97,6 +97,10 @@ client.indian.panchang.auspicious_timings(
97
97
  day=10, month=3, year=2024,
98
98
  place="Delhi", lat=28.6139, lon=77.2090, tzone=5.5
99
99
  )
100
+ client.indian.panchang.find_gowri_panchangam(
101
+ day=10, month=3, year=2024,
102
+ place="Chennai", lat=13.0827, lon=80.2707, tzone=5.5
103
+ )
100
104
 
101
105
  # Planetary transits
102
106
  client.indian.panchang.grah_gochar(
@@ -69,6 +69,10 @@ client.indian.panchang.auspicious_timings(
69
69
  day=10, month=3, year=2024,
70
70
  place="Delhi", lat=28.6139, lon=77.2090, tzone=5.5
71
71
  )
72
+ client.indian.panchang.find_gowri_panchangam(
73
+ day=10, month=3, year=2024,
74
+ place="Chennai", lat=13.0827, lon=80.2707, tzone=5.5
75
+ )
72
76
 
73
77
  # Planetary transits
74
78
  client.indian.panchang.grah_gochar(
@@ -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.0.2"
32
+ __version__ = "1.0.4"
33
33
 
34
34
  __all__ = [
35
35
  "DivineApi",
@@ -152,6 +152,15 @@ class PanchangApi:
152
152
  return self._c.post("astroapi-3", "/indian-api/v1/auspicious-timings",
153
153
  self._loc(day, month, year, place, lat, lon, tzone, lan))
154
154
 
155
+ def find_gowri_panchangam(
156
+ self, day: int, month: int, year: int,
157
+ place: str, lat: float, lon: float, tzone: float,
158
+ lan: str = "en",
159
+ ) -> Dict[str, Any]:
160
+ """Find Gowri Panchangam."""
161
+ return self._c.post("astroapi-3", "/indian-api/v1/find-gowri-panchangam",
162
+ self._loc(day, month, year, place, lat, lon, tzone, lan))
163
+
155
164
  def inauspicious_timings(
156
165
  self, day: int, month: int, year: int,
157
166
  place: str, lat: float, lon: float, tzone: float,
@@ -154,3 +154,8 @@ class PdfReportApi:
154
154
  """Numerology Report PDF."""
155
155
  kw["report_code"] = report_code
156
156
  return self._post_birth("/numerology/v2/report", **kw)
157
+
158
+ def reports_generate(self, report_code: str, **kw: Any) -> Dict[str, Any]:
159
+ """Reports V2 Generate PDF."""
160
+ kw["report_code"] = report_code
161
+ return self._post_birth("/api/v1/reports/generate", **kw)
@@ -56,7 +56,7 @@ class NatalApi:
56
56
 
57
57
  def natal_wheel_chart(self, **kw: Any) -> Dict[str, Any]:
58
58
  """Natal Wheel Chart (pass chart styling via **kw)."""
59
- return self._post4("/western-api/v2/natal-wheel-chart", **kw)
59
+ return self._post8("/western-api/v2/natal-wheel-chart", **kw)
60
60
 
61
61
  def general_sign_report(self, planet: str, **kw: Any) -> Dict[str, Any]:
62
62
  """General Sign Report for a planet."""
@@ -5,6 +5,7 @@ from typing import Any, Dict
5
5
  from ..client import BaseClient
6
6
 
7
7
  HOST = "astroapi-4"
8
+ HOST8 = "astroapi-8"
8
9
 
9
10
 
10
11
  class SynastryApi:
@@ -59,11 +60,11 @@ class SynastryApi:
59
60
 
60
61
  def natal_wheel_chart(self, **kw: Any) -> Dict[str, Any]:
61
62
  """Synastry Natal Wheel Chart."""
62
- return self._post("/western-api/v1/synastry/natal-wheel-chart", **kw)
63
+ return self._c.post(HOST8, "/western-api/v2/synastry/natal-wheel-chart", self._couple(**kw))
63
64
 
64
- def aspect(self, **kw: Any) -> Dict[str, Any]:
65
- """Synastry Aspect."""
66
- return self._post("/western-api/v1/synastry/aspect", **kw)
65
+ def aspect_table(self, **kw: Any) -> Dict[str, Any]:
66
+ """Synastry Aspect Table."""
67
+ return self._c.post(HOST8, "/western-api/v2/synastry/aspect-table", self._couple(**kw))
67
68
 
68
69
  def harmonious_aspect_reading(self, **kw: Any) -> Dict[str, Any]:
69
70
  """Synastry Harmonious Aspect Reading."""
@@ -65,7 +65,7 @@ class TransitApi:
65
65
 
66
66
  def monthly(self, **kw: Any) -> Dict[str, Any]:
67
67
  """Transit Monthly (pass extensive transit params via **kw)."""
68
- return self._post8("/western-api/v1/transit/monthly", **kw)
68
+ return self._post8("/western-api/v2/transit/monthly", **kw)
69
69
 
70
70
  def full(self, **kw: Any) -> Dict[str, Any]:
71
71
  """Full Transit (pass extensive transit params via **kw)."""
@@ -100,3 +100,11 @@ class TransitApi:
100
100
  "planet": planet, "month": month, "year": year,
101
101
  "place": place, "lat": lat, "lon": lon, "tzone": tzone,
102
102
  })
103
+
104
+ def wheel_chart(self, **kw: Any) -> Dict[str, Any]:
105
+ """Transit Wheel Chart."""
106
+ return self._post8("/western-api/v1/transit/wheel-chart", **kw)
107
+
108
+ def planetary_positions(self, **kw: Any) -> Dict[str, Any]:
109
+ """Transit Planetary Positions."""
110
+ return self._post8("/western-api/v1/transit/planetary-positions", **kw)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: divineapi
3
- Version: 1.0.2
3
+ Version: 1.0.4
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
@@ -97,6 +97,10 @@ client.indian.panchang.auspicious_timings(
97
97
  day=10, month=3, year=2024,
98
98
  place="Delhi", lat=28.6139, lon=77.2090, tzone=5.5
99
99
  )
100
+ client.indian.panchang.find_gowri_panchangam(
101
+ day=10, month=3, year=2024,
102
+ place="Chennai", lat=13.0827, lon=80.2707, tzone=5.5
103
+ )
100
104
 
101
105
  # Planetary transits
102
106
  client.indian.panchang.grah_gochar(
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "divineapi"
7
- version = "1.0.2"
7
+ version = "1.0.4"
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