kerykeion 4.24.4__tar.gz → 4.24.6__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-4.24.4 → kerykeion-4.24.6}/PKG-INFO +1 -1
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/charts/charts_utils.py +1 -3
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/charts/templates/chart.xml +1 -1
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/settings/kerykeion_settings.py +19 -2
- {kerykeion-4.24.4 → kerykeion-4.24.6}/pyproject.toml +1 -1
- {kerykeion-4.24.4 → kerykeion-4.24.6}/LICENSE +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/README.md +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/__init__.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/aspects/__init__.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/aspects/aspects_utils.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/aspects/natal_aspects.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/aspects/synastry_aspects.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/astrological_subject.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/charts/__init__.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/charts/draw_planets.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/charts/kerykeion_chart_svg.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/charts/templates/aspect_grid_only.xml +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/charts/templates/wheel_only.xml +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/charts/themes/classic.css +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/charts/themes/dark-high-contrast.css +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/charts/themes/dark.css +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/charts/themes/light.css +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/enums.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/ephemeris_data.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/fetch_geonames.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/kr_types/__init__.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/kr_types/chart_types.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/kr_types/kerykeion_exception.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/kr_types/kr_literals.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/kr_types/kr_models.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/kr_types/settings_models.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/relationship_score/__init__.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/relationship_score/relationship_score.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/relationship_score/relationship_score_factory.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/report.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/settings/__init__.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/settings/config_constants.py +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/settings/kr.config.json +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/sweph/README.md +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/sweph/seas_18.se1 +0 -0
- {kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/utilities.py +0 -0
|
@@ -758,10 +758,8 @@ def draw_transit_aspect_list(
|
|
|
758
758
|
inner_path += f"</g>"
|
|
759
759
|
line = line + 14
|
|
760
760
|
|
|
761
|
-
out = f'<
|
|
762
|
-
out += f'<text y="-15" x="0" style="fill: var(--kerykeion-chart-color-paper-0); font-size: 14px;">{grid_title}:</text>'
|
|
761
|
+
out = f'<text y="-15" x="0" style="fill: var(--kerykeion-chart-color-paper-0); font-size: 14px;">{grid_title}:</text>'
|
|
763
762
|
out += inner_path
|
|
764
|
-
out += "</g>"
|
|
765
763
|
|
|
766
764
|
return out
|
|
767
765
|
|
|
@@ -9,6 +9,7 @@ import logging
|
|
|
9
9
|
from pathlib import Path
|
|
10
10
|
from typing import Dict, Union
|
|
11
11
|
from kerykeion.kr_types import KerykeionSettingsModel
|
|
12
|
+
import functools
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
def get_settings(new_settings_file: Union[Path, None, KerykeionSettingsModel, dict] = None) -> KerykeionSettingsModel:
|
|
@@ -47,8 +48,7 @@ def get_settings(new_settings_file: Union[Path, None, KerykeionSettingsModel, di
|
|
|
47
48
|
settings_file = Path(__file__).parent / "kr.config.json"
|
|
48
49
|
|
|
49
50
|
logging.debug(f"Kerykeion config file path: {settings_file}")
|
|
50
|
-
|
|
51
|
-
settings_dict = load(f)
|
|
51
|
+
settings_dict = load_settings_file(settings_file)
|
|
52
52
|
|
|
53
53
|
return KerykeionSettingsModel(**settings_dict)
|
|
54
54
|
|
|
@@ -69,6 +69,23 @@ def merge_settings(settings: KerykeionSettingsModel, new_settings: Dict) -> Kery
|
|
|
69
69
|
return KerykeionSettingsModel(**new_settings_dict)
|
|
70
70
|
|
|
71
71
|
|
|
72
|
+
@functools.lru_cache
|
|
73
|
+
def load_settings_file(settings_file_path: str) -> dict:
|
|
74
|
+
"""
|
|
75
|
+
This function is used to load the settings file from a path.
|
|
76
|
+
|
|
77
|
+
Args:
|
|
78
|
+
settings_file (Path): The path of the settings file
|
|
79
|
+
|
|
80
|
+
Returns:
|
|
81
|
+
dict: The settings dict
|
|
82
|
+
"""
|
|
83
|
+
with open(settings_file_path, "r", encoding="utf8") as f:
|
|
84
|
+
settings_dict = load(f)
|
|
85
|
+
|
|
86
|
+
return settings_dict
|
|
87
|
+
|
|
88
|
+
|
|
72
89
|
if __name__ == "__main__":
|
|
73
90
|
from kerykeion.utilities import setup_logging
|
|
74
91
|
setup_logging(level="debug")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kerykeion-4.24.4 → kerykeion-4.24.6}/kerykeion/relationship_score/relationship_score_factory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|