kerykeion 4.12.5__tar.gz → 4.12.7__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.
Potentially problematic release.
This version of kerykeion might be problematic. Click here for more details.
- {kerykeion-4.12.5 → kerykeion-4.12.7}/PKG-INFO +1 -1
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/astrological_subject.py +3 -3
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/kr_types/kr_models.py +2 -2
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/utilities.py +4 -2
- {kerykeion-4.12.5 → kerykeion-4.12.7}/pyproject.toml +1 -1
- {kerykeion-4.12.5 → kerykeion-4.12.7}/LICENSE +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/README.md +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/__init__.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/aspects/__init__.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/aspects/aspects_utils.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/aspects/natal_aspects.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/aspects/synastry_aspects.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/charts/__init__.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/charts/charts_utils.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/charts/kerykeion_chart_svg.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/charts/templates/chart.xml +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/enums.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/fetch_geonames.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/kr_types/__init__.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/kr_types/chart_types.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/kr_types/kerykeion_exception.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/kr_types/kr_literals.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/kr_types/settings_models.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/relationship_score.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/report.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/settings/__init__.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/settings/kerykeion_settings.py +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/settings/kr.config.json +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/sweph/README.md +0 -0
- {kerykeion-4.12.5 → kerykeion-4.12.7}/kerykeion/sweph/seas_18.se1 +0 -0
|
@@ -280,7 +280,7 @@ class AstrologicalSubject:
|
|
|
280
280
|
# Start the calculations #
|
|
281
281
|
#------------------------#
|
|
282
282
|
|
|
283
|
-
|
|
283
|
+
self.lat = check_and_adjust_polar_latitude(self.lat)
|
|
284
284
|
|
|
285
285
|
# UTC, julian day and local time setup --->
|
|
286
286
|
if (self.online) and (not self.tz_str):
|
|
@@ -347,7 +347,7 @@ class AstrologicalSubject:
|
|
|
347
347
|
self.lat = float(self.city_data["lat"])
|
|
348
348
|
self.tz_str = self.city_data["timezonestr"]
|
|
349
349
|
|
|
350
|
-
|
|
350
|
+
self.lat = check_and_adjust_polar_latitude(self.lat)
|
|
351
351
|
|
|
352
352
|
def _houses(self) -> None:
|
|
353
353
|
"""
|
|
@@ -810,4 +810,4 @@ if __name__ == "__main__":
|
|
|
810
810
|
print(johnny.json(dump=True, indent=2))
|
|
811
811
|
|
|
812
812
|
# With Topocentric Perspective
|
|
813
|
-
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", perspective_type="Topocentric")
|
|
813
|
+
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", perspective_type="Topocentric")
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
from typing import Union, Optional
|
|
8
8
|
from pydantic import BaseModel
|
|
9
9
|
|
|
10
|
-
from kerykeion.kr_types import LunarPhaseEmoji, LunarPhaseName, Planet, Houses, Quality, Element, Sign, ZodiacType, SignNumbers, HouseNumbers, PointType, SiderealMode, HousesSystemIdentifier
|
|
10
|
+
from kerykeion.kr_types import LunarPhaseEmoji, LunarPhaseName, Planet, Houses, Quality, Element, Sign, ZodiacType, SignNumbers, HouseNumbers, PointType, SiderealMode, HousesSystemIdentifier, Houses
|
|
11
11
|
|
|
12
12
|
class SubscriptableBaseModel(BaseModel):
|
|
13
13
|
"""
|
|
@@ -47,7 +47,7 @@ class KerykeionPointModel(SubscriptableBaseModel):
|
|
|
47
47
|
abs_pos: float
|
|
48
48
|
emoji: str
|
|
49
49
|
point_type: PointType
|
|
50
|
-
house: Optional[
|
|
50
|
+
house: Optional[Houses] = None
|
|
51
51
|
retrograde: Optional[bool] = None
|
|
52
52
|
|
|
53
53
|
|
|
@@ -356,7 +356,7 @@ def get_moon_phase_name_from_phase_int(phase: int) -> LunarPhaseName:
|
|
|
356
356
|
return result
|
|
357
357
|
|
|
358
358
|
|
|
359
|
-
def check_and_adjust_polar_latitude(latitude: float
|
|
359
|
+
def check_and_adjust_polar_latitude(latitude: float) -> float:
|
|
360
360
|
"""
|
|
361
361
|
Utility function to check if the location is in the polar circle.
|
|
362
362
|
If it is, it sets the latitude to 66 or -66 degrees.
|
|
@@ -367,4 +367,6 @@ def check_and_adjust_polar_latitude(latitude: float, longitude: float) -> bool:
|
|
|
367
367
|
|
|
368
368
|
elif latitude < -66.0:
|
|
369
369
|
latitude = -66.0
|
|
370
|
-
logging.info("Polar circle override for houses, using -66 degrees")
|
|
370
|
+
logging.info("Polar circle override for houses, using -66 degrees")
|
|
371
|
+
|
|
372
|
+
return latitude
|
|
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
|