-
Notifications
You must be signed in to change notification settings - Fork 7
/
main.py
32 lines (26 loc) · 1.41 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
if __name__ == '__main__':
from openastro2.openastro2 import openAstro
event1 = openAstro.event("Nikola Tesla", 1856, 7, 10, 0, 0, 0, timezone=1, location="Smiljan", countrycode="HR", geolat=44.5666644, geolon=15.3166654)
event2 = openAstro.event("Ill", 1873, 10, 10, 0, 30, 0, timezone=1.36666666, location="Smiljan", countrycode="HR", geolat=44.5666644, geolon=15.3166654)
settings={}
settings['astrocfg']={}
settings['astrocfg']['language'] = "ru"
# openAstro = openAstro(event1, event2, type="Transit", settings=settings)
# openAstro = openAstro(event1, event2, type="Radix", settings=settings)
# openAstro = openAstro(event1, event2, type="Solar", settings=settings)
# openAstro = openAstro(event1, event2, type="Lunar", settings=settings)
openAstro = openAstro(event1, event2, type="Direction", settings=settings)
svg = openAstro.makeSVG2()
# print(openAstro.planets_degree)
print(openAstro.planets_degree_ut)
print(openAstro.t_planets_degree_ut)
print(openAstro.planets_sign)
binary_list = [int(value) for value in openAstro.planets_retrograde]
print(openAstro.planets_retrograde)
print(binary_list)
print(openAstro.lunar_phase)
print(openAstro.lunar_phase["degrees"])
print(openAstro.lunar_phase["moon_phase"])
print(openAstro.lunar_phase["sun_phase"])
print(openAstro.t_planets_degree_ut)
print(openAstro.t_planets_degree_ut)