# VedicAstro vs a hosted Vedic astrology API

> VedicAstro is a Python package built around the Krishnamurti Paddhati (KP) system. One class produces the planet and house tables with sign, star, sub and sub-sub lords, ABCD significators per planet and per house, and Vimshottari dasa and bhukti dates; a separate module handles KP horary. It sits on a sidereal fork of Flatlib and ships a FastAPI app you can run yourself.

Source: https://astronode.dev/compare/self-hosting/vedicastro · Facts checked: 2026-12-05

## When self-hosting VedicAstro is the better choice

- KP is your product and you want to read or change the rules. The core is one class in one file - sub-lord lookup, ABCD significators, dasa-bhukti - small enough to audit line by line and adapt to your own school's conventions.
- Significator tables are the output you need. Planet-wise and house-wise ABCD significators are built in, returned as named-tuple tables, with Polars helpers for the consolidated chart - a good fit for study notebooks and analysis.
- You want a quick self-hosted KP service. The repository includes a FastAPI app and points to a Vue front end, so a local or private-server deployment is a single uvicorn command.
- Ayanamsa choice inside KP: Krishnamurti is the default, with Krishnamurti-Senthilathiban, Raman and four Lahiri variants selectable per chart. AstroNode fixes KP to one ayanamsa.

## Side by side

