kerykeion 4.0.7__tar.gz → 5.1.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. kerykeion-5.1.9/.coveragerc +17 -0
  2. kerykeion-5.1.9/.github/FUNDING.yml +13 -0
  3. kerykeion-5.1.9/.gitignore +75 -0
  4. kerykeion-5.1.9/CHANGELOG.md +119 -0
  5. kerykeion-5.1.9/DEVELOPMENT.md +256 -0
  6. kerykeion-5.1.9/MANIFEST.in +5 -0
  7. kerykeion-5.1.9/PKG-INFO +1793 -0
  8. kerykeion-5.1.9/README.md +1753 -0
  9. kerykeion-5.1.9/TODO.md +54 -0
  10. kerykeion-5.1.9/docs/index.html +7 -0
  11. kerykeion-5.1.9/docs/kerykeion/aspects/aspects_utils.html +487 -0
  12. kerykeion-5.1.9/docs/kerykeion/aspects/natal_aspects.html +804 -0
  13. kerykeion-5.1.9/docs/kerykeion/aspects/synastry_aspects.html +744 -0
  14. kerykeion-5.1.9/docs/kerykeion/aspects/transits_time_range.html +422 -0
  15. kerykeion-5.1.9/docs/kerykeion/aspects.html +260 -0
  16. kerykeion-5.1.9/docs/kerykeion/astrological_subject.html +3487 -0
  17. kerykeion-5.1.9/docs/kerykeion/charts/charts_utils.html +3141 -0
  18. kerykeion-5.1.9/docs/kerykeion/charts/draw_planets.html +1083 -0
  19. kerykeion-5.1.9/docs/kerykeion/charts/kerykeion_chart_svg.html +3641 -0
  20. kerykeion-5.1.9/docs/kerykeion/charts.html +252 -0
  21. kerykeion-5.1.9/docs/kerykeion/composite_subject_factory.html +952 -0
  22. kerykeion-5.1.9/docs/kerykeion/enums.html +1152 -0
  23. kerykeion-5.1.9/docs/kerykeion/ephemeris_data.html +1238 -0
  24. kerykeion-5.1.9/docs/kerykeion/fetch_geonames.html +702 -0
  25. kerykeion-5.1.9/docs/kerykeion/kr_types/chart_types.html +1562 -0
  26. kerykeion-5.1.9/docs/kerykeion/kr_types/kerykeion_exception.html +323 -0
  27. kerykeion-5.1.9/docs/kerykeion/kr_types/kr_literals.html +797 -0
  28. kerykeion-5.1.9/docs/kerykeion/kr_types/kr_models.html +4076 -0
  29. kerykeion-5.1.9/docs/kerykeion/kr_types/settings_models.html +3267 -0
  30. kerykeion-5.1.9/docs/kerykeion/kr_types.html +257 -0
  31. kerykeion-5.1.9/docs/kerykeion/relationship_score/relationship_score.html +742 -0
  32. kerykeion-5.1.9/docs/kerykeion/relationship_score/relationship_score_factory.html +903 -0
  33. kerykeion-5.1.9/docs/kerykeion/relationship_score.html +244 -0
  34. kerykeion-5.1.9/docs/kerykeion/report.html +721 -0
  35. kerykeion-5.1.9/docs/kerykeion/settings/config_constants.html +325 -0
  36. kerykeion-5.1.9/docs/kerykeion/settings/kerykeion_settings.html +497 -0
  37. kerykeion-5.1.9/docs/kerykeion/settings.html +243 -0
  38. kerykeion-5.1.9/docs/kerykeion/transits_time_range.html +668 -0
  39. kerykeion-5.1.9/docs/kerykeion/utilities.html +1599 -0
  40. kerykeion-5.1.9/docs/kerykeion.html +13167 -0
  41. kerykeion-5.1.9/docs/search.js +46 -0
  42. kerykeion-5.1.9/examples/aspects_synastry.py +50 -0
  43. kerykeion-5.1.9/examples/composite_report_example.py +58 -0
  44. kerykeion-5.1.9/examples/current_time_report.py +17 -0
  45. kerykeion-5.1.9/examples/dual_return_report_example.py +47 -0
  46. kerykeion-5.1.9/examples/natal_report_example.py +31 -0
  47. kerykeion-5.1.9/examples/planetary_return.py +51 -0
  48. kerykeion-5.1.9/examples/quickstart_natal_chart.py +42 -0
  49. kerykeion-5.1.9/examples/solar_return_report_example.py +47 -0
  50. kerykeion-5.1.9/examples/subject_report_example.py +30 -0
  51. kerykeion-5.1.9/examples/synastry_report_example.py +51 -0
  52. kerykeion-5.1.9/examples/transit_report_example.py +51 -0
  53. kerykeion-5.1.9/examples/transits_time_range.py +69 -0
  54. kerykeion-5.1.9/kerykeion/__init__.py +63 -0
  55. {kerykeion-4.0.7 → kerykeion-5.1.9}/kerykeion/aspects/__init__.py +7 -4
  56. kerykeion-5.1.9/kerykeion/aspects/aspects_factory.py +568 -0
  57. kerykeion-5.1.9/kerykeion/aspects/aspects_utils.py +164 -0
  58. kerykeion-5.1.9/kerykeion/astrological_subject_factory.py +1901 -0
  59. kerykeion-5.1.9/kerykeion/backword.py +820 -0
  60. kerykeion-5.1.9/kerykeion/chart_data_factory.py +552 -0
  61. {kerykeion-4.0.7 → kerykeion-5.1.9}/kerykeion/charts/__init__.py +2 -2
  62. kerykeion-5.1.9/kerykeion/charts/chart_drawer.py +2794 -0
  63. kerykeion-5.1.9/kerykeion/charts/charts_utils.py +1840 -0
  64. kerykeion-5.1.9/kerykeion/charts/draw_planets.py +658 -0
  65. kerykeion-5.1.9/kerykeion/charts/templates/aspect_grid_only.xml +596 -0
  66. kerykeion-5.1.9/kerykeion/charts/templates/chart.xml +741 -0
  67. kerykeion-5.1.9/kerykeion/charts/templates/wheel_only.xml +653 -0
  68. kerykeion-5.1.9/kerykeion/charts/themes/black-and-white.css +148 -0
  69. kerykeion-5.1.9/kerykeion/charts/themes/classic.css +113 -0
  70. kerykeion-5.1.9/kerykeion/charts/themes/dark-high-contrast.css +159 -0
  71. kerykeion-5.1.9/kerykeion/charts/themes/dark.css +160 -0
  72. kerykeion-5.1.9/kerykeion/charts/themes/light.css +160 -0
  73. kerykeion-5.1.9/kerykeion/charts/themes/strawberry.css +158 -0
  74. kerykeion-5.1.9/kerykeion/composite_subject_factory.py +408 -0
  75. kerykeion-5.1.9/kerykeion/ephemeris_data_factory.py +443 -0
  76. kerykeion-5.1.9/kerykeion/fetch_geonames.py +199 -0
  77. kerykeion-5.1.9/kerykeion/house_comparison/__init__.py +6 -0
  78. kerykeion-5.1.9/kerykeion/house_comparison/house_comparison_factory.py +103 -0
  79. kerykeion-5.1.9/kerykeion/house_comparison/house_comparison_utils.py +126 -0
  80. kerykeion-5.1.9/kerykeion/kr_types/__init__.py +70 -0
  81. kerykeion-5.1.9/kerykeion/kr_types/chart_template_model.py +20 -0
  82. kerykeion-5.1.9/kerykeion/kr_types/kerykeion_exception.py +20 -0
  83. kerykeion-5.1.9/kerykeion/kr_types/kr_literals.py +20 -0
  84. kerykeion-5.1.9/kerykeion/kr_types/kr_models.py +20 -0
  85. kerykeion-5.1.9/kerykeion/kr_types/settings_models.py +20 -0
  86. kerykeion-5.1.9/kerykeion/planetary_return_factory.py +805 -0
  87. kerykeion-5.1.9/kerykeion/relationship_score_factory.py +301 -0
  88. kerykeion-5.1.9/kerykeion/report.py +779 -0
  89. kerykeion-5.1.9/kerykeion/schemas/__init__.py +106 -0
  90. kerykeion-5.1.9/kerykeion/schemas/chart_template_model.py +367 -0
  91. {kerykeion-4.0.7/kerykeion/kr_types → kerykeion-5.1.9/kerykeion/schemas}/kerykeion_exception.py +7 -1
  92. kerykeion-5.1.9/kerykeion/schemas/kr_literals.py +181 -0
  93. kerykeion-5.1.9/kerykeion/schemas/kr_models.py +603 -0
  94. kerykeion-5.1.9/kerykeion/schemas/settings_models.py +188 -0
  95. kerykeion-5.1.9/kerykeion/settings/__init__.py +20 -0
  96. kerykeion-5.1.9/kerykeion/settings/chart_defaults.py +444 -0
  97. kerykeion-5.1.9/kerykeion/settings/config_constants.py +152 -0
  98. kerykeion-5.1.9/kerykeion/settings/kerykeion_settings.py +51 -0
  99. kerykeion-5.1.9/kerykeion/settings/translation_strings.py +1499 -0
  100. kerykeion-5.1.9/kerykeion/settings/translations.py +74 -0
  101. kerykeion-5.1.9/kerykeion/sweph/ast136/s136108s.se1 +0 -0
  102. kerykeion-5.1.9/kerykeion/sweph/ast136/s136199s.se1 +0 -0
  103. kerykeion-5.1.9/kerykeion/sweph/ast136/s136472s.se1 +0 -0
  104. kerykeion-5.1.9/kerykeion/sweph/ast28/se28978s.se1 +0 -0
  105. kerykeion-5.1.9/kerykeion/sweph/ast50/se50000s.se1 +0 -0
  106. kerykeion-5.1.9/kerykeion/sweph/ast90/se90377s.se1 +0 -0
  107. kerykeion-5.1.9/kerykeion/sweph/ast90/se90482s.se1 +0 -0
  108. kerykeion-5.1.9/kerykeion/sweph/sefstars.txt +1602 -0
  109. kerykeion-5.1.9/kerykeion/transits_time_range_factory.py +302 -0
  110. kerykeion-5.1.9/kerykeion/utilities.py +776 -0
  111. kerykeion-5.1.9/pyproject.toml +151 -0
  112. kerykeion-5.1.9/release_notes/V4.14.0.md +64 -0
  113. kerykeion-5.1.9/release_notes/V4.16.0.md +40 -0
  114. kerykeion-5.1.9/release_notes/V4.17.0.md +44 -0
  115. kerykeion-5.1.9/release_notes/V4.19.0.md +40 -0
  116. kerykeion-5.1.9/release_notes/V4.21.0.md +8 -0
  117. kerykeion-5.1.9/release_notes/V4.22.0.md +31 -0
  118. kerykeion-5.1.9/release_notes/V4.23.0.md +51 -0
  119. kerykeion-5.1.9/release_notes/V4.24.0.md +73 -0
  120. kerykeion-5.1.9/release_notes/V4.25.0.md +40 -0
  121. kerykeion-5.1.9/release_notes/V4.26.0.md +66 -0
  122. kerykeion-5.1.9/release_notes/v5.0.0.md +495 -0
  123. kerykeion-5.1.9/release_notes/v5.0.0a.md +40 -0
  124. kerykeion-5.1.9/release_notes/v5.0.0b.md +67 -0
  125. kerykeion-5.1.9/release_notes/v5.1.0.md +60 -0
  126. kerykeion-5.1.9/scripts/README.md +3 -0
  127. kerykeion-5.1.9/scripts/__init__.py +0 -0
  128. kerykeion-5.1.9/scripts/quality_check.py +44 -0
  129. kerykeion-5.1.9/scripts/regenerate_expected_aspects.py +94 -0
  130. kerykeion-5.1.9/scripts/regenerate_expected_subjects.py +170 -0
  131. kerykeion-5.1.9/scripts/regenerate_synastry_aspects.py +44 -0
  132. kerykeion-5.1.9/scripts/regenerate_synastry_from_test.py +41 -0
  133. kerykeion-5.1.9/scripts/regenerate_test_charts.py +479 -0
  134. kerykeion-5.1.9/scripts/test_markdown_snippets.py +198 -0
  135. kerykeion-5.1.9/site-docs/aspects.md +1087 -0
  136. kerykeion-5.1.9/site-docs/astrological_subject_factory.md +1803 -0
  137. kerykeion-5.1.9/site-docs/chart_data_factory.md +1027 -0
  138. kerykeion-5.1.9/site-docs/charts.md +1089 -0
  139. kerykeion-5.1.9/site-docs/composite_subject_factory.md +584 -0
  140. kerykeion-5.1.9/site-docs/element_quality_distribution.md +103 -0
  141. kerykeion-5.1.9/site-docs/ephemeris_data_factory.md +516 -0
  142. kerykeion-5.1.9/site-docs/house_comparison.md +180 -0
  143. kerykeion-5.1.9/site-docs/planetary_return_factory.md +892 -0
  144. kerykeion-5.1.9/site-docs/relationship_score_factory.md +825 -0
  145. kerykeion-5.1.9/site-docs/report.md +355 -0
  146. kerykeion-5.1.9/site-docs/transits_time_range_factory.md +975 -0
  147. kerykeion-5.1.9/site-docs/utilities.md +906 -0
  148. kerykeion-5.1.9/tests/__init__.py +5 -0
  149. kerykeion-5.1.9/tests/aspects/__init__.py +0 -0
  150. kerykeion-5.1.9/tests/aspects/expected_natal_aspects.py +1565 -0
  151. kerykeion-5.1.9/tests/aspects/expected_synastry_aspects.py +3269 -0
  152. kerykeion-5.1.9/tests/aspects/test_natal_aspects.py +36 -0
  153. kerykeion-5.1.9/tests/aspects/test_synastry_aspects.py +34 -0
  154. kerykeion-5.1.9/tests/charts/__init__.py +0 -0
  155. kerykeion-5.1.9/tests/charts/compare_svg_lines.py +41 -0
  156. kerykeion-5.1.9/tests/charts/svg/Albert Einstein - Natal Chart.svg +863 -0
  157. kerykeion-5.1.9/tests/charts/svg/Amitabh Bachchan - Natal Chart.svg +863 -0
  158. kerykeion-5.1.9/tests/charts/svg/Angelina Jolie and Brad Pitt Composite Chart - Black and White Theme - Composite Chart.svg +898 -0
  159. kerykeion-5.1.9/tests/charts/svg/Angelina Jolie and Brad Pitt Composite Chart - Composite Chart.svg +863 -0
  160. kerykeion-5.1.9/tests/charts/svg/Antonio Banderas - Natal Chart.svg +863 -0
  161. kerykeion-5.1.9/tests/charts/svg/Cristiano Ronaldo - Natal Chart.svg +863 -0
  162. kerykeion-5.1.9/tests/charts/svg/Hua Chenyu - Natal Chart.svg +863 -0
  163. kerykeion-5.1.9/tests/charts/svg/Jeanne Moreau - Natal Chart.svg +863 -0
  164. kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Natal Chart - Aspect Grid Only.svg +709 -0
  165. kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Natal Chart - Wheel Only.svg +766 -0
  166. kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Natal Chart.svg +863 -0
  167. kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Synastry Chart - Aspect Grid Only.svg +709 -0
  168. kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Synastry Chart - Grid.svg +854 -0
  169. kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Synastry Chart - List.svg +854 -0
  170. kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Synastry Chart - Wheel Only.svg +766 -0
  171. kerykeion-5.1.9/tests/charts/svg/John Lennon - Aspect Grid Dark Synastry - Synastry Chart - Aspect Grid Only.svg +756 -0
  172. kerykeion-5.1.9/tests/charts/svg/John Lennon - Aspect Grid Dark Theme - Natal Chart - Aspect Grid Only.svg +756 -0
  173. kerykeion-5.1.9/tests/charts/svg/John Lennon - Aspect Grid Light Theme - Natal Chart - Aspect Grid Only.svg +756 -0
  174. kerykeion-5.1.9/tests/charts/svg/John Lennon - Aspect Grid Only - Natal Chart - Aspect Grid Only.svg +709 -0
  175. kerykeion-5.1.9/tests/charts/svg/John Lennon - Aspect Grid Synastry - Synastry Chart - Aspect Grid Only.svg +709 -0
  176. kerykeion-5.1.9/tests/charts/svg/John Lennon - Aspect Grid Transit - Transit Chart - Aspect Grid Only.svg +709 -0
  177. kerykeion-5.1.9/tests/charts/svg/John Lennon - Black and White Theme - DualReturnChart Chart - Solar Return.svg +898 -0
  178. kerykeion-5.1.9/tests/charts/svg/John Lennon - Black and White Theme - Natal Chart.svg +898 -0
  179. kerykeion-5.1.9/tests/charts/svg/John Lennon - Black and White Theme - Synastry Chart.svg +889 -0
  180. kerykeion-5.1.9/tests/charts/svg/John Lennon - Black and White Theme - Transit Chart.svg +898 -0
  181. kerykeion-5.1.9/tests/charts/svg/John Lennon - DTS - Synastry Chart.svg +901 -0
  182. kerykeion-5.1.9/tests/charts/svg/John Lennon - Dark High Contrast Theme - Natal Chart.svg +909 -0
  183. kerykeion-5.1.9/tests/charts/svg/John Lennon - Dark Theme - Natal Chart.svg +910 -0
  184. kerykeion-5.1.9/tests/charts/svg/John Lennon - Dark Theme External - Natal Chart.svg +946 -0
  185. kerykeion-5.1.9/tests/charts/svg/John Lennon - DualReturnChart Chart - Lunar Return.svg +863 -0
  186. kerykeion-5.1.9/tests/charts/svg/John Lennon - DualReturnChart Chart - Solar Return.svg +863 -0
  187. kerykeion-5.1.9/tests/charts/svg/John Lennon - ExternalNatal - Natal Chart.svg +899 -0
  188. kerykeion-5.1.9/tests/charts/svg/John Lennon - Heliocentric - Natal Chart.svg +863 -0
  189. kerykeion-5.1.9/tests/charts/svg/John Lennon - House System Morinus - Natal Chart.svg +863 -0
  190. kerykeion-5.1.9/tests/charts/svg/John Lennon - Light Theme - Natal Chart.svg +910 -0
  191. kerykeion-5.1.9/tests/charts/svg/John Lennon - Minified - Natal Chart.svg +1 -0
  192. kerykeion-5.1.9/tests/charts/svg/John Lennon - Natal Chart.svg +863 -0
  193. kerykeion-5.1.9/tests/charts/svg/John Lennon - SCTWL - Synastry Chart.svg +901 -0
  194. kerykeion-5.1.9/tests/charts/svg/John Lennon - TCWTG - Transit Chart.svg +910 -0
  195. kerykeion-5.1.9/tests/charts/svg/John Lennon - Topocentric - Natal Chart.svg +863 -0
  196. kerykeion-5.1.9/tests/charts/svg/John Lennon - Transit Chart.svg +863 -0
  197. kerykeion-5.1.9/tests/charts/svg/John Lennon - Transparent Background - Natal Chart.svg +863 -0
  198. kerykeion-5.1.9/tests/charts/svg/John Lennon - True Geocentric - Natal Chart.svg +863 -0
  199. kerykeion-5.1.9/tests/charts/svg/John Lennon - Wheel External Only - ExternalNatal Chart - Wheel Only.svg +802 -0
  200. kerykeion-5.1.9/tests/charts/svg/John Lennon - Wheel Only - Natal Chart - Wheel Only.svg +766 -0
  201. kerykeion-5.1.9/tests/charts/svg/John Lennon - Wheel Synastry Only - Synastry Chart - Wheel Only.svg +766 -0
  202. kerykeion-5.1.9/tests/charts/svg/John Lennon - Wheel Transit Only - Transit Chart - Wheel Only.svg +766 -0
  203. kerykeion-5.1.9/tests/charts/svg/John Lennon DeLuce - Natal Chart.svg +863 -0
  204. kerykeion-5.1.9/tests/charts/svg/John Lennon Fagan-Bradley - Light Theme - Natal Chart - Wheel Only.svg +813 -0
  205. kerykeion-5.1.9/tests/charts/svg/John Lennon Fagan-Bradley - Natal Chart.svg +863 -0
  206. kerykeion-5.1.9/tests/charts/svg/John Lennon J2000 - Natal Chart.svg +863 -0
  207. kerykeion-5.1.9/tests/charts/svg/John Lennon Lahiri - Dark Theme - Natal Chart - Wheel Only.svg +813 -0
  208. kerykeion-5.1.9/tests/charts/svg/John Lennon Lahiri - Natal Chart.svg +863 -0
  209. kerykeion-5.1.9/tests/charts/svg/John Lennon Lunar Return - SingleReturnChart Chart.svg +863 -0
  210. kerykeion-5.1.9/tests/charts/svg/John Lennon Solar Return - Black and White Theme - SingleReturnChart Chart.svg +898 -0
  211. kerykeion-5.1.9/tests/charts/svg/John Lennon Solar Return - SingleReturnChart Chart.svg +863 -0
  212. kerykeion-5.1.9/tests/charts/svg/Kanye - Natal Chart.svg +863 -0
  213. kerykeion-5.1.9/tests/charts/svg/Mehmet Oz - Natal Chart.svg +863 -0
  214. kerykeion-5.1.9/tests/charts/svg/Mikhail Bulgakov - Natal Chart.svg +863 -0
  215. kerykeion-5.1.9/tests/charts/svg/Moon Phases.svg +102 -0
  216. kerykeion-5.1.9/tests/charts/svg/Sophia Loren - Natal Chart.svg +863 -0
  217. kerykeion-5.1.9/tests/charts/test_charts.py +881 -0
  218. kerykeion-5.1.9/tests/charts/test_draw_planets.py +992 -0
  219. kerykeion-5.1.9/tests/charts/test_lunar_phase_svg.py +51 -0
  220. kerykeion-5.1.9/tests/data/__init__.py +11 -0
  221. kerykeion-5.1.9/tests/data/expected_astrological_subjects.py +652 -0
  222. kerykeion-5.1.9/tests/settings/test_settings.py +58 -0
  223. kerykeion-5.1.9/tests/test_all_active_points.py +68 -0
  224. kerykeion-5.1.9/tests/test_astrological_subject.py +1531 -0
  225. kerykeion-5.1.9/tests/test_astrological_subject_jyotish.py +378 -0
  226. kerykeion-5.1.9/tests/test_backward_compatibility.py +177 -0
  227. kerykeion-5.1.9/tests/test_backword.py +179 -0
  228. kerykeion-5.1.9/tests/test_chart_data_factory.py +590 -0
  229. kerykeion-5.1.9/tests/test_chart_data_factory_complete.py +147 -0
  230. kerykeion-5.1.9/tests/test_chart_drawer_complete.py +469 -0
  231. kerykeion-5.1.9/tests/test_composite_subject_factory_complete.py +317 -0
  232. kerykeion-5.1.9/tests/test_ephemeris_data.py +28 -0
  233. kerykeion-5.1.9/tests/test_ephemeris_data_factory_complete.py +373 -0
  234. kerykeion-5.1.9/tests/test_fetch_geonames.py +73 -0
  235. kerykeion-5.1.9/tests/test_json_dump.py +102 -0
  236. kerykeion-5.1.9/tests/test_planetary_return_factory_complete.py +483 -0
  237. kerykeion-5.1.9/tests/test_relationship_score.py +44 -0
  238. kerykeion-5.1.9/tests/test_relationship_score_factory_complete.py +392 -0
  239. kerykeion-5.1.9/tests/test_report.py +135 -0
  240. kerykeion-5.1.9/tests/test_transits_time_range_factory_complete.py +203 -0
  241. kerykeion-5.1.9/tests/test_utc.py +43 -0
  242. kerykeion-5.1.9/tests/test_utilities.py +163 -0
  243. kerykeion-5.1.9/uv.lock +970 -0
  244. kerykeion-5.1.9/workspace/README.md +93 -0
  245. kerykeion-5.1.9/workspace/main.py +76 -0
  246. kerykeion-4.0.7/PKG-INFO +0 -256
  247. kerykeion-4.0.7/README.md +0 -220
  248. kerykeion-4.0.7/kerykeion/__init__.py +0 -108
  249. kerykeion-4.0.7/kerykeion/aspects/natal_aspects.py +0 -305
  250. kerykeion-4.0.7/kerykeion/aspects/synastry_aspects.py +0 -85
  251. kerykeion-4.0.7/kerykeion/astrological_subject.py +0 -561
  252. kerykeion-4.0.7/kerykeion/charts/charts_utils.py +0 -110
  253. kerykeion-4.0.7/kerykeion/charts/kerykeion_chart_svg.py +0 -1554
  254. kerykeion-4.0.7/kerykeion/charts/templates/chart.xml +0 -490
  255. kerykeion-4.0.7/kerykeion/fetch_geonames.py +0 -149
  256. kerykeion-4.0.7/kerykeion/kr_types/__init__.py +0 -5
  257. kerykeion-4.0.7/kerykeion/kr_types/chart_types.py +0 -97
  258. kerykeion-4.0.7/kerykeion/kr_types/kr_literals.py +0 -58
  259. kerykeion-4.0.7/kerykeion/kr_types/kr_models.py +0 -176
  260. kerykeion-4.0.7/kerykeion/kr_types/settings_models.py +0 -187
  261. kerykeion-4.0.7/kerykeion/relationship_score.py +0 -211
  262. kerykeion-4.0.7/kerykeion/report.py +0 -88
  263. kerykeion-4.0.7/kerykeion/settings/__init__.py +0 -1
  264. kerykeion-4.0.7/kerykeion/settings/kerykeion_settings.py +0 -74
  265. kerykeion-4.0.7/kerykeion/settings/kr.config.json +0 -525
  266. kerykeion-4.0.7/kerykeion/utilities.py +0 -208
  267. kerykeion-4.0.7/pyproject.toml +0 -91
  268. {kerykeion-4.0.7 → kerykeion-5.1.9}/LICENSE +0 -0
  269. {kerykeion-4.0.7 → kerykeion-5.1.9}/kerykeion/sweph/README.md +0 -0
  270. {kerykeion-4.0.7 → kerykeion-5.1.9}/kerykeion/sweph/seas_18.se1 +0 -0
