Mercurial > hg > horiscopes
view V4/test.py @ 16:b11cff4b7f83
implement compatibility scores
author | DaveM |
---|---|
date | Mon, 05 Mar 2018 14:22:09 +0000 |
parents | b253748dbb11 |
children | ae220e89cb3a |
line wrap: on
line source
#!/usr/bin/env python # import synastry as syn # import random # synMap = syn.planetPositions() # synMap.test_random() # print (synMap.planets['sun'].angleA,synMap.planets['sun'].angleB) # print synMap.calcAspect('sun','sun') # print (synMap.planets['sun'].angleA,synMap.planets['moon'].angleB) # print synMap.calcAspect('sun','moon') import synastry as syn import pdb comp = syn.compatibility() comp.parseCompatRules('compatibilityRules.csv') print [r.planet for r in comp.rules] pdb.set_trace()