Metadata-Version: 2.4
Name: tuffys-astrology
Version: 0.1.0
Summary: Python client for Tuffy's Astrology API
Author: Tuffy's Astrology
License: MIT
Project-URL: Homepage, https://tuffys-ai-astrology.vercel.app
Project-URL: Documentation, https://tuffys-ai-astrology.vercel.app/docs
Keywords: astrology,vedic,jyotish,ephemeris
Classifier: Development Status :: 3 - Alpha
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: License :: OSI Approved :: MIT License
Classifier: Topic :: Scientific/Engineering :: Astronomy
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Tuffy's Astrology — Python SDK

Zero-dependency Python client for the Tuffy's Astrology API.

## Install (local, for now)

```bash
pip install -e sdk/python
```

## Usage

```python
from tuffys_astrology import TuffysAstrology

client = TuffysAstrology(
    base_url="https://your-host.example.com",
    api_key="optional-key",
)

chart = client.natal_chart(
    datetime="1990-06-15T12:00:00Z",
    latitude=51.5,
    longitude=0,
)

vedic = client.vedic_chart(
    datetime="1990-06-15T12:00:00Z",
    latitude=51.5,
    longitude=0,
    ayanamsa="lahiri",
)

# Ashtakavarga, shadbala, transits, synastry, eclipses, muhurta, etc.
ashtaka = client.ashtakavarga(
    datetime="1990-06-15T12:00:00Z",
    latitude=51.5,
    longitude=0,
)
```

## Errors

HTTP errors surface as `TuffysAstrologyError` with `.status`, `.code`, `.message`, `.details`.

## Requires

Python 3.9+. No external dependencies (uses stdlib `urllib`).
