Skip to main content

Official Python SDK for the Asterwise Vedic Astrology API

Project description

asterwise

Official Python SDK for the Asterwise Vedic Astrology API.

pip install asterwise

Authentication

Get a free API key at asterwise.com. Pass it when configuring the client:

import asterwise
from asterwise.api.astrology_api import AstrologyApi

configuration = asterwise.Configuration(
    host="https://api.asterwise.com",
    access_token="YOUR_API_KEY",
)

with asterwise.ApiClient(configuration) as client:
    api = AstrologyApi(client)
    result = api.natal_chart(
        asterwise.NatalRequest(
            date="1985-11-12",
            time="06:45",
            location="Mumbai, India",
            ayanamsa="lahiri",
        )
    )
    print(result)

Requirements

Python 3.9+

What's included

Astrology — Natal chart, Dasha (5 levels), Yogas, Doshas, Divisional charts (D1–D60), Ashtakavarga, Shadbala, Gochar, Sade Sati, Dasha-Transit correlation, Matchmaking (Ashtakoota, Dashakoot, Porutham, Thirumana Porutham, Papasamyam), Panchanga, Choghadiya, Hora, Rahu Kaal, Muhurta, Varshaphal, Prashna, Remedies, Gemstones, KP System, Lal Kitab, Atmakaraka, Ishta Devata, Nakshatra — 38 endpoints

Numerology — Profile, Compatibility, Life Path, Personal Year, Lucky Numbers, Number Meaning, Name Correction, Business Name, Chaldean, Lo Shu, Mobile Number, Vehicle Number — 14 endpoints

Horoscope — Daily, Weekly, Monthly, Yearly × 12 Moon signs — 4 endpoints

Utilities — Geocode (city → coordinates), Timezone lookup — 2 endpoints

PDF Reports — Kundli, Dasha, Matchmaking, Varshaphal, Download — 5 endpoints

Documentation

Full API reference: docs.asterwise.com

Support

support@asterwise.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asterwise-0.1.0.tar.gz (120.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asterwise-0.1.0-py3-none-any.whl (299.7 kB view details)

Uploaded Python 3

File details

Details for the file asterwise-0.1.0.tar.gz.

File metadata

  • Download URL: asterwise-0.1.0.tar.gz
  • Upload date:
  • Size: 120.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for asterwise-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b1bff071c7b7f9e6dd35e7de2a2d5f2eb235fc4522bb4c8e02af4a9864018cae
MD5 f64d7a2c89afe57e31b6f56f8aff1fd4
BLAKE2b-256 a9d6e21a42cfa66bcfb452ab320bd5033072f55ca2d59e6a311ce52bdd3fc6a0

See more details on using hashes here.

File details

Details for the file asterwise-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: asterwise-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 299.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for asterwise-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4fef7228164f91c56e5fa6f3283557b0f9f473e53da2714ef3e12bcb6b60da5
MD5 db9f76e25f23e1c15015077d8be77a0a
BLAKE2b-256 1fbdb330342c1d51e37793c953576d83511c7428d40aa453ec64b3bed621674a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page