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.
Every VedicAstro fact below links the page it was read from on .
Honestly
Where 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
What you get vs what you build
| VedicAstro (self-hosted) | AstroNode API | |
|---|---|---|
| Language / runtime | Python 3.11 or newer source | Any language: HTTPS + JSON, OpenAPI 3.1 spec details |
| Install and native build | pip install, then a forked flatlib from a Git branch source | Nothing to compile; an API key and an HTTP client details |
| Planet positions | Yes - sidereal planets and cusps via flatlib and pyswisseph source | Sidereal and tropical, from Swiss Ephemeris data files details |
| House systems | Placidus (default), Equal, Equal 2, Whole Sign source | Whole-sign (Vedic), Placidus (KP), five Western systems details |
| Sidereal / ayanamsa | 7 ayanamsas (Lahiri variants, Raman, Krishnamurti); Krishnamurti default source | Fixed per tradition: Lahiri, KP-Newcomb, tropical details |
| Dashas | Vimshottari dasa and bhukti dates source | Vimshottari, Yogini, Char details |
| Divisional charts (vargas) | Not documented | 16 vargas in one call, plus D150 details |
| KP sub-lords | Sub and sub-sub lords, ABCD significators, horary 1-249 source | Cuspal sub-lord chain, significators, horary 1-249 details |
| Panchang | Not documented | Tithi, nakshatra, yoga, karana, sunrise, muhurta windows details |
| Yogas | Not documented | 55 classical yogas with reasons details |
| Kundli matching | Not documented | Ashtakoot, Dashakoot, Porutham, batch scoring details |
| 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 | You send the offset in force at birth; no zone-name lookup details |
| Maintenance signal | Latest PyPI release 0.2.1, uploaded 4 April 2024 source | Hosted; changes published in the changelog details |
| Stated accuracy | Not documented | Measured in CI vs NASA JPL Horizons: Moon 3.1″, planets ≤ 0.5″ (1900-2050) details |
“Not documented” means the project's own README and docs do not describe it - not that it is impossible to build on top.
On top
What you would still write with VedicAstro
- 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.
Operations
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 and the time-zone guide cover the traps.
Accuracy
What the numbers say
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.
And
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.
VedicAstro or an API: quick answers
- 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.
Sources
Quoted from VedicAstro's own pages
- Language / runtime: “python_requires='>=3.11',” - https://github.com/diliprk/VedicAstro/blob/main/setup.py
- Install and native build: “pip install git+https://github.com/diliprk/flatlib.git@sidereal#egg=flatlib” - https://github.com/diliprk/VedicAstro
- Planet positions: “generate chart and planetary position data for Vedic Astrology systems” - https://github.com/diliprk/VedicAstro
- House systems: “HOUSE_SYSTEM_MAPPING = { "Placidus": const.HOUSES_PLACIDUS, "Equal": const.HOUSES_EQUAL,” - https://github.com/diliprk/VedicAstro/blob/main/vedicastro/VedicAstro.py
- Sidereal / ayanamsa: “ayanamsa: str = "Krishnamurti", house_system : str = "Placidus"” - https://github.com/diliprk/VedicAstro/blob/main/vedicastro/VedicAstro.py
- Dashas: “bhukti_length = dasa_length * bhukti_lengths[j] / 120” - https://github.com/diliprk/VedicAstro/blob/main/vedicastro/VedicAstro.py
- KP sub-lords: “get_planet_wise_significators - Generate the ABCD significators table for each planet” - https://github.com/diliprk/VedicAstro
- Time zones and historical offsets: “self.time_zone = tz if tz else TimezoneFinder().timezone_at(lat=self.latitude, lng=self.longitude)” - https://github.com/diliprk/VedicAstro/blob/main/vedicastro/VedicAstro.py
- Maintenance signal: “"upload_time": "2024-04-04T13:00:12"” - https://pypi.org/pypi/vedicastro/json
- KP horary: “if 1 <= horary_number <= 249:” - https://github.com/diliprk/VedicAstro/blob/main/vedicastro/horary_chart.py
- Bundled API: “deploy this VedicAstro package using FastAPI on your local machine or remote server” - https://github.com/diliprk/VedicAstro
- Dependency not on PyPI: “dependency_links=["git+https://github.com/diliprk/flatlib.git@sidereal#egg=flatlib"]” - https://github.com/diliprk/VedicAstro/blob/main/setup.py
VedicAstro is named only to identify the project. Values were read from public pages on 5 December 2026; projects change, so check their pages before you decide, and tell us if anything here is out of date.
Other options: Swiss Ephemeris · pyswisseph · Kerykeion · Flatlib · PyJHora · Astronomy Engine · Skyfield · Immanuel · sweph · sweph-wasm