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.
- kerykeion-5.1.9/.coveragerc +17 -0
- kerykeion-5.1.9/.github/FUNDING.yml +13 -0
- kerykeion-5.1.9/.gitignore +75 -0
- kerykeion-5.1.9/CHANGELOG.md +119 -0
- kerykeion-5.1.9/DEVELOPMENT.md +256 -0
- kerykeion-5.1.9/MANIFEST.in +5 -0
- kerykeion-5.1.9/PKG-INFO +1793 -0
- kerykeion-5.1.9/README.md +1753 -0
- kerykeion-5.1.9/TODO.md +54 -0
- kerykeion-5.1.9/docs/index.html +7 -0
- kerykeion-5.1.9/docs/kerykeion/aspects/aspects_utils.html +487 -0
- kerykeion-5.1.9/docs/kerykeion/aspects/natal_aspects.html +804 -0
- kerykeion-5.1.9/docs/kerykeion/aspects/synastry_aspects.html +744 -0
- kerykeion-5.1.9/docs/kerykeion/aspects/transits_time_range.html +422 -0
- kerykeion-5.1.9/docs/kerykeion/aspects.html +260 -0
- kerykeion-5.1.9/docs/kerykeion/astrological_subject.html +3487 -0
- kerykeion-5.1.9/docs/kerykeion/charts/charts_utils.html +3141 -0
- kerykeion-5.1.9/docs/kerykeion/charts/draw_planets.html +1083 -0
- kerykeion-5.1.9/docs/kerykeion/charts/kerykeion_chart_svg.html +3641 -0
- kerykeion-5.1.9/docs/kerykeion/charts.html +252 -0
- kerykeion-5.1.9/docs/kerykeion/composite_subject_factory.html +952 -0
- kerykeion-5.1.9/docs/kerykeion/enums.html +1152 -0
- kerykeion-5.1.9/docs/kerykeion/ephemeris_data.html +1238 -0
- kerykeion-5.1.9/docs/kerykeion/fetch_geonames.html +702 -0
- kerykeion-5.1.9/docs/kerykeion/kr_types/chart_types.html +1562 -0
- kerykeion-5.1.9/docs/kerykeion/kr_types/kerykeion_exception.html +323 -0
- kerykeion-5.1.9/docs/kerykeion/kr_types/kr_literals.html +797 -0
- kerykeion-5.1.9/docs/kerykeion/kr_types/kr_models.html +4076 -0
- kerykeion-5.1.9/docs/kerykeion/kr_types/settings_models.html +3267 -0
- kerykeion-5.1.9/docs/kerykeion/kr_types.html +257 -0
- kerykeion-5.1.9/docs/kerykeion/relationship_score/relationship_score.html +742 -0
- kerykeion-5.1.9/docs/kerykeion/relationship_score/relationship_score_factory.html +903 -0
- kerykeion-5.1.9/docs/kerykeion/relationship_score.html +244 -0
- kerykeion-5.1.9/docs/kerykeion/report.html +721 -0
- kerykeion-5.1.9/docs/kerykeion/settings/config_constants.html +325 -0
- kerykeion-5.1.9/docs/kerykeion/settings/kerykeion_settings.html +497 -0
- kerykeion-5.1.9/docs/kerykeion/settings.html +243 -0
- kerykeion-5.1.9/docs/kerykeion/transits_time_range.html +668 -0
- kerykeion-5.1.9/docs/kerykeion/utilities.html +1599 -0
- kerykeion-5.1.9/docs/kerykeion.html +13167 -0
- kerykeion-5.1.9/docs/search.js +46 -0
- kerykeion-5.1.9/examples/aspects_synastry.py +50 -0
- kerykeion-5.1.9/examples/composite_report_example.py +58 -0
- kerykeion-5.1.9/examples/current_time_report.py +17 -0
- kerykeion-5.1.9/examples/dual_return_report_example.py +47 -0
- kerykeion-5.1.9/examples/natal_report_example.py +31 -0
- kerykeion-5.1.9/examples/planetary_return.py +51 -0
- kerykeion-5.1.9/examples/quickstart_natal_chart.py +42 -0
- kerykeion-5.1.9/examples/solar_return_report_example.py +47 -0
- kerykeion-5.1.9/examples/subject_report_example.py +30 -0
- kerykeion-5.1.9/examples/synastry_report_example.py +51 -0
- kerykeion-5.1.9/examples/transit_report_example.py +51 -0
- kerykeion-5.1.9/examples/transits_time_range.py +69 -0
- kerykeion-5.1.9/kerykeion/__init__.py +63 -0
- {kerykeion-4.0.7 → kerykeion-5.1.9}/kerykeion/aspects/__init__.py +7 -4
- kerykeion-5.1.9/kerykeion/aspects/aspects_factory.py +568 -0
- kerykeion-5.1.9/kerykeion/aspects/aspects_utils.py +164 -0
- kerykeion-5.1.9/kerykeion/astrological_subject_factory.py +1901 -0
- kerykeion-5.1.9/kerykeion/backword.py +820 -0
- kerykeion-5.1.9/kerykeion/chart_data_factory.py +552 -0
- {kerykeion-4.0.7 → kerykeion-5.1.9}/kerykeion/charts/__init__.py +2 -2
- kerykeion-5.1.9/kerykeion/charts/chart_drawer.py +2794 -0
- kerykeion-5.1.9/kerykeion/charts/charts_utils.py +1840 -0
- kerykeion-5.1.9/kerykeion/charts/draw_planets.py +658 -0
- kerykeion-5.1.9/kerykeion/charts/templates/aspect_grid_only.xml +596 -0
- kerykeion-5.1.9/kerykeion/charts/templates/chart.xml +741 -0
- kerykeion-5.1.9/kerykeion/charts/templates/wheel_only.xml +653 -0
- kerykeion-5.1.9/kerykeion/charts/themes/black-and-white.css +148 -0
- kerykeion-5.1.9/kerykeion/charts/themes/classic.css +113 -0
- kerykeion-5.1.9/kerykeion/charts/themes/dark-high-contrast.css +159 -0
- kerykeion-5.1.9/kerykeion/charts/themes/dark.css +160 -0
- kerykeion-5.1.9/kerykeion/charts/themes/light.css +160 -0
- kerykeion-5.1.9/kerykeion/charts/themes/strawberry.css +158 -0
- kerykeion-5.1.9/kerykeion/composite_subject_factory.py +408 -0
- kerykeion-5.1.9/kerykeion/ephemeris_data_factory.py +443 -0
- kerykeion-5.1.9/kerykeion/fetch_geonames.py +199 -0
- kerykeion-5.1.9/kerykeion/house_comparison/__init__.py +6 -0
- kerykeion-5.1.9/kerykeion/house_comparison/house_comparison_factory.py +103 -0
- kerykeion-5.1.9/kerykeion/house_comparison/house_comparison_utils.py +126 -0
- kerykeion-5.1.9/kerykeion/kr_types/__init__.py +70 -0
- kerykeion-5.1.9/kerykeion/kr_types/chart_template_model.py +20 -0
- kerykeion-5.1.9/kerykeion/kr_types/kerykeion_exception.py +20 -0
- kerykeion-5.1.9/kerykeion/kr_types/kr_literals.py +20 -0
- kerykeion-5.1.9/kerykeion/kr_types/kr_models.py +20 -0
- kerykeion-5.1.9/kerykeion/kr_types/settings_models.py +20 -0
- kerykeion-5.1.9/kerykeion/planetary_return_factory.py +805 -0
- kerykeion-5.1.9/kerykeion/relationship_score_factory.py +301 -0
- kerykeion-5.1.9/kerykeion/report.py +779 -0
- kerykeion-5.1.9/kerykeion/schemas/__init__.py +106 -0
- kerykeion-5.1.9/kerykeion/schemas/chart_template_model.py +367 -0
- {kerykeion-4.0.7/kerykeion/kr_types → kerykeion-5.1.9/kerykeion/schemas}/kerykeion_exception.py +7 -1
- kerykeion-5.1.9/kerykeion/schemas/kr_literals.py +181 -0
- kerykeion-5.1.9/kerykeion/schemas/kr_models.py +603 -0
- kerykeion-5.1.9/kerykeion/schemas/settings_models.py +188 -0
- kerykeion-5.1.9/kerykeion/settings/__init__.py +20 -0
- kerykeion-5.1.9/kerykeion/settings/chart_defaults.py +444 -0
- kerykeion-5.1.9/kerykeion/settings/config_constants.py +152 -0
- kerykeion-5.1.9/kerykeion/settings/kerykeion_settings.py +51 -0
- kerykeion-5.1.9/kerykeion/settings/translation_strings.py +1499 -0
- kerykeion-5.1.9/kerykeion/settings/translations.py +74 -0
- kerykeion-5.1.9/kerykeion/sweph/ast136/s136108s.se1 +0 -0
- kerykeion-5.1.9/kerykeion/sweph/ast136/s136199s.se1 +0 -0
- kerykeion-5.1.9/kerykeion/sweph/ast136/s136472s.se1 +0 -0
- kerykeion-5.1.9/kerykeion/sweph/ast28/se28978s.se1 +0 -0
- kerykeion-5.1.9/kerykeion/sweph/ast50/se50000s.se1 +0 -0
- kerykeion-5.1.9/kerykeion/sweph/ast90/se90377s.se1 +0 -0
- kerykeion-5.1.9/kerykeion/sweph/ast90/se90482s.se1 +0 -0
- kerykeion-5.1.9/kerykeion/sweph/sefstars.txt +1602 -0
- kerykeion-5.1.9/kerykeion/transits_time_range_factory.py +302 -0
- kerykeion-5.1.9/kerykeion/utilities.py +776 -0
- kerykeion-5.1.9/pyproject.toml +151 -0
- kerykeion-5.1.9/release_notes/V4.14.0.md +64 -0
- kerykeion-5.1.9/release_notes/V4.16.0.md +40 -0
- kerykeion-5.1.9/release_notes/V4.17.0.md +44 -0
- kerykeion-5.1.9/release_notes/V4.19.0.md +40 -0
- kerykeion-5.1.9/release_notes/V4.21.0.md +8 -0
- kerykeion-5.1.9/release_notes/V4.22.0.md +31 -0
- kerykeion-5.1.9/release_notes/V4.23.0.md +51 -0
- kerykeion-5.1.9/release_notes/V4.24.0.md +73 -0
- kerykeion-5.1.9/release_notes/V4.25.0.md +40 -0
- kerykeion-5.1.9/release_notes/V4.26.0.md +66 -0
- kerykeion-5.1.9/release_notes/v5.0.0.md +495 -0
- kerykeion-5.1.9/release_notes/v5.0.0a.md +40 -0
- kerykeion-5.1.9/release_notes/v5.0.0b.md +67 -0
- kerykeion-5.1.9/release_notes/v5.1.0.md +60 -0
- kerykeion-5.1.9/scripts/README.md +3 -0
- kerykeion-5.1.9/scripts/__init__.py +0 -0
- kerykeion-5.1.9/scripts/quality_check.py +44 -0
- kerykeion-5.1.9/scripts/regenerate_expected_aspects.py +94 -0
- kerykeion-5.1.9/scripts/regenerate_expected_subjects.py +170 -0
- kerykeion-5.1.9/scripts/regenerate_synastry_aspects.py +44 -0
- kerykeion-5.1.9/scripts/regenerate_synastry_from_test.py +41 -0
- kerykeion-5.1.9/scripts/regenerate_test_charts.py +479 -0
- kerykeion-5.1.9/scripts/test_markdown_snippets.py +198 -0
- kerykeion-5.1.9/site-docs/aspects.md +1087 -0
- kerykeion-5.1.9/site-docs/astrological_subject_factory.md +1803 -0
- kerykeion-5.1.9/site-docs/chart_data_factory.md +1027 -0
- kerykeion-5.1.9/site-docs/charts.md +1089 -0
- kerykeion-5.1.9/site-docs/composite_subject_factory.md +584 -0
- kerykeion-5.1.9/site-docs/element_quality_distribution.md +103 -0
- kerykeion-5.1.9/site-docs/ephemeris_data_factory.md +516 -0
- kerykeion-5.1.9/site-docs/house_comparison.md +180 -0
- kerykeion-5.1.9/site-docs/planetary_return_factory.md +892 -0
- kerykeion-5.1.9/site-docs/relationship_score_factory.md +825 -0
- kerykeion-5.1.9/site-docs/report.md +355 -0
- kerykeion-5.1.9/site-docs/transits_time_range_factory.md +975 -0
- kerykeion-5.1.9/site-docs/utilities.md +906 -0
- kerykeion-5.1.9/tests/__init__.py +5 -0
- kerykeion-5.1.9/tests/aspects/__init__.py +0 -0
- kerykeion-5.1.9/tests/aspects/expected_natal_aspects.py +1565 -0
- kerykeion-5.1.9/tests/aspects/expected_synastry_aspects.py +3269 -0
- kerykeion-5.1.9/tests/aspects/test_natal_aspects.py +36 -0
- kerykeion-5.1.9/tests/aspects/test_synastry_aspects.py +34 -0
- kerykeion-5.1.9/tests/charts/__init__.py +0 -0
- kerykeion-5.1.9/tests/charts/compare_svg_lines.py +41 -0
- kerykeion-5.1.9/tests/charts/svg/Albert Einstein - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/Amitabh Bachchan - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/Angelina Jolie and Brad Pitt Composite Chart - Black and White Theme - Composite Chart.svg +898 -0
- kerykeion-5.1.9/tests/charts/svg/Angelina Jolie and Brad Pitt Composite Chart - Composite Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/Antonio Banderas - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/Cristiano Ronaldo - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/Hua Chenyu - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/Jeanne Moreau - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Natal Chart - Aspect Grid Only.svg +709 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Natal Chart - Wheel Only.svg +766 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Synastry Chart - Aspect Grid Only.svg +709 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Synastry Chart - Grid.svg +854 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Synastry Chart - List.svg +854 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - All Active Points - Synastry Chart - Wheel Only.svg +766 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Aspect Grid Dark Synastry - Synastry Chart - Aspect Grid Only.svg +756 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Aspect Grid Dark Theme - Natal Chart - Aspect Grid Only.svg +756 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Aspect Grid Light Theme - Natal Chart - Aspect Grid Only.svg +756 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Aspect Grid Only - Natal Chart - Aspect Grid Only.svg +709 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Aspect Grid Synastry - Synastry Chart - Aspect Grid Only.svg +709 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Aspect Grid Transit - Transit Chart - Aspect Grid Only.svg +709 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Black and White Theme - DualReturnChart Chart - Solar Return.svg +898 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Black and White Theme - Natal Chart.svg +898 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Black and White Theme - Synastry Chart.svg +889 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Black and White Theme - Transit Chart.svg +898 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - DTS - Synastry Chart.svg +901 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Dark High Contrast Theme - Natal Chart.svg +909 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Dark Theme - Natal Chart.svg +910 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Dark Theme External - Natal Chart.svg +946 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - DualReturnChart Chart - Lunar Return.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - DualReturnChart Chart - Solar Return.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - ExternalNatal - Natal Chart.svg +899 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Heliocentric - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - House System Morinus - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Light Theme - Natal Chart.svg +910 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Minified - Natal Chart.svg +1 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - SCTWL - Synastry Chart.svg +901 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - TCWTG - Transit Chart.svg +910 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Topocentric - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Transit Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Transparent Background - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - True Geocentric - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Wheel External Only - ExternalNatal Chart - Wheel Only.svg +802 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Wheel Only - Natal Chart - Wheel Only.svg +766 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Wheel Synastry Only - Synastry Chart - Wheel Only.svg +766 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon - Wheel Transit Only - Transit Chart - Wheel Only.svg +766 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon DeLuce - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon Fagan-Bradley - Light Theme - Natal Chart - Wheel Only.svg +813 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon Fagan-Bradley - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon J2000 - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon Lahiri - Dark Theme - Natal Chart - Wheel Only.svg +813 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon Lahiri - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon Lunar Return - SingleReturnChart Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon Solar Return - Black and White Theme - SingleReturnChart Chart.svg +898 -0
- kerykeion-5.1.9/tests/charts/svg/John Lennon Solar Return - SingleReturnChart Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/Kanye - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/Mehmet Oz - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/Mikhail Bulgakov - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/svg/Moon Phases.svg +102 -0
- kerykeion-5.1.9/tests/charts/svg/Sophia Loren - Natal Chart.svg +863 -0
- kerykeion-5.1.9/tests/charts/test_charts.py +881 -0
- kerykeion-5.1.9/tests/charts/test_draw_planets.py +992 -0
- kerykeion-5.1.9/tests/charts/test_lunar_phase_svg.py +51 -0
- kerykeion-5.1.9/tests/data/__init__.py +11 -0
- kerykeion-5.1.9/tests/data/expected_astrological_subjects.py +652 -0
- kerykeion-5.1.9/tests/settings/test_settings.py +58 -0
- kerykeion-5.1.9/tests/test_all_active_points.py +68 -0
- kerykeion-5.1.9/tests/test_astrological_subject.py +1531 -0
- kerykeion-5.1.9/tests/test_astrological_subject_jyotish.py +378 -0
- kerykeion-5.1.9/tests/test_backward_compatibility.py +177 -0
- kerykeion-5.1.9/tests/test_backword.py +179 -0
- kerykeion-5.1.9/tests/test_chart_data_factory.py +590 -0
- kerykeion-5.1.9/tests/test_chart_data_factory_complete.py +147 -0
- kerykeion-5.1.9/tests/test_chart_drawer_complete.py +469 -0
- kerykeion-5.1.9/tests/test_composite_subject_factory_complete.py +317 -0
- kerykeion-5.1.9/tests/test_ephemeris_data.py +28 -0
- kerykeion-5.1.9/tests/test_ephemeris_data_factory_complete.py +373 -0
- kerykeion-5.1.9/tests/test_fetch_geonames.py +73 -0
- kerykeion-5.1.9/tests/test_json_dump.py +102 -0
- kerykeion-5.1.9/tests/test_planetary_return_factory_complete.py +483 -0
- kerykeion-5.1.9/tests/test_relationship_score.py +44 -0
- kerykeion-5.1.9/tests/test_relationship_score_factory_complete.py +392 -0
- kerykeion-5.1.9/tests/test_report.py +135 -0
- kerykeion-5.1.9/tests/test_transits_time_range_factory_complete.py +203 -0
- kerykeion-5.1.9/tests/test_utc.py +43 -0
- kerykeion-5.1.9/tests/test_utilities.py +163 -0
- kerykeion-5.1.9/uv.lock +970 -0
- kerykeion-5.1.9/workspace/README.md +93 -0
- kerykeion-5.1.9/workspace/main.py +76 -0
- kerykeion-4.0.7/PKG-INFO +0 -256
- kerykeion-4.0.7/README.md +0 -220
- kerykeion-4.0.7/kerykeion/__init__.py +0 -108
- kerykeion-4.0.7/kerykeion/aspects/natal_aspects.py +0 -305
- kerykeion-4.0.7/kerykeion/aspects/synastry_aspects.py +0 -85
- kerykeion-4.0.7/kerykeion/astrological_subject.py +0 -561
- kerykeion-4.0.7/kerykeion/charts/charts_utils.py +0 -110
- kerykeion-4.0.7/kerykeion/charts/kerykeion_chart_svg.py +0 -1554
- kerykeion-4.0.7/kerykeion/charts/templates/chart.xml +0 -490
- kerykeion-4.0.7/kerykeion/fetch_geonames.py +0 -149
- kerykeion-4.0.7/kerykeion/kr_types/__init__.py +0 -5
- kerykeion-4.0.7/kerykeion/kr_types/chart_types.py +0 -97
- kerykeion-4.0.7/kerykeion/kr_types/kr_literals.py +0 -58
- kerykeion-4.0.7/kerykeion/kr_types/kr_models.py +0 -176
- kerykeion-4.0.7/kerykeion/kr_types/settings_models.py +0 -187
- kerykeion-4.0.7/kerykeion/relationship_score.py +0 -211
- kerykeion-4.0.7/kerykeion/report.py +0 -88
- kerykeion-4.0.7/kerykeion/settings/__init__.py +0 -1
- kerykeion-4.0.7/kerykeion/settings/kerykeion_settings.py +0 -74
- kerykeion-4.0.7/kerykeion/settings/kr.config.json +0 -525
- kerykeion-4.0.7/kerykeion/utilities.py +0 -208
- kerykeion-4.0.7/pyproject.toml +0 -91
- {kerykeion-4.0.7 → kerykeion-5.1.9}/LICENSE +0 -0
- {kerykeion-4.0.7 → kerykeion-5.1.9}/kerykeion/sweph/README.md +0 -0
- {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.
|