lxephemeris-cli — Command-Line Interface for lxephemeris
lxephemeris-cli is the standalone command-line tool for the lxephemeris astronomical and astrological engine.
It works out of the box with zero external files (using the built-in DE440s-calibrated analytical engine covering -3000 CE .. +3000 CE), or with high-precision NASA JPL DE440s / DE440 / DE441 .bsp SPK kernels (< 0.003" precision).
Installation
Commands & Examples
1. calc — Planetary, Asteroid, Lunar & Fixed Star Positions
Calculate apparent geocentric, topocentric, or heliocentric coordinates, zodiac placements, speeds, and Human Design gates:
# Instant calculation (zero external files required)
# Sidereal (Vedic Lahiri) calculation with JSON output
2. houses — 23 Astrological House Systems & Chart Angles
Compute 12 house cusps and 8 angles (ASC, MC, DSC, IC, Vertex, Equatorial ASC, Co-ASC, Polar ASC) with explicit polar safety:
# Placidus houses for London
# Polar-safe calculation for Tromsø / Svalbard with Whole Sign fallback
3. panchanga — Vedic Panchanga & Muhurta Timings
Compute Tithi, Nakshatra + Pada, Yoga, Karana, Vara, sunrise/sunset, Rahukalam, Yamagandam, Gulika Kalam, and Abhijit Muhurta:
4. swetest — Legacy swetest-Compatible Output
Drop-in CLI compatibility for scripts expecting Swiss Ephemeris swetest flags:
5. fetch-kernel, data-sync & validate-bundle — Ephemeris & IERS Data Management
Download official NASA JPL / IMCCE SPK kernels, synchronize IERS finals2000A ($\Delta T$ / UT1-UTC) and leap-second tables, and verify SHA-256 manifest checksums:
# Fetch NASA JPL DE440s (1849–2150), DE440 (1550–2650), DE441 (-13200..+17191), or INPOP21a
# Synchronize IERS finals2000A Earth orientation & leap-second tables atomically
# Verify SHA-256 integrity of ./data/manifest.json and inspect SPK segments
6. chart-bench — Latency Benchmark
Benchmark single-thread and multi-thread full natal chart calculation speed on your hardware:
7. license-verify — Offline Commercial License Verification
Verify an offline Ed25519-signed commercial license key (LXEPHEMERIS_LICENSE_KEY or LXEPHEMERIS_LICENSE_FILE) in CI/CD or production containers:
Licensing
Distributed under a Dual License (PolyForm-Noncommercial-1.0.0 for non-commercial use / LicenseRef-Commercial for commercial production).
- Request a commercial license at https://procoders.tech/contacts/ or lxephemeris@procoders.tech.
- Full documentation: https://github.com/procoders/lxephemeris