Skip to content

EH30/flatlib_sidereal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flatlib_sidereal

Flatlib is a python library for Traditional Astrology.
flatlib_sidereal was made by: joaoventura

Example

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>

Installation

download flatlib_sidereal
run powershell as an Administrator and cd to the flatlib_sidereal folder then enter

pip install .

Documentation

Flatlib's documentation is available at http://flatlib.readthedocs.org/.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages