divineapi 1.0.6__tar.gz → 1.2.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.0.6 → divineapi-1.2.0}/PKG-INFO +16 -1
- {divineapi-1.0.6 → divineapi-1.2.0}/README.md +15 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/__init__.py +1 -1
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/indian/festival.py +8 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/indian/kundli.py +90 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi.egg-info/PKG-INFO +16 -1
- {divineapi-1.0.6 → divineapi-1.2.0}/pyproject.toml +1 -1
- {divineapi-1.0.6 → divineapi-1.2.0}/LICENSE +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/calculators.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/client.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/exceptions.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/horoscope.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/indian/__init__.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/indian/match_making.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/indian/panchang.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/lifestyle.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/numerology.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/pdf.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/py.typed +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/western/__init__.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/western/composite.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/western/natal.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/western/planet_returns.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/western/prenatal.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/western/progressions.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/western/synastry.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi/western/transit.py +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi.egg-info/SOURCES.txt +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi.egg-info/dependency_links.txt +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi.egg-info/requires.txt +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/divineapi.egg-info/top_level.txt +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/setup.cfg +0 -0
- {divineapi-1.0.6 → divineapi-1.2.0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: divineapi
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.2.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
|
|
@@ -128,6 +128,18 @@ client.indian.kundli.horoscope_chart("D1", **birth)
|
|
|
128
128
|
|
|
129
129
|
# Dasha analysis (no birth data needed)
|
|
130
130
|
client.indian.kundli.maha_dasha_analysis(maha_dasha="Sun")
|
|
131
|
+
|
|
132
|
+
# Lal Kitab
|
|
133
|
+
client.indian.kundli.lal_kitab_planetary_positions(**birth)
|
|
134
|
+
client.indian.kundli.lal_kitab_teva(**birth)
|
|
135
|
+
client.indian.kundli.lal_kitab_debts(**birth)
|
|
136
|
+
client.indian.kundli.lal_kitab_planet_analysis("sun", **birth)
|
|
137
|
+
client.indian.kundli.lal_kitab_house_signification(1, **birth)
|
|
138
|
+
client.indian.kundli.lal_kitab_varshphal_chart(2026, **birth)
|
|
139
|
+
|
|
140
|
+
# Lal Kitab dasha content (no birth data needed)
|
|
141
|
+
client.indian.kundli.lal_kitab_mahadasha_content(maha_dasha="saturn")
|
|
142
|
+
client.indian.kundli.lal_kitab_antardasha_content(maha_dasha="saturn", antar_dasha="mercury")
|
|
131
143
|
```
|
|
132
144
|
|
|
133
145
|
### Indian Astrology - Match Making
|
|
@@ -162,6 +174,9 @@ client.indian.festival.malayalam_festivals(
|
|
|
162
174
|
client.indian.festival.tamil_festivals(
|
|
163
175
|
year=2027, place="Chennai", lat=13.0827, lon=80.2707, tzone=5.5
|
|
164
176
|
)
|
|
177
|
+
client.indian.festival.sankranti_festivals(
|
|
178
|
+
year=2027, place="New Delhi", lat=28.6139, lon=77.2090, tzone=5.5
|
|
179
|
+
)
|
|
165
180
|
```
|
|
166
181
|
|
|
167
182
|
### Western Astrology - Natal
|
|
@@ -100,6 +100,18 @@ client.indian.kundli.horoscope_chart("D1", **birth)
|
|
|
100
100
|
|
|
101
101
|
# Dasha analysis (no birth data needed)
|
|
102
102
|
client.indian.kundli.maha_dasha_analysis(maha_dasha="Sun")
|
|
103
|
+
|
|
104
|
+
# Lal Kitab
|
|
105
|
+
client.indian.kundli.lal_kitab_planetary_positions(**birth)
|
|
106
|
+
client.indian.kundli.lal_kitab_teva(**birth)
|
|
107
|
+
client.indian.kundli.lal_kitab_debts(**birth)
|
|
108
|
+
client.indian.kundli.lal_kitab_planet_analysis("sun", **birth)
|
|
109
|
+
client.indian.kundli.lal_kitab_house_signification(1, **birth)
|
|
110
|
+
client.indian.kundli.lal_kitab_varshphal_chart(2026, **birth)
|
|
111
|
+
|
|
112
|
+
# Lal Kitab dasha content (no birth data needed)
|
|
113
|
+
client.indian.kundli.lal_kitab_mahadasha_content(maha_dasha="saturn")
|
|
114
|
+
client.indian.kundli.lal_kitab_antardasha_content(maha_dasha="saturn", antar_dasha="mercury")
|
|
103
115
|
```
|
|
104
116
|
|
|
105
117
|
### Indian Astrology - Match Making
|
|
@@ -134,6 +146,9 @@ client.indian.festival.malayalam_festivals(
|
|
|
134
146
|
client.indian.festival.tamil_festivals(
|
|
135
147
|
year=2027, place="Chennai", lat=13.0827, lon=80.2707, tzone=5.5
|
|
136
148
|
)
|
|
149
|
+
client.indian.festival.sankranti_festivals(
|
|
150
|
+
year=2027, place="New Delhi", lat=28.6139, lon=77.2090, tzone=5.5
|
|
151
|
+
)
|
|
137
152
|
```
|
|
138
153
|
|
|
139
154
|
### Western Astrology - Natal
|
|
@@ -129,3 +129,11 @@ class FestivalApi:
|
|
|
129
129
|
"""Tamil Festivals for a year."""
|
|
130
130
|
return self._c.post(HOST, "/indian-api/v1/tamil-festivals",
|
|
131
131
|
self._festival_loc(year, place, lat, lon, tzone))
|
|
132
|
+
|
|
133
|
+
def sankranti_festivals(
|
|
134
|
+
self, year: int,
|
|
135
|
+
place: str, lat: float, lon: float, tzone: float,
|
|
136
|
+
) -> Dict[str, Any]:
|
|
137
|
+
"""Sankranti Festivals for a year."""
|
|
138
|
+
return self._c.post(HOST, "/indian-api/v1/sankranti-festivals",
|
|
139
|
+
self._festival_loc(year, place, lat, lon, tzone))
|
|
@@ -233,3 +233,93 @@ class KundliApi:
|
|
|
233
233
|
def sudarshana_chakra(self, **kw: Any) -> Dict[str, Any]:
|
|
234
234
|
"""Sudarshana Chakra."""
|
|
235
235
|
return self._post_birth("/indian-api/v1/sudarshana-chakra", **kw)
|
|
236
|
+
|
|
237
|
+
# ------------------------------------------------------------------ #
|
|
238
|
+
# Lal Kitab (16 endpoints)
|
|
239
|
+
# ------------------------------------------------------------------ #
|
|
240
|
+
|
|
241
|
+
def lal_kitab_planetary_positions(self, **kw: Any) -> Dict[str, Any]:
|
|
242
|
+
"""Lal Kitab Planetary Positions."""
|
|
243
|
+
return self._post_birth("/indian-api/v1/lal-kitab/planetary-positions", **kw)
|
|
244
|
+
|
|
245
|
+
def lal_kitab_horoscope_chart(self, **kw: Any) -> Dict[str, Any]:
|
|
246
|
+
"""Lal Kitab Horoscope Chart."""
|
|
247
|
+
return self._post_birth("/indian-api/v1/lal-kitab/horoscope-chart", **kw)
|
|
248
|
+
|
|
249
|
+
def lal_kitab_house_position(self, **kw: Any) -> Dict[str, Any]:
|
|
250
|
+
"""Lal Kitab House Position."""
|
|
251
|
+
return self._post_birth("/indian-api/v1/lal-kitab/house-position", **kw)
|
|
252
|
+
|
|
253
|
+
def lal_kitab_conjunctions(self, **kw: Any) -> Dict[str, Any]:
|
|
254
|
+
"""Lal Kitab Conjunctions."""
|
|
255
|
+
return self._post_birth("/indian-api/v1/lal-kitab/conjunctions", **kw)
|
|
256
|
+
|
|
257
|
+
def lal_kitab_teva(self, **kw: Any) -> Dict[str, Any]:
|
|
258
|
+
"""Lal Kitab Teva."""
|
|
259
|
+
return self._post_birth("/indian-api/v1/lal-kitab/teva", **kw)
|
|
260
|
+
|
|
261
|
+
def lal_kitab_planet_analysis(self, analysis_planet: str, **kw: Any) -> Dict[str, Any]:
|
|
262
|
+
"""Lal Kitab Planet Analysis for a given planet.
|
|
263
|
+
|
|
264
|
+
analysis_planet: sun, moon, mars, mercury, jupiter, venus, saturn,
|
|
265
|
+
rahu or ketu.
|
|
266
|
+
"""
|
|
267
|
+
kw["analysis_planet"] = analysis_planet
|
|
268
|
+
return self._post_birth("/indian-api/v1/lal-kitab/planet-analysis", **kw)
|
|
269
|
+
|
|
270
|
+
def lal_kitab_dasha(self, **kw: Any) -> Dict[str, Any]:
|
|
271
|
+
"""Lal Kitab Dasha."""
|
|
272
|
+
return self._post_birth("/indian-api/v1/lal-kitab/dasha", **kw)
|
|
273
|
+
|
|
274
|
+
def lal_kitab_planet_types(self, **kw: Any) -> Dict[str, Any]:
|
|
275
|
+
"""Lal Kitab Planet Types."""
|
|
276
|
+
return self._post_birth("/indian-api/v1/lal-kitab/planet-types", **kw)
|
|
277
|
+
|
|
278
|
+
def lal_kitab_mahadasha_content(
|
|
279
|
+
self, maha_dasha: str, lan: str = "en",
|
|
280
|
+
) -> Dict[str, Any]:
|
|
281
|
+
"""Lal Kitab Mahadasha Content (no birth data needed)."""
|
|
282
|
+
return self._c.post(HOST, "/indian-api/v1/lal-kitab/mahadasha-content", {
|
|
283
|
+
"maha_dasha": maha_dasha, "lan": lan,
|
|
284
|
+
})
|
|
285
|
+
|
|
286
|
+
def lal_kitab_antardasha_content(
|
|
287
|
+
self, maha_dasha: str, antar_dasha: str, lan: str = "en",
|
|
288
|
+
) -> Dict[str, Any]:
|
|
289
|
+
"""Lal Kitab Antardasha Content (no birth data needed).
|
|
290
|
+
|
|
291
|
+
The antar_dasha must be valid for the chosen maha_dasha; the API
|
|
292
|
+
lists the valid values on mismatch.
|
|
293
|
+
"""
|
|
294
|
+
return self._c.post(HOST, "/indian-api/v1/lal-kitab/antardasha-content", {
|
|
295
|
+
"maha_dasha": maha_dasha, "antar_dasha": antar_dasha, "lan": lan,
|
|
296
|
+
})
|
|
297
|
+
|
|
298
|
+
def lal_kitab_debts(self, **kw: Any) -> Dict[str, Any]:
|
|
299
|
+
"""Lal Kitab Debts."""
|
|
300
|
+
return self._post_birth("/indian-api/v1/lal-kitab/debts", **kw)
|
|
301
|
+
|
|
302
|
+
def lal_kitab_house_signification(self, house_no: int, **kw: Any) -> Dict[str, Any]:
|
|
303
|
+
"""Lal Kitab House Signification for a given house (1-12)."""
|
|
304
|
+
kw["house_no"] = house_no
|
|
305
|
+
return self._post_birth("/indian-api/v1/lal-kitab/house-signification", **kw)
|
|
306
|
+
|
|
307
|
+
def lal_kitab_varshphal_varsha_pravesh(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
308
|
+
"""Lal Kitab Varshphal Varsha Pravesh for the given year."""
|
|
309
|
+
kw["varshphal_year"] = varshphal_year
|
|
310
|
+
return self._post_birth("/indian-api/v1/lal-kitab/varshphal/varsha-pravesh", **kw)
|
|
311
|
+
|
|
312
|
+
def lal_kitab_varshphal_planetary_positions(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
313
|
+
"""Lal Kitab Varshphal Planetary Positions for the given year."""
|
|
314
|
+
kw["varshphal_year"] = varshphal_year
|
|
315
|
+
return self._post_birth("/indian-api/v1/lal-kitab/varshphal/planetary-positions", **kw)
|
|
316
|
+
|
|
317
|
+
def lal_kitab_varshphal_muntha(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
318
|
+
"""Lal Kitab Varshphal Muntha for the given year."""
|
|
319
|
+
kw["varshphal_year"] = varshphal_year
|
|
320
|
+
return self._post_birth("/indian-api/v1/lal-kitab/varshphal/muntha", **kw)
|
|
321
|
+
|
|
322
|
+
def lal_kitab_varshphal_chart(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
323
|
+
"""Lal Kitab Varshphal Chart for the given year."""
|
|
324
|
+
kw["varshphal_year"] = varshphal_year
|
|
325
|
+
return self._post_birth("/indian-api/v1/lal-kitab/varshphal/chart", **kw)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: divineapi
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.2.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
|
|
@@ -128,6 +128,18 @@ client.indian.kundli.horoscope_chart("D1", **birth)
|
|
|
128
128
|
|
|
129
129
|
# Dasha analysis (no birth data needed)
|
|
130
130
|
client.indian.kundli.maha_dasha_analysis(maha_dasha="Sun")
|
|
131
|
+
|
|
132
|
+
# Lal Kitab
|
|
133
|
+
client.indian.kundli.lal_kitab_planetary_positions(**birth)
|
|
134
|
+
client.indian.kundli.lal_kitab_teva(**birth)
|
|
135
|
+
client.indian.kundli.lal_kitab_debts(**birth)
|
|
136
|
+
client.indian.kundli.lal_kitab_planet_analysis("sun", **birth)
|
|
137
|
+
client.indian.kundli.lal_kitab_house_signification(1, **birth)
|
|
138
|
+
client.indian.kundli.lal_kitab_varshphal_chart(2026, **birth)
|
|
139
|
+
|
|
140
|
+
# Lal Kitab dasha content (no birth data needed)
|
|
141
|
+
client.indian.kundli.lal_kitab_mahadasha_content(maha_dasha="saturn")
|
|
142
|
+
client.indian.kundli.lal_kitab_antardasha_content(maha_dasha="saturn", antar_dasha="mercury")
|
|
131
143
|
```
|
|
132
144
|
|
|
133
145
|
### Indian Astrology - Match Making
|
|
@@ -162,6 +174,9 @@ client.indian.festival.malayalam_festivals(
|
|
|
162
174
|
client.indian.festival.tamil_festivals(
|
|
163
175
|
year=2027, place="Chennai", lat=13.0827, lon=80.2707, tzone=5.5
|
|
164
176
|
)
|
|
177
|
+
client.indian.festival.sankranti_festivals(
|
|
178
|
+
year=2027, place="New Delhi", lat=28.6139, lon=77.2090, tzone=5.5
|
|
179
|
+
)
|
|
165
180
|
```
|
|
166
181
|
|
|
167
182
|
### Western Astrology - Natal
|
|
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
|