← Self-hosting vs an API

PyJHora vs a hosted Vedic astrology API

PyJHora is a Python implementation of the techniques in PVR Narasimha Rao's book and his Jagannatha Hora software. On Vedic depth it is not close: dozens of dasha systems, hundreds of yogas, custom and mixed vargas, KP, panchang with traditional siddhanta models, Tamil matching. It is also a desktop-first package, and running it as a backend service is its own project.

Every PyJHora fact below links the page it was read from on .

Honestly

Where PyJHora is the better choice

  • Vedic depth is the product. If you need Ashtottari, Kalachakra, Narayana, Shoola or any of the other 50-plus dashas, custom vargas, Tamil porutham variants or a long yoga list, PyJHora has them and AstroNode does not. We expose three dasha systems and 55 yogas.
  • You want results that line up with Jagannatha Hora. The project's stated aim is to match that software and the book's worked examples, and it ships a large test module to check it.
  • Traditional calculation models. Surya Siddhanta, Graha Laaghavam, Vakya panchanga and other siddhanta engines are selectable - something no general-purpose API offers.
  • Research, education or an astrologer's own tool, run locally in Python, with no per-call cost and full access to every intermediate value.

Side by side

What you get vs what you build

PyJHora self-hosted compared with the AstroNode API, checked 1 December 2026
 PyJHora (self-hosted)AstroNode API
Language / runtimePython 3.10+; package plus desktop UI and a web service sourceAny language: HTTPS + JSON, OpenAPI 3.1 spec details
Install and native buildpip package; depends on pyswisseph and PyQt6 sourceNothing to compile; an API key and an HTTP client details
Planet positionsYes via Swiss Ephemeris, plus traditional siddhanta models sourceSidereal and tropical, from Swiss Ephemeris data files details
House systemsBhava methods incl. Parashari, KP, Sripathi and Western systems sourceWhole-sign (Vedic), Placidus (KP), five Western systems details
Sidereal / ayanamsaConfigurable; its tests assume Lahiri sourceFixed per tradition: Lahiri, KP-Newcomb, tropical details
Dashas50+ dasha systems, drill-down to deha level sourceVimshottari, Yogini, Char details
Divisional charts (vargas)Standard, custom (Dn) and mixed (DmxDn) charts source16 vargas in one call, plus D150 details
KP sub-lordsKP number with star, sub and deeper lords sourceCuspal sub-lord chain, significators, horary 1-249 details
PanchangYes - full panchanga and calendars sourceTithi, nakshatra, yoga, karana, sunrise, muhurta windows details
Yogas284 yogas source55 classical yogas with reasons details
Kundli matchingYes - marriage compatibility by birth star sourceAshtakoot, Dashakoot, Porutham, batch scoring details
Ephemeris data you shipNot in the wheel since 3.6.6 - copy the files in yourself sourceNone on your side
Time zones and historical offsetsPlace lookup in its UI; enter the zone manually if it fails sourceYou send the offset in force at birth; no zone-name lookup details
Maintenance signalActive (5.0.x releases in Nov 2026); open issues listed in README sourceHosted; changes published in the changelog details
Stated accuracyAbout 10,000 tests against the book's worked examples; no arc-second figure sourceMeasured 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 PyJHora

  • The service around it. PyJHora is a library plus desktop and web UIs; an HTTP API with input validation, auth, rate limits and JSON response shapes for your clients is yours to write.
  • Server packaging. The package depends on PyQt6 and other exact pins, which makes for a heavy container; if you only need the calculation modules you will be trimming dependencies yourself.
  • Ephemeris provisioning: the data files are not in the wheel, so your build has to fetch and place them in the package's data directory.
  • A stable contract. Its changelog records API changes between releases (for example, dasha return formats switched from date strings to tuples), so pin a version and wrap it.

Operations

Running it in production

  • Data files by hand. Since 3.6.6 the ephemeris files are left out of the install for space, and the README tells you to copy them into jhora/data/ephe from the repository. A fresh container without them will not produce correct positions.
  • Heavy, exact pins. The PyPI release pins pyswisseph, PyQt6, numpy, pytz, timezonefinder and others to exact versions, which can collide with the rest of a backend's dependencies. Isolate it in its own service or virtualenv.
  • Moving target. Releases are frequent and the README lists fixes and open items - including yoga text in the UI that does not match the calculation. Good for a living project; it means re-running your own regression tests on every upgrade.
  • Conventions to pin. Many panchang outputs depend on ayanamsa, true or mean nodes and the calculation model; the README itself says to use Lahiri when comparing with ordinary calendars.
  • 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

PyJHora's README frames accuracy as agreement with PVR Narasimha Rao's book and Jagannatha Hora, backed by a test module of about 10,000 tests - not as an arc-second figure against an astronomical reference. For astronomy it relies on Swiss Ephemeris through pyswisseph. 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

  • No service to build: auth, rate limits, typed JSON, an OpenAPI spec and SDK-friendly endpoints already exist.
  • No desktop GUI stack in your server image, and no ephemeris files to copy into a package directory on every deploy.
  • Fixed conventions per tradition and stable response shapes, so a library refactor upstream does not change your app's output.
  • Honestly scoped: if you need PyJHora's breadth of dashas and yogas, an API with fewer techniques will not replace it. A common split is PyJHora for depth in an astrologer-facing tool and an API for the consumer app's everyday chart, dasha and panchang calls.

PyJHora or an API: quick answers

What do I need to install to use PyJHora?
PyJHora: pip package; depends on pyswisseph and PyQt6. AstroNode API: Nothing to compile; an API key and an HTTP client. Checked 2026-12-01.
Does PyJHora calculate dashas?
PyJHora: 50+ dasha systems, drill-down to deha level. AstroNode API: Vimshottari, Yogini, Char. Checked 2026-12-01.
Does PyJHora support KP sub-lords?
PyJHora: KP number with star, sub and deeper lords. AstroNode API: Cuspal sub-lord chain, significators, horary 1-249. Checked 2026-12-01.
Does PyJHora do kundli matching?
PyJHora: Yes - marriage compatibility by birth star. AstroNode API: Ashtakoot, Dashakoot, Porutham, batch scoring. Checked 2026-12-01.
Does PyJHora handle time zones and historical offsets?
PyJHora: Place lookup in its UI; enter the zone manually if it fails. AstroNode API: You send the offset in force at birth; no zone-name lookup. Checked 2026-12-01.

Sources

Quoted from PyJHora's own pages

PyJHora is named only to identify the project. Values were read from public pages on 1 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