lifeastroapi 0.1.0__tar.gz → 0.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.
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/CHANGELOG.md +16 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/PKG-INFO +4 -4
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/README.md +3 -3
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/pyproject.toml +1 -1
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/scripts/costs.json +2 -1
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/scripts/manifest.json +109 -4
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/scripts/samples.py +1 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/_version.py +1 -1
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/chart.py +22 -12
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/prashna.py +70 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/tests/fixtures/examples.json +465 -380
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/tests/test_manifest.py +4 -2
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/.gitignore +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/LICENSE +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/examples/async_example.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/examples/error_handling.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/examples/quickstart.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/scripts/generate.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/scripts/live_sweep.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/__init__.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/_client.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/_core.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/_http.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/_params.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/errors.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/py.typed +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/__init__.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/ashtakavarga.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/calendar.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/dasha.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/eclipses.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/festivals.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/geo.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/horoscope.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/lalkitab.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/meta.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/milan.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/muhurta.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/narrative.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/numerology.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/panchang.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/planet_moments.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/remedies.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/reports.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/tarot.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/transit.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/varshaphal.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/resources/western.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/src/lifeastroapi/types.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/tests/conftest.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/tests/test_async_client.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/tests/test_client.py +0 -0
- {lifeastroapi-0.1.0 → lifeastroapi-0.2.0}/tests/test_version.py +0 -0
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0 — 2026-11-15
|
|
4
|
+
|
|
5
|
+
- New `prashna.kp_horary(number=..., lat=..., lon=..., tz=..., date=..., time=...)`: the KP horary
|
|
6
|
+
chart for a number from 1 to 249, cast for the moment and place of judgement. Returns the
|
|
7
|
+
horary ascendant (the first degree of that number's part), the 12 Placidus cusps with star, sub
|
|
8
|
+
and sub-sub lords and significators, the planets with KP lords and houses, planet significators,
|
|
9
|
+
the KP 4-step chain and the ruling planets. Uses the Krishnamurti ayanamsa unless `ayanamsa` is
|
|
10
|
+
sent. 30 credits. Same method as the Node.js SDK 0.13.0.
|
|
11
|
+
- `chart.kp_sublord` now also returns the KP ruling planets (`ruling_planets`), and
|
|
12
|
+
`chart.kp_house_significator` returns each cusp's significator planets, the houses every planet
|
|
13
|
+
signifies and the 4-step chain (new fields from the API; nothing removed).
|
|
14
|
+
- `chart.kp_sublord`'s `planet` and `chart.kp_house_significator`'s `cusp` are now optional. The
|
|
15
|
+
API never read them: it always returns every planet and all 12 cusps. Code that passes them
|
|
16
|
+
keeps working.
|
|
17
|
+
- 323 methods (322 endpoints).
|
|
18
|
+
|
|
3
19
|
## 0.1.0 — 2026-11-15
|
|
4
20
|
|
|
5
21
|
First release of the official Python SDK.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: lifeastroapi
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Official Python SDK for LifeAstroAPI: Vedic astrology and Hindu calendar API (panchang, festivals, kundli, dasha, kundli matching, muhurat, horoscopes, numerology, tarot, Western astrology) in 10 languages.
|
|
5
5
|
Project-URL: Homepage, https://lifeastroapi.com
|
|
6
6
|
Project-URL: Documentation, https://lifeastroapi.com/docs/
|
|
@@ -42,7 +42,7 @@ kundli, kundli matching, muhurat, dashas, horoscopes, numerology, tarot and West
|
|
|
42
42
|
location-aware calculations and pay-per-call billing. Free tier: 1,500 credits a month, no card.
|
|
43
43
|
[Get a key](https://lifeastroapi.com/signup/).
|
|
44
44
|
|
|
45
|
-
- **Every endpoint**: all
|
|
45
|
+
- **Every endpoint**: all 322 endpoints (323 methods, with a shortcut for the navamsa chart) across 23 resource groups (panchang, chart, dasha, milan,
|
|
46
46
|
transit, horoscope, numerology, muhurta, reports, narrative, remedies, a complete Western
|
|
47
47
|
module and more). Same methods as the official Node.js SDK, generated from the same manifest.
|
|
48
48
|
- **Sync and async**: `LifeAstro` and `AsyncLifeAstro`, both on [httpx](https://www.python-httpx.org/),
|
|
@@ -270,7 +270,7 @@ chart = client.chart.planets(**arjun, lang="ta")
|
|
|
270
270
|
| Group | What it covers |
|
|
271
271
|
|-------|----------------|
|
|
272
272
|
| `panchang` | tithi, nakshatra, yoga, karana, vara, sunrise/sunset, rahu kaal, choghadiya, hora, muhurtas, monthly calendar, composite `basic` / `advanced` |
|
|
273
|
-
| `chart` | planets, ascendant, houses, divisional (D1-D60), dignity, aspects, shadbala, ashtakvarga, avakhada, KP, astro details; data bundles `kundli_facts`, `yogas`, `doshas`, birth-time `sensitivity` |
|
|
273
|
+
| `chart` | planets, ascendant, houses, divisional (D1-D60), dignity, aspects, shadbala, ashtakvarga, avakhada, KP (sub lords, ruling planets, significators, 4-step chain), astro details; data bundles `kundli_facts`, `yogas`, `doshas`, birth-time `sensitivity` |
|
|
274
274
|
| `dasha` | Vimshottari (full, current, 5-level drill-down), Yogini and Chara dashas |
|
|
275
275
|
| `milan` | Ashtakoota (total, full, per koota), mangal / nadi / shani dosha, navamsa and dasha compatibility, `overlay`, `summary` |
|
|
276
276
|
| `transit` | positions, sade sati, ashtakavarga, tarabala, vedha, double transit, small panoti, `sade_sati_windows`, `windows` |
|
|
@@ -278,7 +278,7 @@ chart = client.chart.planets(**arjun, lang="ta")
|
|
|
278
278
|
| `numerology` | driver, conductor, soul, personality, destiny, full, advanced, challenges, personal periods |
|
|
279
279
|
| `muhurta` | vivah, naamkaran, griha pravesh, vyapar, yatra, best time, chandra / tara bala |
|
|
280
280
|
| `varshaphal` | annual chart, lord, muntha, mudda dasha, harsha bala, tajika yogas |
|
|
281
|
-
| `prashna` | horary answer, chart, arudha, significators |
|
|
281
|
+
| `prashna` | horary answer, chart, arudha, significators, KP horary (1-249) |
|
|
282
282
|
| `eclipses` | solar, lunar, all (date range, local contacts and sutak) |
|
|
283
283
|
| `calendar` | Hindu month, ritu, samvatsara, adhik maas, solstices |
|
|
284
284
|
| `festivals` | Hindu festivals by month, on a date, or by vrat family; `lang`, `month_system` (amanta / purnimanta) |
|
|
@@ -6,7 +6,7 @@ kundli, kundli matching, muhurat, dashas, horoscopes, numerology, tarot and West
|
|
|
6
6
|
location-aware calculations and pay-per-call billing. Free tier: 1,500 credits a month, no card.
|
|
7
7
|
[Get a key](https://lifeastroapi.com/signup/).
|
|
8
8
|
|
|
9
|
-
- **Every endpoint**: all
|
|
9
|
+
- **Every endpoint**: all 322 endpoints (323 methods, with a shortcut for the navamsa chart) across 23 resource groups (panchang, chart, dasha, milan,
|
|
10
10
|
transit, horoscope, numerology, muhurta, reports, narrative, remedies, a complete Western
|
|
11
11
|
module and more). Same methods as the official Node.js SDK, generated from the same manifest.
|
|
12
12
|
- **Sync and async**: `LifeAstro` and `AsyncLifeAstro`, both on [httpx](https://www.python-httpx.org/),
|
|
@@ -234,7 +234,7 @@ chart = client.chart.planets(**arjun, lang="ta")
|
|
|
234
234
|
| Group | What it covers |
|
|
235
235
|
|-------|----------------|
|
|
236
236
|
| `panchang` | tithi, nakshatra, yoga, karana, vara, sunrise/sunset, rahu kaal, choghadiya, hora, muhurtas, monthly calendar, composite `basic` / `advanced` |
|
|
237
|
-
| `chart` | planets, ascendant, houses, divisional (D1-D60), dignity, aspects, shadbala, ashtakvarga, avakhada, KP, astro details; data bundles `kundli_facts`, `yogas`, `doshas`, birth-time `sensitivity` |
|
|
237
|
+
| `chart` | planets, ascendant, houses, divisional (D1-D60), dignity, aspects, shadbala, ashtakvarga, avakhada, KP (sub lords, ruling planets, significators, 4-step chain), astro details; data bundles `kundli_facts`, `yogas`, `doshas`, birth-time `sensitivity` |
|
|
238
238
|
| `dasha` | Vimshottari (full, current, 5-level drill-down), Yogini and Chara dashas |
|
|
239
239
|
| `milan` | Ashtakoota (total, full, per koota), mangal / nadi / shani dosha, navamsa and dasha compatibility, `overlay`, `summary` |
|
|
240
240
|
| `transit` | positions, sade sati, ashtakavarga, tarabala, vedha, double transit, small panoti, `sade_sati_windows`, `windows` |
|
|
@@ -242,7 +242,7 @@ chart = client.chart.planets(**arjun, lang="ta")
|
|
|
242
242
|
| `numerology` | driver, conductor, soul, personality, destiny, full, advanced, challenges, personal periods |
|
|
243
243
|
| `muhurta` | vivah, naamkaran, griha pravesh, vyapar, yatra, best time, chandra / tara bala |
|
|
244
244
|
| `varshaphal` | annual chart, lord, muntha, mudda dasha, harsha bala, tajika yogas |
|
|
245
|
-
| `prashna` | horary answer, chart, arudha, significators |
|
|
245
|
+
| `prashna` | horary answer, chart, arudha, significators, KP horary (1-249) |
|
|
246
246
|
| `eclipses` | solar, lunar, all (date range, local contacts and sutak) |
|
|
247
247
|
| `calendar` | Hindu month, ritu, samvatsara, adhik maas, solstices |
|
|
248
248
|
| `festivals` | Hindu festivals by month, on a date, or by vrat family; `lang`, `month_system` (amanta / purnimanta) |
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "lifeastroapi"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.2.0"
|
|
8
8
|
description = "Official Python SDK for LifeAstroAPI: Vedic astrology and Hindu calendar API (panchang, festivals, kundli, dasha, kundli matching, muhurat, horoscopes, numerology, tarot, Western astrology) in 10 languages."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -323,6 +323,7 @@
|
|
|
323
323
|
"/v1/western/transits/positions": 10,
|
|
324
324
|
"/v1/western/transits/to-natal": 20,
|
|
325
325
|
"/v1/western/zodiacal-releasing/fortune": 30,
|
|
326
|
-
"/v1/western/zodiacal-releasing/spirit": 30
|
|
326
|
+
"/v1/western/zodiacal-releasing/spirit": 30,
|
|
327
|
+
"/v1/prashna/kp-horary": 30
|
|
327
328
|
}
|
|
328
329
|
}
|
|
@@ -2255,7 +2255,7 @@
|
|
|
2255
2255
|
{
|
|
2256
2256
|
"wire": "cusp",
|
|
2257
2257
|
"type": "integer",
|
|
2258
|
-
"required":
|
|
2258
|
+
"required": false,
|
|
2259
2259
|
"field": "cusp"
|
|
2260
2260
|
},
|
|
2261
2261
|
{
|
|
@@ -2340,7 +2340,7 @@
|
|
|
2340
2340
|
"name": "cusp",
|
|
2341
2341
|
"node": "cusp",
|
|
2342
2342
|
"type": "int",
|
|
2343
|
-
"required":
|
|
2343
|
+
"required": false,
|
|
2344
2344
|
"kind": "scalar",
|
|
2345
2345
|
"wires": [
|
|
2346
2346
|
"cusp"
|
|
@@ -2370,7 +2370,7 @@
|
|
|
2370
2370
|
{
|
|
2371
2371
|
"wire": "planet",
|
|
2372
2372
|
"type": "string",
|
|
2373
|
-
"required":
|
|
2373
|
+
"required": false,
|
|
2374
2374
|
"field": "planet"
|
|
2375
2375
|
},
|
|
2376
2376
|
{
|
|
@@ -2455,7 +2455,7 @@
|
|
|
2455
2455
|
"name": "planet",
|
|
2456
2456
|
"node": "planet",
|
|
2457
2457
|
"type": "str",
|
|
2458
|
-
"required":
|
|
2458
|
+
"required": false,
|
|
2459
2459
|
"kind": "scalar",
|
|
2460
2460
|
"wires": [
|
|
2461
2461
|
"planet"
|
|
@@ -16529,6 +16529,111 @@
|
|
|
16529
16529
|
}
|
|
16530
16530
|
]
|
|
16531
16531
|
},
|
|
16532
|
+
{
|
|
16533
|
+
"key": "prashna.kpHorary",
|
|
16534
|
+
"py": "prashna.kp_horary",
|
|
16535
|
+
"path": "/v1/prashna/kp-horary",
|
|
16536
|
+
"shape": "moment",
|
|
16537
|
+
"cost": 30,
|
|
16538
|
+
"pathParams": [],
|
|
16539
|
+
"extras": [
|
|
16540
|
+
{
|
|
16541
|
+
"wire": "number",
|
|
16542
|
+
"type": "integer",
|
|
16543
|
+
"required": true,
|
|
16544
|
+
"field": "number"
|
|
16545
|
+
},
|
|
16546
|
+
{
|
|
16547
|
+
"wire": "lang",
|
|
16548
|
+
"type": "locale",
|
|
16549
|
+
"required": false,
|
|
16550
|
+
"field": "lang"
|
|
16551
|
+
}
|
|
16552
|
+
],
|
|
16553
|
+
"params": [
|
|
16554
|
+
{
|
|
16555
|
+
"name": "lat",
|
|
16556
|
+
"node": "lat",
|
|
16557
|
+
"type": "float",
|
|
16558
|
+
"required": true,
|
|
16559
|
+
"kind": "scalar",
|
|
16560
|
+
"wires": [
|
|
16561
|
+
"lat"
|
|
16562
|
+
]
|
|
16563
|
+
},
|
|
16564
|
+
{
|
|
16565
|
+
"name": "lon",
|
|
16566
|
+
"node": "lon",
|
|
16567
|
+
"type": "float",
|
|
16568
|
+
"required": true,
|
|
16569
|
+
"kind": "scalar",
|
|
16570
|
+
"wires": [
|
|
16571
|
+
"lon"
|
|
16572
|
+
]
|
|
16573
|
+
},
|
|
16574
|
+
{
|
|
16575
|
+
"name": "tz",
|
|
16576
|
+
"node": "tz",
|
|
16577
|
+
"type": "str",
|
|
16578
|
+
"required": true,
|
|
16579
|
+
"kind": "scalar",
|
|
16580
|
+
"wires": [
|
|
16581
|
+
"tz"
|
|
16582
|
+
]
|
|
16583
|
+
},
|
|
16584
|
+
{
|
|
16585
|
+
"name": "date",
|
|
16586
|
+
"node": "date",
|
|
16587
|
+
"type": "str",
|
|
16588
|
+
"required": false,
|
|
16589
|
+
"kind": "scalar",
|
|
16590
|
+
"wires": [
|
|
16591
|
+
"date"
|
|
16592
|
+
]
|
|
16593
|
+
},
|
|
16594
|
+
{
|
|
16595
|
+
"name": "time",
|
|
16596
|
+
"node": "time",
|
|
16597
|
+
"type": "str",
|
|
16598
|
+
"required": false,
|
|
16599
|
+
"kind": "scalar",
|
|
16600
|
+
"wires": [
|
|
16601
|
+
"time"
|
|
16602
|
+
]
|
|
16603
|
+
},
|
|
16604
|
+
{
|
|
16605
|
+
"name": "ayanamsa",
|
|
16606
|
+
"node": "ayanamsa",
|
|
16607
|
+
"type": "Ayanamsa",
|
|
16608
|
+
"required": false,
|
|
16609
|
+
"kind": "scalar",
|
|
16610
|
+
"wires": [
|
|
16611
|
+
"ayanamsa"
|
|
16612
|
+
]
|
|
16613
|
+
},
|
|
16614
|
+
{
|
|
16615
|
+
"name": "number",
|
|
16616
|
+
"node": "number",
|
|
16617
|
+
"type": "int",
|
|
16618
|
+
"required": true,
|
|
16619
|
+
"kind": "scalar",
|
|
16620
|
+
"wires": [
|
|
16621
|
+
"number"
|
|
16622
|
+
]
|
|
16623
|
+
},
|
|
16624
|
+
{
|
|
16625
|
+
"name": "lang",
|
|
16626
|
+
"node": "lang",
|
|
16627
|
+
"type": "Locale",
|
|
16628
|
+
"required": false,
|
|
16629
|
+
"kind": "scalar",
|
|
16630
|
+
"wires": [
|
|
16631
|
+
"lang",
|
|
16632
|
+
"locale"
|
|
16633
|
+
]
|
|
16634
|
+
}
|
|
16635
|
+
]
|
|
16636
|
+
},
|
|
16532
16637
|
{
|
|
16533
16638
|
"key": "prashna.lagnaLord",
|
|
16534
16639
|
"py": "prashna.lagna_lord",
|
|
@@ -515,14 +515,16 @@ class Chart:
|
|
|
515
515
|
date: str,
|
|
516
516
|
time: str,
|
|
517
517
|
tz: str,
|
|
518
|
-
cusp: int,
|
|
519
518
|
ayanamsa: Ayanamsa | None = None,
|
|
520
519
|
house_system: HouseSystem | None = None,
|
|
520
|
+
cusp: int | None = None,
|
|
521
521
|
lang: Locale | None = None,
|
|
522
522
|
request_options: RequestOptions | None = None,
|
|
523
523
|
) -> Any:
|
|
524
|
-
"""
|
|
525
|
-
|
|
524
|
+
"""KP house significators for all 12 Placidus cusps (20 credits): each cusp's star, sub and
|
|
525
|
+
sub-sub lords and its significator planets (four KP levels), the houses every planet
|
|
526
|
+
signifies, and the KP 4-step chain. Pass ayanamsa krishnamurti for KP work. `cusp` is
|
|
527
|
+
accepted for compatibility and ignored: all 12 cusps are returned.
|
|
526
528
|
|
|
527
529
|
Cost: 20 credits per call.
|
|
528
530
|
|
|
@@ -551,14 +553,17 @@ class Chart:
|
|
|
551
553
|
date: str,
|
|
552
554
|
time: str,
|
|
553
555
|
tz: str,
|
|
554
|
-
planet: str,
|
|
555
556
|
ayanamsa: Ayanamsa | None = None,
|
|
556
557
|
house_system: HouseSystem | None = None,
|
|
558
|
+
planet: str | None = None,
|
|
557
559
|
lang: Locale | None = None,
|
|
558
560
|
request_options: RequestOptions | None = None,
|
|
559
561
|
) -> Any:
|
|
560
|
-
"""
|
|
561
|
-
|
|
562
|
+
"""KP star, sub and sub-sub lords of every planet (10 credits), and the KP ruling planets
|
|
563
|
+
for the moment and place (day lord, and the star, sign and sub lords of the ascendant and
|
|
564
|
+
the Moon); send the moment of judgement for horary or timing. Pass ayanamsa krishnamurti
|
|
565
|
+
for KP work. `planet` is accepted for compatibility and ignored: all planets are
|
|
566
|
+
returned.
|
|
562
567
|
|
|
563
568
|
Cost: 10 credits per call.
|
|
564
569
|
|
|
@@ -1400,14 +1405,16 @@ class AsyncChart:
|
|
|
1400
1405
|
date: str,
|
|
1401
1406
|
time: str,
|
|
1402
1407
|
tz: str,
|
|
1403
|
-
cusp: int,
|
|
1404
1408
|
ayanamsa: Ayanamsa | None = None,
|
|
1405
1409
|
house_system: HouseSystem | None = None,
|
|
1410
|
+
cusp: int | None = None,
|
|
1406
1411
|
lang: Locale | None = None,
|
|
1407
1412
|
request_options: RequestOptions | None = None,
|
|
1408
1413
|
) -> Any:
|
|
1409
|
-
"""
|
|
1410
|
-
|
|
1414
|
+
"""KP house significators for all 12 Placidus cusps (20 credits): each cusp's star, sub and
|
|
1415
|
+
sub-sub lords and its significator planets (four KP levels), the houses every planet
|
|
1416
|
+
signifies, and the KP 4-step chain. Pass ayanamsa krishnamurti for KP work. `cusp` is
|
|
1417
|
+
accepted for compatibility and ignored: all 12 cusps are returned.
|
|
1411
1418
|
|
|
1412
1419
|
Cost: 20 credits per call.
|
|
1413
1420
|
|
|
@@ -1436,14 +1443,17 @@ class AsyncChart:
|
|
|
1436
1443
|
date: str,
|
|
1437
1444
|
time: str,
|
|
1438
1445
|
tz: str,
|
|
1439
|
-
planet: str,
|
|
1440
1446
|
ayanamsa: Ayanamsa | None = None,
|
|
1441
1447
|
house_system: HouseSystem | None = None,
|
|
1448
|
+
planet: str | None = None,
|
|
1442
1449
|
lang: Locale | None = None,
|
|
1443
1450
|
request_options: RequestOptions | None = None,
|
|
1444
1451
|
) -> Any:
|
|
1445
|
-
"""
|
|
1446
|
-
|
|
1452
|
+
"""KP star, sub and sub-sub lords of every planet (10 credits), and the KP ruling planets
|
|
1453
|
+
for the moment and place (day lord, and the star, sign and sub lords of the ascendant and
|
|
1454
|
+
the Moon); send the moment of judgement for horary or timing. Pass ayanamsa krishnamurti
|
|
1455
|
+
for KP work. `planet` is accepted for compatibility and ignored: all planets are
|
|
1456
|
+
returned.
|
|
1447
1457
|
|
|
1448
1458
|
Cost: 10 credits per call.
|
|
1449
1459
|
|
|
@@ -108,6 +108,41 @@ class Prashna:
|
|
|
108
108
|
put(_q, "locale", lang)
|
|
109
109
|
return self._c.request("/v1/prashna/chart", _q, request_options=request_options)
|
|
110
110
|
|
|
111
|
+
def kp_horary(
|
|
112
|
+
self,
|
|
113
|
+
*,
|
|
114
|
+
lat: float,
|
|
115
|
+
lon: float,
|
|
116
|
+
tz: str,
|
|
117
|
+
number: int,
|
|
118
|
+
date: str | None = None,
|
|
119
|
+
time: str | None = None,
|
|
120
|
+
ayanamsa: Ayanamsa | None = None,
|
|
121
|
+
lang: Locale | None = None,
|
|
122
|
+
request_options: RequestOptions | None = None,
|
|
123
|
+
) -> Any:
|
|
124
|
+
"""KP horary chart for a number from 1 to 249 (30 credits), cast for the moment and place of
|
|
125
|
+
judgement: the horary ascendant (the first degree of that number's sign/star/sub part),
|
|
126
|
+
the 12 Placidus cusps with star, sub and sub-sub lords and significators, planets with KP
|
|
127
|
+
lords and houses, planet significators, the 4-step chain and the ruling planets of the
|
|
128
|
+
moment. Uses the Krishnamurti ayanamsa unless ayanamsa is sent.
|
|
129
|
+
|
|
130
|
+
Cost: 30 credits per call.
|
|
131
|
+
|
|
132
|
+
``GET /v1/prashna/kp-horary``
|
|
133
|
+
"""
|
|
134
|
+
_q: QueryParams = {}
|
|
135
|
+
put(_q, "lat", lat)
|
|
136
|
+
put(_q, "lon", lon)
|
|
137
|
+
put(_q, "tz", tz)
|
|
138
|
+
put(_q, "date", date if date is not None else today_in(tz))
|
|
139
|
+
put(_q, "time", time)
|
|
140
|
+
put(_q, "ayanamsa", ayanamsa)
|
|
141
|
+
put(_q, "number", number)
|
|
142
|
+
put(_q, "lang", lang)
|
|
143
|
+
put(_q, "locale", lang)
|
|
144
|
+
return self._c.request("/v1/prashna/kp-horary", _q, request_options=request_options)
|
|
145
|
+
|
|
111
146
|
def lagna_lord(
|
|
112
147
|
self,
|
|
113
148
|
*,
|
|
@@ -270,6 +305,41 @@ class AsyncPrashna:
|
|
|
270
305
|
put(_q, "locale", lang)
|
|
271
306
|
return await self._c.request("/v1/prashna/chart", _q, request_options=request_options)
|
|
272
307
|
|
|
308
|
+
async def kp_horary(
|
|
309
|
+
self,
|
|
310
|
+
*,
|
|
311
|
+
lat: float,
|
|
312
|
+
lon: float,
|
|
313
|
+
tz: str,
|
|
314
|
+
number: int,
|
|
315
|
+
date: str | None = None,
|
|
316
|
+
time: str | None = None,
|
|
317
|
+
ayanamsa: Ayanamsa | None = None,
|
|
318
|
+
lang: Locale | None = None,
|
|
319
|
+
request_options: RequestOptions | None = None,
|
|
320
|
+
) -> Any:
|
|
321
|
+
"""KP horary chart for a number from 1 to 249 (30 credits), cast for the moment and place of
|
|
322
|
+
judgement: the horary ascendant (the first degree of that number's sign/star/sub part),
|
|
323
|
+
the 12 Placidus cusps with star, sub and sub-sub lords and significators, planets with KP
|
|
324
|
+
lords and houses, planet significators, the 4-step chain and the ruling planets of the
|
|
325
|
+
moment. Uses the Krishnamurti ayanamsa unless ayanamsa is sent.
|
|
326
|
+
|
|
327
|
+
Cost: 30 credits per call.
|
|
328
|
+
|
|
329
|
+
``GET /v1/prashna/kp-horary``
|
|
330
|
+
"""
|
|
331
|
+
_q: QueryParams = {}
|
|
332
|
+
put(_q, "lat", lat)
|
|
333
|
+
put(_q, "lon", lon)
|
|
334
|
+
put(_q, "tz", tz)
|
|
335
|
+
put(_q, "date", date if date is not None else today_in(tz))
|
|
336
|
+
put(_q, "time", time)
|
|
337
|
+
put(_q, "ayanamsa", ayanamsa)
|
|
338
|
+
put(_q, "number", number)
|
|
339
|
+
put(_q, "lang", lang)
|
|
340
|
+
put(_q, "locale", lang)
|
|
341
|
+
return await self._c.request("/v1/prashna/kp-horary", _q, request_options=request_options)
|
|
342
|
+
|
|
273
343
|
async def lagna_lord(
|
|
274
344
|
self,
|
|
275
345
|
*,
|