## Astrology App — Third-Party Attribution

This project incorporates code and data from several open-source projects.
Each component is attributed below with its license.

---

### PyJHora (vendored as git submodule)

- Upstream: https://github.com/naturalstupid/pyjhora
- Pinned commit: fd935ba7929d8d8d1466bf42dfbdffa6a0f785cc (v4.8.0)
- License: AGPL-3.0
- Copyright (C) Sundar Sundaresan
- Used for: core Vedic astrology calculations (Parashari, Jaimini, all dashas,
  vargas, yogas, Ashtakavarga, Shadbala, panchanga, Tajaka, transits, sphutas)
- Location in our tree: `backend/vendor/pyjhora/`

### Swiss Ephemeris (via pyswisseph)

- Upstream: https://www.astro.com/swisseph/swisseph.htm
- License: AGPL (same as our app; no Professional license fee required)
- Copyright (C) Astrodienst AG, Dieter Koch, Alois Treindl
- Used for: planetary longitude/latitude/speed calculations
- Loaded via pyswisseph Python binding (MIT license on the binding)

### KPAstroDashboard — data only

- Upstream: https://github.com/cryptekbits/KPAstroDashboard
- License: MIT
- Copyright (C) KPAstroDashboard contributors
- Used for: `KP_SL_Divisions.csv` — normative KP 249 sub-lord division table
- Location in our tree: `backend/data/kp/KP_SL_Divisions.csv`

### jyotishganit (CI cross-validation only)

- Upstream: https://github.com/northtara/jyotishganit
- License: MIT
- Copyright (C) 2024 NorthTara Research
- Used for: NASA JPL-ephemeris-based independent position calculation,
  used as a second-opinion oracle in CI regression tests. Not loaded in
  production runtime.
- Location in our tree: `backend/vendor/jyotishganit/` (optional)

### VedicAstro (diliprk) — studied, NOT vendored

- Upstream: https://github.com/diliprk/VedicAstro
- License: MIT
- Study reference only (patterns for KP horary; not runtime)

### Noto Sans fonts (vendored for PDF rendering)

- License: SIL Open Font License (OFL) 1.1
- Copyright (C) Google Inc.
- Location in our tree: `backend/app/pdf/templates/fonts/`
  - `NotoSans-Regular.ttf`, `NotoSans-Bold.ttf`
  - `NotoSansMalayalam-Regular.ttf`, `NotoSansMalayalam-Bold.ttf`

Noto Sans and Noto Sans Malayalam are used under the SIL Open Font License 1.1.
Source: https://fonts.google.com/noto

---

### Our own code

Everything under `backend/app/`, `mobile/`, `v*_fixes/`, `v2_drafts/` that is
NOT inside `vendor/` is original work by the Astrology App Contributors, under
AGPL-3.0.

### AGPL §13 compliance

The complete corresponding source for this app is publicly available on GitHub.
Users interacting with the deployed backend can request the source via:

    GET /api/v1/source

which returns the Git remote URL and current commit hash.

### DCO (Developer Certificate of Origin)

All contributors sign commits with `git commit -s`. Our CI pipeline blocks
unsigned commits. By signing, contributors assert that their contributions
are compatible with AGPL-3.0.