|  | VedicAstro | AstroNode API |
| --- | --- | --- |
| Language / runtime | Python 3.11 or newer ([source](https://github.com/diliprk/VedicAstro/blob/main/setup.py)) | Any language: HTTPS + JSON, OpenAPI 3.1 spec ([details](https://astronode.dev/guides/openapi-typed-client)) |
| Install and native build | pip install, then a forked flatlib from a Git branch ([source](https://github.com/diliprk/VedicAstro)) | Nothing to compile; an API key and an HTTP client ([details](https://astronode.dev/quickstart/curl)) |
| Planet positions | Yes - sidereal planets and cusps via flatlib and pyswisseph ([source](https://github.com/diliprk/VedicAstro)) | Sidereal and tropical, from Swiss Ephemeris data files ([details](https://astronode.dev/capabilities/vedic)) |
| House systems | Placidus (default), Equal, Equal 2, Whole Sign ([source](https://github.com/diliprk/VedicAstro/blob/main/vedicastro/VedicAstro.py)) | Whole-sign (Vedic), Placidus (KP), five Western systems ([details](https://astronode.dev/guides/house-systems)) |
| Sidereal / ayanamsa | 7 ayanamsas (Lahiri variants, Raman, Krishnamurti); Krishnamurti default ([source](https://github.com/diliprk/VedicAstro/blob/main/vedicastro/VedicAstro.py)) | Fixed per tradition: Lahiri, KP-Newcomb, tropical ([details](https://astronode.dev/guides/ayanamsa)) |
| Dashas | Vimshottari dasa and bhukti dates ([source](https://github.com/diliprk/VedicAstro/blob/main/vedicastro/VedicAstro.py)) | Vimshottari, Yogini, Char ([details](https://astronode.dev/guides/vimshottari-dasha-calculation)) |
| Divisional charts (vargas) | Not documented | 16 vargas in one call, plus D150 ([details](https://astronode.dev/guides/divisional-chart-calculation)) |
| KP sub-lords | Sub and sub-sub lords, ABCD significators, horary 1-249 ([source](https://github.com/diliprk/VedicAstro)) | Cuspal sub-lord chain, significators, horary 1-249 ([details](https://astronode.dev/capabilities/kp)) |
| Panchang | Not documented | Tithi, nakshatra, yoga, karana, sunrise, muhurta windows ([details](https://astronode.dev/guides/panchang-sunrise-conventions)) |
| Yogas | Not documented | 55 classical yogas with reasons ([details](https://astronode.dev/capabilities/vedic)) |
| Kundli matching | Not documented | Ashtakoot, Dashakoot, Porutham, batch scoring ([details](https://astronode.dev/capabilities/compatibility)) |
| Ephemeris data you ship | Not documented | None on your side |
| Time zones and historical offsets | IANA zone passed in, or looked up from coordinates ([source](https://github.com/diliprk/VedicAstro/blob/main/vedicastro/VedicAstro.py)) | You send the offset in force at birth; no zone-name lookup ([details](https://astronode.dev/guides/birth-time-and-time-zones)) |
| Maintenance signal | Latest PyPI release 0.2.1, uploaded 4 April 2024 ([source](https://pypi.org/pypi/vedicastro/json)) | Hosted; changes published in the changelog ([details](https://astronode.dev/changelog)) |
| Stated accuracy | Not documented | Measured in CI vs NASA JPL Horizons: Moon 3.1″, planets ≤ 0.5″ (1900-2050) ([details](https://astronode.dev/)) |

| More from their docs |  |
| --- | --- |
| KP horary | Horary numbers 1-249 mapped to an ascendant degree ([source](https://github.com/diliprk/VedicAstro/blob/main/vedicastro/horary_chart.py)) |
| Bundled API | A FastAPI app you run with uvicorn ([source](https://github.com/diliprk/VedicAstro)) |
| Dependency not on PyPI | flatlib comes from a Git branch, installed by hand ([source](https://github.com/diliprk/VedicAstro/blob/main/setup.py)) |

## What you still build yourself

- Everything outside KP and Vimshottari: divisional charts, panchang, classical yogas and kundli matching are not in its README or main module.
- Deeper dasha levels. The code computes dasa and bhukti; antara and finer periods, and other dasha systems, are yours.
- Production hardening of the bundled API: auth, rate limits, input validation and stable response shapes.
- Time-zone checks for old births. The zone comes from a coordinate lookup unless you pass one, and historical offsets are only as good as the installed tz data.

## Running it in production

- Install is two steps. PyPI cannot pull its flatlib dependency, so after pip install you install a forked flatlib from a Git branch. Pin that to a commit; a branch can move under you.
- PyPI lags the repository. The last PyPI release is 0.2.1 from April 2024, while the repository has later commits, the most recent in January 2026. Decide whether you install from PyPI or from a pinned commit.
- Check the dependency list. The PyPI 0.2.1 record does not list pytz or timezonefinder, which utils.py imports; the repository's requirements.txt does. Install from requirements.txt or add them yourself.
- Heavy extras. The install requirements include fastapi, uvicorn and ipykernel, which a library-only use does not need; isolate it in its own environment.
- Whatever the library, the birth input is a local clock time, and turning it into UT needs the offset that was in force on that date - our [UTC offset finder](https://astronode.dev/tools/utc-offset-finder) and the [time-zone guide](https://astronode.dev/guides/birth-time-and-time-zones) cover the traps.

## Accuracy

VedicAstro's README and source state no accuracy figure. Positions come from Swiss Ephemeris through pyswisseph and its Flatlib fork, so precision depends on that build and the ephemeris files present. AstroNode's CI compares positions with NASA JPL Horizons and measured the Moon within 3.1″ and every planet within 0.5″ from 1900 to 2050.

## Where an API saves work

- KP without the install quirks: cuspal sub-lord chain, significators and horary 1-249 as endpoints, with no Git-branch dependency to pin.
- The rest of the Vedic stack VedicAstro leaves out - Yogini and Char dashas, sixteen vargas, panchang, 55 yogas, Ashtakoot, Dashakoot and Porutham matching.
- A maintained service with a changelog, instead of a package whose last PyPI release is from 2024.
- If you need to change the KP rules themselves, VedicAstro's small codebase is easier to adapt than any API.

## Questions

**What do I need to install to use VedicAstro?**

VedicAstro: pip install, then a forked flatlib from a Git branch. AstroNode API: Nothing to compile; an API key and an HTTP client. Checked 2026-12-05.

**Does VedicAstro calculate dashas?**

VedicAstro: Vimshottari dasa and bhukti dates. AstroNode API: Vimshottari, Yogini, Char. Checked 2026-12-05.

**Does VedicAstro support KP sub-lords?**

VedicAstro: Sub and sub-sub lords, ABCD significators, horary 1-249. AstroNode API: Cuspal sub-lord chain, significators, horary 1-249. Checked 2026-12-05.

**Does VedicAstro do kundli matching?**

VedicAstro: Not documented. AstroNode API: Ashtakoot, Dashakoot, Porutham, batch scoring. Checked 2026-12-05.

**Does VedicAstro handle time zones and historical offsets?**

VedicAstro: IANA zone passed in, or looked up from coordinates. AstroNode API: You send the offset in force at birth; no zone-name lookup. Checked 2026-12-05.
