I'm trying to get planetaries positions (in the zodiac wheel) and the aspects (trines, oppositions, etc.) for a Python app. My main issue is that all the solutions I've installed until now are based on the tropical system, and I would like to have the Lahiri or Fagan-Bradley sidereal astrology ones.
I've found two great solutions :
Flatlib is doing perfectly what I'm looking for, i.e. :
date = Datetime('2015/03/13', '17:00', '+00:00')
pos = GeoPos('38n32', '8w54')
chart = Chart(date, pos)
sun = chart.get(const.SUN)
print(sun)
<Sun Pisces +22:47:25 +00:59:51>
...but it uses the tropical system with the Swiss Ephemeris. Soooooo sad :'(
Astrology API is providing Western and Vedic astrology. But as Vedic astrology can give me the good planetaries positions, they don't offer aspect and other functions that I need. They redirect me on their "Western Astrology" offer, but this is tropical only.
Is anybody has found a solution for that type of needs ? Many thanks :)
There are two branches of flatlib:
You can calculate Lahiri or Fagan-Bradley sidereal from sidereal branch
Sidereal Astrology
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With