# 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.

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

## When self-hosting 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

|  | PyJHora | AstroNode API |
| --- | --- | --- |
| Language / runtime | Python 3.10+; package plus desktop UI and a web service ([source](https://pypi.org/pypi/PyJHora/json)) | Any language: HTTPS + JSON, OpenAPI 3.1 spec ([details](https://astronode.dev/guides/openapi-typed-client)) |
| Install and native build | pip package; depends on pyswisseph and PyQt6 ([source](https://github.com/naturalstupid/PyJHora)) | Nothing to compile; an API key and an HTTP client ([details](https://astronode.dev/quickstart/curl)) |
| Planet positions | Yes via Swiss Ephemeris, plus traditional siddhanta models ([source](https://github.com/naturalstupid/PyJHora)) | Sidereal and tropical, from Swiss Ephemeris data files ([details](https://astronode.dev/capabilities/vedic)) |
| House systems | Bhava methods incl. Parashari, KP, Sripathi and Western systems ([source](https://github.com/naturalstupid/PyJHora)) | Whole-sign (Vedic), Placidus (KP), five Western systems ([details](https://astronode.dev/guides/house-systems)) |
| Sidereal / ayanamsa | Configurable; its tests assume Lahiri ([source](https://github.com/naturalstupid/PyJHora)) | Fixed per tradition: Lahiri, KP-Newcomb, tropical ([details](https://astronode.dev/guides/ayanamsa)) |
| Dashas | 50+ dasha systems, drill-down to deha level ([source](https://github.com/naturalstupid/PyJHora)) | Vimshottari, Yogini, Char ([details](https://astronode.dev/guides/vimshottari-dasha-calculation)) |
| Divisional charts (vargas) | Standard, custom (Dn) and mixed (DmxDn) charts ([source](https://github.com/naturalstupid/PyJHora)) | 16 vargas in one call, plus D150 ([details](https://astronode.dev/guides/divisional-chart-calculation)) |
| KP sub-lords | KP number with star, sub and deeper lords ([source](https://github.com/naturalstupid/PyJHora)) | Cuspal sub-lord chain, significators, horary 1-249 ([details](https://astronode.dev/capabilities/kp)) |
| Panchang | Yes - full panchanga and calendars ([source](https://github.com/naturalstupid/PyJHora)) | Tithi, nakshatra, yoga, karana, sunrise, muhurta windows ([details](https://astronode.dev/guides/panchang-sunrise-conventions)) |
| Yogas | 284 yogas ([source](https://github.com/naturalstupid/PyJHora)) | 55 classical yogas with reasons ([details](https://astronode.dev/capabilities/vedic)) |
| Kundli matching | Yes - marriage compatibility by birth star ([source](https://github.com/naturalstupid/PyJHora)) | Ashtakoot, Dashakoot, Porutham, batch scoring ([details](https://astronode.dev/capabilities/compatibility)) |
| Ephemeris data you ship | Not in the wheel since 3.6.6 - copy the files in yourself ([source](https://github.com/naturalstupid/PyJHora)) | None on your side |
| Time zones and historical offsets | Place lookup in its UI; enter the zone manually if it fails ([source](https://github.com/naturalstupid/PyJHora)) | You send the offset in force at birth; no zone-name lookup ([details](https://astronode.dev/guides/birth-time-and-time-zones)) |
| Maintenance signal | Active (5.0.x releases in Nov 2026); open issues listed in README ([source](https://github.com/naturalstupid/PyJHora)) | Hosted; changes published in the changelog ([details](https://astronode.dev/changelog)) |
| Stated accuracy | About 10,000 tests against the book's worked examples; no arc-second figure ([source](https://github.com/naturalstupid/PyJHora)) | Measured in CI vs NASA JPL Horizons: Moon 3.1″, planets ≤ 0.5″ (1900-2050) ([details](https://astronode.dev/)) |

| More from their docs |  |
| --- | --- |
| Release | PyJHora 5.0.6 uploaded 23 November 2026 ([source](https://pypi.org/pypi/PyJHora/json)) |
| Pinned dependencies | Exact pins on pyswisseph, PyQt6, numpy, pytz and others ([source](https://pypi.org/pypi/PyJHora/json)) |

## What you still build yourself

- 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.

## 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](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

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.

## 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.

## Questions

**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.
