-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathglobalinit.py
44 lines (35 loc) · 1.35 KB
/
globalinit.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
32
33
34
35
36
37
38
39
40
41
42
43
44
import swisseph as swe
import time
from datetime import datetime, timedelta
from my_ephe_path import EPHE_PATH
swe.set_ephe_path(EPHE_PATH) #set the filepath to your Swiss Ephemeris download
swe.set_sid_mode(swe.SIDM_LAHIRI) #uses Hindu-Lahiri ayanamsa for sidereal zodiac
SIGNKEY=('Aries', #0
'Taurus', #1
'Gemini', #2
'Cancer', #3
'Leo', #4
'Virgo', #5
'Libra', #6
'Scorpio', #7
'Sagittarius', #8
'Capricorn', #9
'Aquarius', #10
'Pisces') #11
SIGNCUSPS=tuple(30*x for x in range(12)) #degree value of all sign cusps from 0 = 0 deg Aries to 330 = 0 deg Pisces
PLANETKEY=('Sun', #0
'Moon', #1
'Mercury', #2
'Venus', #3
'Mars', #4
'Jupiter', #5
'Saturn') #6
RULERS={'Aries': 'Mars', 'Taurus': 'Venus', 'Gemini': 'Mercury', 'Cancer': 'Moon', 'Leo': 'Sun', \
'Virgo': 'Mercury', 'Libra': 'Venus', 'Scorpio': 'Mars', 'Sagittarius': 'Jupiter', \
'Capricorn': 'Saturn', 'Aquarius': 'Saturn', 'Pisces': 'Jupiter'}
ASPECTS=(0,60,90,120,180)
ASPECTKEY=('CONJUNCT','sextile','SQUARE','trine','OPPOSITE')
ANGLEKEY = ('Ascendant','Midheaven','ARMC','vertex','equatorial ascendant',\
'co-ascendant (Koch)','co-ascendant (Munkasey)','polar ascendant (Munkasey)')
ZR_PERIODS = {'Aries': 15, 'Taurus': 8, 'Gemini': 20, 'Cancer': 25, 'Leo': 19, 'Virgo': 20, 'Libra': 8, 'Scorpio': 15, 'Sagittarius': 12,
'Capricorn': 27, 'Aquarius': 30, 'Pisces': 12}