Flatlib is a python library for Traditional Astrology.
flatlib_sidereal was made by: joaoventura
from flatlib.datetime import Datetime
from flatlib.geopos import GeoPos
from flatlib.chart import Chart, const
# Date: 2005-03-03 Time: 6:45 AM UTC: +5:30
date = Datetime([2005, 3, 3], ['+',6,45,0], "+05:30")
pos = GeoPos(19.0760, 72.8777)
print("lat: ", pos.lat, "lng: ", pos.lon)
chart = Chart(date, pos, mode=const.AY_LAHIRI)
print(chart.get(const.ASC))
# output:
# lat: 19.076 lng: 72.8777
# <Asc Aquarius +13:56:50>
download flatlib_sidereal
run powershell as an Administrator and cd to the flatlib_sidereal folder then enter
pip install .
Flatlib's documentation is available at http://flatlib.readthedocs.org/.