semvec/pypi-packages huggingface dataset:
vedika-sdk 1.1.0
Official Python SDK for Vedika Astrology API - AI-powered astrology with predictions
Requires Python: >=3.8
Keywords: vedika, astrology, api, sdk, horoscope, kundali, vedic, predictions, rashifal, panchang

# vedika-sdk

Official Python SDK for [Vedika Astrology API](https://vedika.io) - AI-powered astrology with predictions.

## Installation

```bash
pip install vedika-sdk
```

## Quick Start

```python
from vedika_sdk import VedikaClient

# Initialize with your API key
client = VedikaClient(api_key="your_api_key")

# Or use free sandbox mode
client = VedikaClient(sandbox=True)

# Ask astrology questions
response = client.ask(
    "What is my moon sign?",
    birth_details={
        "datetime": "1990-05-15T10:30:00+05:30",
        "latitude": 28.6139,
        "longitude": 77.2090
    }
)
print(response)
```

## Predictions (NEW in v1.1.0)

```python
# Daily prediction by rashi (moon sign)
daily = client.predict_daily(rashi="Aries")

# Weekly prediction
weekly = client.predict_weekly(rashi="Taurus")

# Monthly prediction
monthly = client.predict_monthly(rashi="Gemini")

# Quarterly (3-month) prediction
quarterly = client.predict_quarterly(rashi="Leo")

# Yearly prediction
yearly = client.predict_yearly(rashi="Scorpio")

# Or use birth details instead of rashi
prediction = client.predict_daily(birth_details={
    "datetime": "1990-05-15T10:30:00+05:30",
    "latitude": 28.6139,
    "longitude": 77.2090
})
```

## Other Features

```python
# Get Panchang (today or specific date)
panchang = client.get_panchang()
panchang = client.get_panchang("2026-01-15")

# Generate birth chart
chart = client.get_birth_chart(
    datetime="1990-05-15T10:30:00+05:30",
    latitude=28.6139,
    longitude=77.2090
)

# Get Dasha periods
dasha = client.get_dasha(
    datetime="1990-05-15T10:30:00+05:30",
    latitude=28.6139,
    longitude=77.2090
)

# Check Mangal Dosha
dosha = client.get_mangal_dosha(
    datetime="1990-05-15T10:30:00+05:30",
    latitude=28.6139,
    longitude=77.2090
)

# Guna Milan (compatibility matching)
compatibility = client.get_guna_milan(
    male={"datetime": "1990-05-15T10:30:00+05:30", "latitude": 28.6139, "longitude": 77.2090},
    female={"datetime": "1992-08-20T14:00:00+05:30", "latitude": 19.0760, "longitude": 72.8777}
)
```

## Pricing

| Endpoint | Price |
|----------|-------|
| Daily Prediction | $0.020 |
| Weekly Prediction | $0.028 |
| Monthly Prediction | $0.040 |
| Quarterly Prediction | $0.056 |
| Yearly Prediction | $0.088 |

Free sandbox available for development!

## Links

- [API Documentation](https://vedika.io/docs)
- [API Pricing](https://vedika.io/pricing)
- [Get API Key](https://vedika.io/console)

## License

MIT