Metadata-Version: 2.4
Name: asterwise
Version: 0.1.0
Summary: Official Python SDK for the Asterwise Vedic Astrology API
Author-email: Asterwise <support@asterwise.com>
License: Commercial
Project-URL: Homepage, https://asterwise.com
Project-URL: Documentation, https://docs.asterwise.com
Project-URL: Repository, https://github.com/asterwise/asterwise-python
Project-URL: Bug Tracker, https://github.com/asterwise/asterwise-python/issues
Keywords: vedic astrology,jyotish,astrology api,kundli,horoscope,numerology,dasha,panchanga,matchmaking
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Astronomy
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: urllib3<3.0.0,>=2.1.0
Requires-Dist: python-dateutil>=2.8.2
Requires-Dist: pydantic>=2.11
Requires-Dist: typing-extensions>=4.7.1

# asterwise

Official Python SDK for the [Asterwise Vedic Astrology API](https://asterwise.com).

```bash
pip install asterwise
```

## Authentication

Get a free API key at [asterwise.com](https://asterwise.com). 
Pass it when configuring the client:

```python
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](https://docs.asterwise.com)

## Support

support@asterwise.com

