@@ -0,0 +1,831 @@
+%22%22%22%0A    Author: Jo%C3%A3o Ventura %3Cflatangleweb@gmail.com%3E%0A    %0A    %0A    This recipe shows sample code for handling %0A    accidental dignities.%0A%0A%22%22%22%0A%0Afrom flatlib import const%0Afrom flatlib.chart import Chart%0Afrom flatlib.datetime import Datetime%0Afrom flatlib.geopos import GeoPos%0Afrom flatlib.dignities import accidental%0A%0A%0A# Build a chart for a date and location%0Adate = Datetime('2015/03/13', '17:00', '+00:00')%0Apos = GeoPos('38n32', '8w54')%0Achart = Chart(date, pos)%0A%0A# Get some objects%0Aobj = chart.get(const.VENUS)%0Asun = chart.get(const.SUN)%0A%0A# Sun relation%0Arelation = accidental.sunRelation(obj, sun)%0Aprint(relation)%0A%0A# Augmenting or Diminishing light%0Alight = accidental.light(obj, sun)%0Aprint(light)%0A%0A# Orientality%0Aorientality = accidental.orientality(obj, sun)%0Aprint(orientality)%0A%0A# Haiz%0Ahaiz = accidental.haiz(obj, chart)%0Aprint(haiz)

Create accidental dignities recipe