← Self-hosting vs an API

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 compared with the AstroNode API, checked 5 December 2026
 VedicAstro (self-hosted)AstroNode API
Language / runtimePython 3.11 or newer sourceAny language: HTTPS + JSON, OpenAPI 3.1 spec details
Install and native buildpip install, then a forked flatlib from a Git branch sourceNothing to compile; an API key and an HTTP client details
Planet positionsYes - sidereal planets and cusps via flatlib and pyswisseph sourceSidereal and tropical, from Swiss Ephemeris data files details
House systemsPlacidus (default), Equal, Equal 2, Whole Sign sourceWhole-sign (Vedic), Placidus (KP), five Western systems details
Sidereal / ayanamsa7 ayanamsas (Lahiri variants, Raman, Krishnamurti); Krishnamurti default sourceFixed per tradition: Lahiri, KP-Newcomb, tropical details
DashasVimshottari dasa and bhukti dates sourceVimshottari, Yogini, Char details
Divisional charts (vargas)Not documented16 vargas in one call, plus D150 details
KP sub-lordsSub and sub-sub lords, ABCD significators, horary 1-249 sourceCuspal sub-lord chain, significators, horary 1-249 details
PanchangNot documentedTithi, nakshatra, yoga, karana, sunrise, muhurta windows details
YogasNot documented55 classical yogas with reasons details
Kundli matchingNot documentedAshtakoot, Dashakoot, Porutham, batch scoring details
Ephemeris data you shipNot documentedNone on your side
Time zones and historical offsetsIANA zone passed in, or looked up from coordinates sourceYou send the offset in force at birth; no zone-name lookup details
Maintenance signalLatest PyPI release 0.2.1, uploaded 4 April 2024 sourceHosted; changes published in the changelog details
Stated accuracyNot documentedMeasured 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

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