divineapi 1.7.0__tar.gz → 1.8.1__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.7.0 → divineapi-1.8.1}/PKG-INFO +2 -1
- {divineapi-1.7.0 → divineapi-1.8.1}/README.md +1 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/__init__.py +1 -1
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/indian/kundli.py +71 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/numerology.py +16 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi.egg-info/PKG-INFO +2 -1
- {divineapi-1.7.0 → divineapi-1.8.1}/pyproject.toml +1 -1
- {divineapi-1.7.0 → divineapi-1.8.1}/LICENSE +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/calculators.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/client.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/exceptions.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/horoscope.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/indian/__init__.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/indian/festival.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/indian/match_making.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/indian/panchang.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/lifestyle.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/pdf.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/py.typed +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/western/__init__.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/western/_house_system.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/western/composite.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/western/natal.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/western/planet_returns.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/western/prenatal.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/western/progressions.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/western/synastry.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi/western/transit.py +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi.egg-info/SOURCES.txt +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi.egg-info/dependency_links.txt +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi.egg-info/requires.txt +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/divineapi.egg-info/top_level.txt +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/setup.cfg +0 -0
- {divineapi-1.7.0 → divineapi-1.8.1}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: divineapi
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.1
|
|
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
|
|
@@ -236,6 +236,7 @@ client.western.transit.planet_retrograde(
|
|
|
236
236
|
# Chaldean numerology
|
|
237
237
|
client.numerology.loshu_grid(fname="John", lname="Doe", day=1, month=1, year=1990)
|
|
238
238
|
client.numerology.name_number(fname="John", lname="Doe", day=1, month=1, year=1990)
|
|
239
|
+
client.numerology.name_correction(full_name="John Doe", day=1, month=1, year=1990)
|
|
239
240
|
|
|
240
241
|
# Core numbers
|
|
241
242
|
client.numerology.core_numbers(
|
|
@@ -208,6 +208,7 @@ client.western.transit.planet_retrograde(
|
|
|
208
208
|
# Chaldean numerology
|
|
209
209
|
client.numerology.loshu_grid(fname="John", lname="Doe", day=1, month=1, year=1990)
|
|
210
210
|
client.numerology.name_number(fname="John", lname="Doe", day=1, month=1, year=1990)
|
|
211
|
+
client.numerology.name_correction(full_name="John Doe", day=1, month=1, year=1990)
|
|
211
212
|
|
|
212
213
|
# Core numbers
|
|
213
214
|
client.numerology.core_numbers(
|
|
@@ -360,3 +360,74 @@ class KundliApi:
|
|
|
360
360
|
def rudraksha_suggestion(self, **kw: Any) -> Dict[str, Any]:
|
|
361
361
|
"""Rudraksh Suggestion."""
|
|
362
362
|
return self._post_birth("/indian-api/v1/rudraksha-suggestion", **kw)
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
def varshphal_varsha_pravesh(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
366
|
+
"""Varshphal Varsha Pravesh for the given year."""
|
|
367
|
+
kw["varshphal_year"] = varshphal_year
|
|
368
|
+
return self._post_birth("/indian-api/v1/varshphal/varsha-pravesh", **kw)
|
|
369
|
+
|
|
370
|
+
def varshphal_basic_astro_details(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
371
|
+
"""Varshphal Basic Astro Details for the given year."""
|
|
372
|
+
kw["varshphal_year"] = varshphal_year
|
|
373
|
+
return self._post_birth("/indian-api/v1/varshphal/basic-astro-details", **kw)
|
|
374
|
+
|
|
375
|
+
def varshphal_planetary_positions(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
376
|
+
"""Varshphal Planetary Positions for the given year."""
|
|
377
|
+
kw["varshphal_year"] = varshphal_year
|
|
378
|
+
return self._post_birth("/indian-api/v1/varshphal/planetary-positions", **kw)
|
|
379
|
+
|
|
380
|
+
def varshphal_horoscope_chart(self, varshphal_year: int, chart_id: str = "D1", **kw: Any) -> Dict[str, Any]:
|
|
381
|
+
"""Varshphal Horoscope Chart (D1..D60) for the given year."""
|
|
382
|
+
kw["varshphal_year"] = varshphal_year
|
|
383
|
+
return self._post_birth(f"/indian-api/v1/varshphal/horoscope-chart/{chart_id}", **kw)
|
|
384
|
+
|
|
385
|
+
def varshphal_tajika_aspect(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
386
|
+
"""Varshphal Tajika Aspect for the given year."""
|
|
387
|
+
kw["varshphal_year"] = varshphal_year
|
|
388
|
+
return self._post_birth("/indian-api/v1/varshphal/tajika-aspect", **kw)
|
|
389
|
+
|
|
390
|
+
def varshphal_muntha(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
391
|
+
"""Varshphal Muntha for the given year."""
|
|
392
|
+
kw["varshphal_year"] = varshphal_year
|
|
393
|
+
return self._post_birth("/indian-api/v1/varshphal/muntha", **kw)
|
|
394
|
+
|
|
395
|
+
def varshphal_panchadhikari(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
396
|
+
"""Varshphal Panchadhikari for the given year."""
|
|
397
|
+
kw["varshphal_year"] = varshphal_year
|
|
398
|
+
return self._post_birth("/indian-api/v1/varshphal/panchadhikari", **kw)
|
|
399
|
+
|
|
400
|
+
def varshphal_tri_pataki_chakra(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
401
|
+
"""Varshphal Tri Pataki Chakra for the given year."""
|
|
402
|
+
kw["varshphal_year"] = varshphal_year
|
|
403
|
+
return self._post_birth("/indian-api/v1/varshphal/tri-pataki-chakra", **kw)
|
|
404
|
+
|
|
405
|
+
def varshphal_mudda_dasha(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
406
|
+
"""Varshphal Mudda Dasha for the given year."""
|
|
407
|
+
kw["varshphal_year"] = varshphal_year
|
|
408
|
+
return self._post_birth("/indian-api/v1/varshphal/mudda-dasha", **kw)
|
|
409
|
+
|
|
410
|
+
def varshphal_yogini_dasha(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
411
|
+
"""Varshphal Yogini Dasha for the given year."""
|
|
412
|
+
kw["varshphal_year"] = varshphal_year
|
|
413
|
+
return self._post_birth("/indian-api/v1/varshphal/yogini-dasha", **kw)
|
|
414
|
+
|
|
415
|
+
def varshphal_patyanini_dasha(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
416
|
+
"""Varshphal Patyanini Dasha for the given year."""
|
|
417
|
+
kw["varshphal_year"] = varshphal_year
|
|
418
|
+
return self._post_birth("/indian-api/v1/varshphal/patyanini-dasha", **kw)
|
|
419
|
+
|
|
420
|
+
def varshphal_planetary_strengths(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
421
|
+
"""Varshphal Planetary Strengths for the given year."""
|
|
422
|
+
kw["varshphal_year"] = varshphal_year
|
|
423
|
+
return self._post_birth("/indian-api/v1/varshphal/planetary-strengths", **kw)
|
|
424
|
+
|
|
425
|
+
def varshphal_sahams(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
426
|
+
"""Varshphal Sahams for the given year."""
|
|
427
|
+
kw["varshphal_year"] = varshphal_year
|
|
428
|
+
return self._post_birth("/indian-api/v1/varshphal/sahams", **kw)
|
|
429
|
+
|
|
430
|
+
def varshphal_yogas(self, varshphal_year: int, **kw: Any) -> Dict[str, Any]:
|
|
431
|
+
"""Varshphal Yogas for the given year."""
|
|
432
|
+
kw["varshphal_year"] = varshphal_year
|
|
433
|
+
return self._post_birth("/indian-api/v1/varshphal/yogas", **kw)
|
|
@@ -75,6 +75,22 @@ class NumerologyApi:
|
|
|
75
75
|
"""Name Number."""
|
|
76
76
|
return self._c.post("astroapi-7", "/numerology/v1/name-number", self._name_dob(**kw))
|
|
77
77
|
|
|
78
|
+
def name_correction(
|
|
79
|
+
self, full_name: str,
|
|
80
|
+
day: int, month: int, year: int,
|
|
81
|
+
lan: str = "en",
|
|
82
|
+
) -> Dict[str, Any]:
|
|
83
|
+
"""Name Correction: suggest better-aligned spellings of a full name.
|
|
84
|
+
|
|
85
|
+
Note: this endpoint takes a single ``full_name`` (not fname/lname
|
|
86
|
+
like its numerology siblings).
|
|
87
|
+
"""
|
|
88
|
+
return self._c.post("astroapi-7", "/numerology/v1/name-correction", {
|
|
89
|
+
"full_name": full_name,
|
|
90
|
+
"day": day, "month": month, "year": year,
|
|
91
|
+
"lan": lan,
|
|
92
|
+
})
|
|
93
|
+
|
|
78
94
|
def birthday_number(self, **kw: Any) -> Dict[str, Any]:
|
|
79
95
|
"""Birthday Number."""
|
|
80
96
|
return self._c.post("astroapi-7", "/numerology/v1/birthday-number", self._name_dob(**kw))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: divineapi
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.1
|
|
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
|
|
@@ -236,6 +236,7 @@ client.western.transit.planet_retrograde(
|
|
|
236
236
|
# Chaldean numerology
|
|
237
237
|
client.numerology.loshu_grid(fname="John", lname="Doe", day=1, month=1, year=1990)
|
|
238
238
|
client.numerology.name_number(fname="John", lname="Doe", day=1, month=1, year=1990)
|
|
239
|
+
client.numerology.name_correction(full_name="John Doe", day=1, month=1, year=1990)
|
|
239
240
|
|
|
240
241
|
# Core numbers
|
|
241
242
|
client.numerology.core_numbers(
|
|
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
|