Skip to content

flipchan/astrology

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask site for astrology

using the python library flatlib and geonames.org for getting the geographical cordinates

Includes:

  • Astrology houses
  • Zodiac signs

Python logic to generate your zodiac data

tiden = yy+'/'+mm+'/'+dd
date = Datetime(tiden, '17:00', '+00:00')
geo_coordinates = get_geo_cords(town,country)
if not geo_coordinates:
    return flask.render_template("advanced.html", countries=countries, error="Could not find the city")

g0,g1 = float(geo_coordinates[0]), float(geo_coordinates[1].replace('</span>', ''))
pos = GeoPos(g0, g1)
chart = Chart(date, pos, IDs=const.LIST_OBJECTS)
sun = chart.getObject(const.SUN)

About

Astrology website for viewing zodiac signs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published