@@ -0,0 +1,17 @@
1
+ # Coverage configuration file
2
+ # This file provides additional configuration options for coverage.py
3
+ # The main configuration is in pyproject.toml
4
+
5
+ [run]
6
+ # Additional run configuration can go here
7
+ # Most configuration is already in pyproject.toml
8
+
9
+ [html]
10
+ # HTML report configuration
11
+ title = "Kerykeion Test Coverage Report"
12
+
13
+ [report]
14
+ # Exclude patterns from coverage reports
15
+ exclude_lines =
16
+ pragma: no cover
17
+ ^\s*if __name__ == ['"]__main__['"]:\s*$
@@ -0,0 +1,13 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4
+ patreon: # Replace with a single Patreon username
5
+ open_collective: # Replace with a single Open Collective username
6
+ ko_fi: kerykeion
7
+ tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8
+ community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+ liberapay: # Replace with a single Liberapay username
10
+ issuehunt: # Replace with a single IssueHunt username
11
+ otechie: # Replace with a single Otechie username
12
+ lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13
+ custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
@@ -0,0 +1,75 @@
1
+ # Compiled source #
2
+ ###################
3
+ *.com
4
+ *.class
5
+ *.dll
6
+ *.exe
7
+ *.o
8
+ *.so
9
+
10
+ # Packages #
11
+ ############
12
+ # it's better to unpack these files and commit the raw source
13
+ # git has its own built in compression methods
14
+ *.7z
15
+ *.dmg
16
+ *.gz
17
+ *.iso
18
+ *.jar
19
+ *.rar
20
+ *.tar
21
+ *.zip
22
+
23
+ # Logs and databases #
24
+ ######################
25
+ *.log
26
+ *.sql
27
+ *.sqlite
28
+
29
+ # OS generated files #
30
+ ######################
31
+ .DS_Store
32
+ .DS_Store?
33
+ ._*
34
+ .Spotlight-V100
35
+ .Trashes
36
+ ehthumbs.db
37
+ Thumbs.db
38
+
39
+ # Folders #
40
+ ###########
41
+
42
+ __pycache__
43
+ venv
44
+ .vscode
45
+ mecuriusastro.egg-info
46
+ kerykeion.egg-info
47
+ build/
48
+ dist/
49
+ .geonames_cache
50
+ .kerykeion
51
+ kr_venv
52
+ request_cache
53
+ Pipfile
54
+ .mypy_cache
55
+
56
+ # Coverage reports
57
+ htmlcov/
58
+ .coverage
59
+ .coverage.*
60
+ coverage.xml
61
+ *.cover
62
+ *.py,cover
63
+ .hypothesis/
64
+ .pytest_cache/
65
+
66
+ *.patch
67
+
68
+ # Personal workspace #
69
+ ######################
70
+ # Ignore all files in workspace except README.md and main.py
71
+ workspace/*
72
+ !workspace/README.md
73
+ !workspace/main.py
74
+ .swp
75
+ John Lennon - Synastry Chart.svg
@@ -0,0 +1,119 @@
1
+ # Changelog
2
+
3
+ ## 4.2.0
4
+
5
+ _Released 08/01/2023_
6
+
7
+ **Bugfixes:**
8
+
9
+ - fixing float-int presidence bug
10
+
11
+ **Dependency Updates:**
12
+
13
+ - Updated `pydantic` to `2.5`
14
+
15
+ **Credits:**
16
+
17
+ - Thanks to @jackklika for the PR, more details [here](https://github.com/g-battaglia/kerykeion/pull/98)
18
+
19
+ ## 4.4.0
20
+
21
+ _Released 05/03/2024_
22
+
23
+ **New Features:**
24
+
25
+ Allow UTC datetime to be passed in the constructor as an alternative to year, month, day, hour, minute and timezone (#108)
26
+
27
+ **Credits:**
28
+
29
+ - Thanks to @jackklika for the PR, more details [here](https://github.com/g-battaglia/kerykeion/pull/108)
30
+
31
+ ## 4.5.0
32
+
33
+ - _AstrologicalSubject_ Is now possible to disable Chiron calculation with `disable_chiron=True` for better compatibility with older dates.
34
+ - New module enums added for better type hinting, still to be expanded and really used.
35
+
36
+ ## 4.5.1
37
+
38
+ - Fixed | bug for compatibility with Python 3.9
39
+
40
+ ## 4.6.0
41
+
42
+ - Now the `lunar_phase` contains also the `lunar_phase_name` property, which is a string representation of the phase.
43
+ - Minor general cleanup and refactoring of the codebase.
44
+
45
+ ## 4.7.0
46
+
47
+ A lot of refactoring and clean up.
48
+ `Fix`: In the old version the 4 last planets of the Transit chart were always removed, now we check if those are Axes and then
49
+ remove them.
50
+
51
+ ## 4.8.0
52
+
53
+ Added the optional `minify` argument to makeTemplate in the charts module.
54
+
55
+ ## 4.10.0
56
+
57
+ - Added the `sidereal_mode` argument to the `AstrologicalChart` class to allow differet Ayanamsa calculation methods.
58
+
59
+ ## 4.11.0
60
+
61
+ - Added different House Systems to the `AstrologicalChart` class.
62
+
63
+ ## 4.14.0
64
+
65
+ - Added Lilith to astrological calculations and chart rendering.
66
+ - Deprecated `disable_chiron` in favor of `disable_chiron_and_lilith` with deprecation warning.
67
+ - Updated configuration in `kr.config.json` for Lilith settings.
68
+
69
+ ## 4.16.0
70
+
71
+ - Added themed astrological charts (`theme` parameter), including Classic, Dark, Dark High Contrast, and Light themes.
72
+ - Added wheel-only charts and separate aspect table SVG.
73
+ - Added grid view for aspect tables in synastry and transit charts.
74
+
75
+ ## 4.17.0
76
+
77
+ - Added `chart_language` parameter to set chart language (EN, FR, PT, ES, TR, RU, IT, CN, DE).
78
+ - Enhanced `get_settings` function to accept a dictionary or `KerykeionSettingsModel` instance.
79
+
80
+ ## 4.19.0
81
+
82
+ - Added support for True and Mean Lunar Nodes (`true_node`, `true_south_node`, `mean_node`, `mean_south_node`).
83
+ - Default activation of mean nodes; configurable activation of true nodes via `kr.config.json`.
84
+
85
+ ## 4.21.0
86
+
87
+ - Customizable Geonames cache timeout (default extended from 24 hours to 30 days).
88
+
89
+ **Credits:**
90
+
91
+ - Thanks to @tomshaffner for the idea and implementation.
92
+
93
+ ## 4.22.0
94
+
95
+ - Explicit calculation of Ascendant (AC), Descendant (DC), Midheaven (MC), and Imum Coeli (IC) axes.
96
+ - Introduced `axial_cusps_names_list` parameter and replaced `check_if_between` with `is_point_between` utility.
97
+ - Configuration updates for axes in `kr.config.json`.
98
+
99
+ **Credits:**
100
+
101
+ - Thanks to @fkostadinov for implementing these changes in PR #138.
102
+
103
+ ## 4.23.0
104
+
105
+ - Added `active_points` parameter to `KerykeionChartSVG` for runtime specification of active planets and axial cusps.
106
+
107
+ ## 4.24.0
108
+
109
+ - Added `active_aspects` parameter to `KerykeionChartSVG` for runtime specification of active aspects and orbs.
110
+
111
+ ## 4.25.0
112
+
113
+ - Added composite charts feature: create composite subjects and charts using the midpoint method.
114
+
115
+ ## 4.26.0
116
+
117
+ - Introduced `TransitsTimeRangeFactory` for calculating transit events across specified time ranges.
118
+ - Added `get_ephemeris_data_as_astrological_subjects` method in `EphemerisDataFactory`.
119
+ - Added `p*_owner` fields in aspect models for subject identification in `natal_aspects` and `synastry_aspects`.
@@ -0,0 +1,256 @@
1
+ # 🛠️ Development Setup Guide
2
+
3
+ Welcome to Kerykeion! This guide will help you set up your development environment to contribute to this astrology library.
4
+
5
+ ## 📋 Prerequisites
6
+
7
+ Before you begin, ensure you have the following installed:
8
+
9
+ - **Python 3.9 or higher** - Check with `python --version`
10
+ - **Git** - For cloning the repository
11
+ - **uv** - Ultra-fast Python package manager (replaces pip/poetry)
12
+
13
+ ### Installing uv
14
+
15
+ If you don't have uv installed, follow the installation instructions at the official website:
16
+
17
+ **👉 [https://docs.astral.sh/uv/getting-started/installation/](https://docs.astral.sh/uv/getting-started/installation/)**
18
+
19
+ ## 🚀 Quick Start
20
+
21
+ 1. **Clone the repository**
22
+ ```bash
23
+ git clone https://github.com/g-battaglia/kerykeion.git
24
+ cd kerykeion
25
+ ```
26
+
27
+ 2. **Install dependencies**
28
+ ```bash
29
+ # This creates a virtual environment and installs all dependencies
30
+ uv sync --dev
31
+ ```
32
+
33
+ 3. **Verify installation**
34
+ ```bash
35
+ # Test that kerykeion can be imported
36
+ uv run python -c "import kerykeion; print('✅ Setup successful!')"
37
+ ```
38
+
39
+ ## 🧪 Development Commands
40
+
41
+ Kerykeion uses [poethepoet](https://github.com/nat-n/poethepoet) as a task runner. All tasks are defined in `pyproject.toml`.
42
+
43
+ ### Running Tests
44
+ ```bash
45
+ # Run all tests
46
+ uv run poe test
47
+
48
+ # Run tests without output capture (useful for debugging)
49
+ uv run poe test-no-capture
50
+
51
+ # Run tests excluding chart generation tests
52
+ uv run poe test-nocharts
53
+
54
+ # Run specific test file
55
+ uv run pytest tests/test_astrological_subject.py
56
+
57
+ # Run tests with coverage
58
+ uv run pytest --cov=kerykeion
59
+ ```
60
+
61
+ ### Code Quality
62
+ ```bash
63
+ # Format code with Black
64
+ uv run poe format
65
+
66
+ # Format all code (including tests)
67
+ uv run poe format:all
68
+
69
+ # Type checking with MyPy
70
+ uv run poe analize
71
+
72
+ # Lint with specific tools
73
+ uv run black --check kerykeion/
74
+ uv run mypy kerykeion/
75
+ ```
76
+
77
+ ### Documentation
78
+ ```bash
79
+ # Generate documentation
80
+ uv run poe docs
81
+
82
+ # The docs will be generated in the ./docs folder
83
+ # Open docs/index.html in your browser to view them
84
+ ```
85
+
86
+ ## 📁 Project Structure
87
+
88
+ ```
89
+ kerykeion/
90
+ ├── kerykeion/ # Main package
91
+ │ ├── __init__.py
92
+ │ ├── aspects/ # Astrological aspects
93
+ │ ├── charts/ # Chart generation
94
+ │ ├── schemas/ # Type definitions
95
+ │ ├── settings/ # Configuration
96
+ │ └── ...
97
+ ├── tests/ # Test suite
98
+ ├── examples/ # Usage examples
99
+ ├── docs/ # Generated documentation
100
+ ├── pyproject.toml # Project configuration
101
+ ├── uv.lock # Dependency lock file
102
+ └── README.md
103
+ ```
104
+
105
+ ## 🔧 Adding Dependencies
106
+
107
+ ### Production Dependencies
108
+ ```bash
109
+ # Add a new dependency
110
+ uv add requests
111
+
112
+ # Add with specific version
113
+ uv add "pydantic>=2.0.0"
114
+ ```
115
+
116
+ ### Development Dependencies
117
+ ```bash
118
+ # Add development dependency
119
+ uv add --group dev pytest-mock
120
+
121
+ # Add to specific group
122
+ uv add --group test pytest-benchmark
123
+ ```
124
+
125
+ ## 🌟 Development Workflow
126
+
127
+ 1. **Create a feature branch**
128
+ ```bash
129
+ git checkout -b feature/your-feature-name
130
+ ```
131
+
132
+ 2. **Make your changes**
133
+ - Write code following the existing style
134
+ - Add tests for new functionality
135
+ - Update documentation if needed
136
+
137
+ 3. **Test your changes**
138
+ ```bash
139
+ # Run tests
140
+ uv run poe test
141
+
142
+ # Check code style
143
+ uv run poe format
144
+ uv run poe analize
145
+ ```
146
+
147
+ 4. **Commit and push**
148
+ ```bash
149
+ git add .
150
+ git commit -m "feat: add your feature description"
151
+ git push origin feature/your-feature-name
152
+ ```
153
+
154
+ 5. **Create a Pull Request**
155
+ - Go to GitHub and create a PR
156
+ - Ensure all CI checks pass
157
+
158
+ ## 🐛 Debugging
159
+
160
+ ### Running Python Scripts
161
+ ```bash
162
+ # Run any Python script with the project environment
163
+ uv run python your_script.py
164
+
165
+ # Start interactive Python with all dependencies
166
+ uv run python
167
+ ```
168
+
169
+ ### Common Issues
170
+
171
+ **Issue: Import errors**
172
+ ```bash
173
+ # Make sure you're using uv run
174
+ uv run python -c "import kerykeion"
175
+ ```
176
+
177
+ **Issue: Dependencies not found**
178
+ ```bash
179
+ # Resync dependencies
180
+ uv sync --dev
181
+ ```
182
+
183
+ **Issue: Tests failing**
184
+ ```bash
185
+ # Run tests with verbose output
186
+ uv run pytest -v
187
+
188
+ # Run specific test with debugging
189
+ uv run pytest tests/test_specific.py -s -vvv
190
+ ```
191
+
192
+ ## 📊 Code Style Guidelines
193
+
194
+ - **Line length**: 120 characters (configured in Black)
195
+ - **Type hints**: Required for public APIs
196
+ - **Docstrings**: Use Google style for all public functions
197
+ - **Testing**: Aim for >90% code coverage
198
+
199
+ ### Example Function
200
+ ```python
201
+ def calculate_aspect(planet1: Planet, planet2: Planet) -> AspectData:
202
+ """Calculate the aspect between two planets.
203
+
204
+ Args:
205
+ planet1: The first planet
206
+ planet2: The second planet
207
+
208
+ Returns:
209
+ AspectData containing the calculated aspect information
210
+
211
+ Raises:
212
+ ValueError: If planets are invalid
213
+ """
214
+ # Implementation here
215
+ pass
216
+ ```
217
+
218
+ ## 🤝 Contributing
219
+
220
+ 1. Check the [Issues](https://github.com/g-battaglia/kerykeion/issues) for open tasks
221
+ 2. Look for issues labeled `good first issue` if you're new
222
+ 3. Comment on an issue before starting work
223
+ 4. Follow the development workflow above
224
+ 5. Be patient and responsive during code review
225
+
226
+ ## 📞 Getting Help
227
+
228
+ - **Documentation**: [kerykeion.net](https://www.kerykeion.net/)
229
+ - **Issues**: [GitHub Issues](https://github.com/g-battaglia/kerykeion/issues)
230
+ - **Discussions**: [GitHub Discussions](https://github.com/g-battaglia/kerykeion/discussions)
231
+
232
+ ## 🔄 Updating Dependencies
233
+
234
+ ```bash
235
+ # Update all dependencies to latest compatible versions
236
+ uv sync --upgrade
237
+
238
+ # Update specific dependency
239
+ uv add "requests>=2.32.0" --upgrade
240
+
241
+ # Check for outdated dependencies
242
+ uv tree
243
+ ```
244
+
245
+ ## 🏗️ Building the Package
246
+
247
+ ```bash
248
+ # Build wheel and source distribution
249
+ uv build
250
+
251
+ # The built packages will be in the dist/ folder
252
+ ```
253
+
254
+ ---
255
+
256
+ **Happy coding! 🚀** If you encounter any issues with this setup, please open an issue on GitHub.
@@ -0,0 +1,5 @@
1
+ include README.md
2
+ include LICENSE.txt
3
+ recursive-include kerykeion *.xml
4
+ recursive-include kerykeion *.json
5
+ recursive-include kerykeion *.se1