Swiss Ephemeris Returns 6 Floats. Your App Needs a Chart. (opens in new tab)
Every astrology backend on earth runs on Swiss Ephemeris. It is accurate to the arcsecond and has earned three decades of trust. Now look at what it hands back. import swisseph as swe xx, ret = swe.calc_ut(jd, swe.MOON, swe.FLG_SIDEREAL) moon_lon = xx[0] # (281.43, -4.21, 0.0026, 13.17, 0.58, -0.00003) Six floats. Position and speed. That is the entire API for a body, and it is where Swiss stops and your real work begins. Swiss computes positions, not astrology There is no nakshatra function....
Read the original article