kaaljyoti 0.1.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.
- kaaljyoti-0.1.0/.gitignore +43 -0
- kaaljyoti-0.1.0/CHANGELOG.md +16 -0
- kaaljyoti-0.1.0/LICENSE +21 -0
- kaaljyoti-0.1.0/PKG-INFO +868 -0
- kaaljyoti-0.1.0/README.md +841 -0
- kaaljyoti-0.1.0/examples/quickstart.py +142 -0
- kaaljyoti-0.1.0/package.json +11 -0
- kaaljyoti-0.1.0/pyproject.toml +54 -0
- kaaljyoti-0.1.0/src/kaaljyoti/__init__.py +63 -0
- kaaljyoti-0.1.0/src/kaaljyoti/client.py +876 -0
- kaaljyoti-0.1.0/src/kaaljyoti/errors.py +133 -0
- kaaljyoti-0.1.0/src/kaaljyoti/generated/__init__.py +566 -0
- kaaljyoti-0.1.0/src/kaaljyoti/generated/_json.py +111 -0
- kaaljyoti-0.1.0/src/kaaljyoti/generated/labelled_id.py +54 -0
- kaaljyoti-0.1.0/src/kaaljyoti/generated/models.py +11573 -0
- kaaljyoti-0.1.0/src/kaaljyoti/generated/operations.py +494 -0
- kaaljyoti-0.1.0/src/kaaljyoti/generated/version.py +20 -0
- kaaljyoti-0.1.0/src/kaaljyoti/http.py +254 -0
- kaaljyoti-0.1.0/src/kaaljyoti/py.typed +0 -0
- kaaljyoti-0.1.0/src/kaaljyoti/result.py +89 -0
- kaaljyoti-0.1.0/src/kaaljyoti/transport.py +536 -0
- kaaljyoti-0.1.0/src/kaaljyoti/wallclock.py +157 -0
- kaaljyoti-0.1.0/tests/fixtures/chart.json +25 -0
- kaaljyoti-0.1.0/tests/fixtures/error.json +9 -0
- kaaljyoti-0.1.0/tests/fixtures/horoscope.json +336 -0
- kaaljyoti-0.1.0/tests/fixtures/kundli.json +363 -0
- kaaljyoti-0.1.0/tests/fixtures/muhurta.json +330 -0
- kaaljyoti-0.1.0/tests/fixtures/panchang.json +177 -0
- kaaljyoti-0.1.0/tests/fixtures/reading-grahas.json +305 -0
- kaaljyoti-0.1.0/tests/fixtures/reading-house-lords.json +338 -0
- kaaljyoti-0.1.0/tests/fixtures/reading-kundli.json +3812 -0
- kaaljyoti-0.1.0/tests/fixtures/reading-lagna.json +40 -0
- kaaljyoti-0.1.0/tests/fixtures/reading-life-areas.json +3439 -0
- kaaljyoti-0.1.0/tests/fixtures/reading-nakshatra.json +34 -0
- kaaljyoti-0.1.0/tests/fixtures/reading-varshphal.json +1490 -0
- kaaljyoti-0.1.0/tests/fixtures/reading-vimshottari.json +2067 -0
- kaaljyoti-0.1.0/tests/fixtures/reading-yogas.json +282 -0
- kaaljyoti-0.1.0/tests/support.py +74 -0
- kaaljyoti-0.1.0/tests/test_client.py +675 -0
- kaaljyoti-0.1.0/tests/test_contract.py +296 -0
- kaaljyoti-0.1.0/tests/test_models.py +351 -0
- kaaljyoti-0.1.0/tests/test_smoke.py +230 -0
- kaaljyoti-0.1.0/tests/test_transport.py +670 -0
- kaaljyoti-0.1.0/tests/test_wallclock.py +118 -0
- kaaljyoti-0.1.0/tool/gen.mjs +1431 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
node_modules/
|
|
2
|
+
dist/
|
|
3
|
+
coverage/
|
|
4
|
+
*.tsbuildinfo
|
|
5
|
+
.DS_Store
|
|
6
|
+
|
|
7
|
+
# Local environment files. The staging publishable key is public by design
|
|
8
|
+
# but lives in the shell that runs the smoke test, not in the repo.
|
|
9
|
+
.env
|
|
10
|
+
.env.local
|
|
11
|
+
.env.*.local
|
|
12
|
+
|
|
13
|
+
# Claude Code launch config on this Mac
|
|
14
|
+
.claude/
|
|
15
|
+
|
|
16
|
+
# Dart build artifacts and the library lockfile (a package does not pin its consumers)
|
|
17
|
+
.dart_tool/
|
|
18
|
+
packages/sdk-dart/pubspec.lock
|
|
19
|
+
packages/sdk-php/vendor/
|
|
20
|
+
packages/sdk-php/composer.lock
|
|
21
|
+
packages/sdk-php/.phpunit.cache/
|
|
22
|
+
packages/sdk-php/.phpunit.result.cache
|
|
23
|
+
|
|
24
|
+
# WordPress plugin: dev vendor tree, build inputs copied in by tool/build.mjs, the zip
|
|
25
|
+
plugins/wordpress/vendor/
|
|
26
|
+
plugins/wordpress/composer.lock
|
|
27
|
+
plugins/wordpress/.phpunit.result.cache
|
|
28
|
+
plugins/wordpress/kaal-jyoti/vendor/
|
|
29
|
+
plugins/wordpress/kaal-jyoti/assets/widgets/
|
|
30
|
+
plugins/wordpress/kaal-jyoti/widgets-src/
|
|
31
|
+
plugins/wordpress/dist/
|
|
32
|
+
|
|
33
|
+
# Python package
|
|
34
|
+
packages/sdk-python/.venv/
|
|
35
|
+
packages/sdk-python/dist/
|
|
36
|
+
packages/sdk-python/**/__pycache__/
|
|
37
|
+
packages/sdk-python/.mypy_cache/
|
|
38
|
+
packages/sdk-python/.ruff_cache/
|
|
39
|
+
packages/sdk-python/.pytest_cache/
|
|
40
|
+
packages/sdk-python/src/*.egg-info/
|
|
41
|
+
|
|
42
|
+
# vitest results cache
|
|
43
|
+
.vitest/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
First release.
|
|
6
|
+
|
|
7
|
+
- One method per endpoint of the Kaal Jyoti API — kundli, panchang, dasha, vargas, KP, Jaimini,
|
|
8
|
+
varshphal, transits, matching, horoscopes, written readings and printable PDFs — with every
|
|
9
|
+
request and response typed from the API's OpenAPI document 0.15.2.
|
|
10
|
+
- What each request cost, in credits (`meta.credits`, `result.credits`), and what is left of the
|
|
11
|
+
month for a secret key (`result.credits_remaining`).
|
|
12
|
+
- Retries a `429` after its `Retry-After`, an engine error and a network failure, and never a
|
|
13
|
+
request the API would refuse again; one error type, `KaaljyotiError`, carrying the API's error
|
|
14
|
+
`code`.
|
|
15
|
+
- Wall-clock times kept as the API sends them: never moved into the caller's time zone.
|
|
16
|
+
- Python 3.10+, no runtime dependencies; an optional `httpx` adapter.
|
kaaljyoti-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 GoAppsters Private Limited
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|