kerykeion 3.4.3__py3-none-any.whl → 3.4.4__py3-none-any.whl

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/main.py CHANGED
@@ -119,12 +119,8 @@ class KrInstance():
119
119
  if not self.nation:
120
120
  self.nation = "GB"
121
121
  self.__logger.warning("No nation specified, using GB as default")
122
-
123
- if (not self.online) and (not lng or not lat or not tz_str):
124
- raise KerykeionException(
125
- "You need to set the coordinates and timezone if you want to use the offline mode!")
126
122
 
127
- if not self.online:
123
+ if self.lat:
128
124
  if self.lat > 66.0:
129
125
  self.lat = 66.0
130
126
  self.__logger.info(
@@ -135,6 +131,10 @@ class KrInstance():
135
131
  self.__logger.info(
136
132
  'Polar circle override for houses, using -66 degrees')
137
133
 
134
+ if (not self.online) and (not lng or not lat or not tz_str):
135
+ raise KerykeionException(
136
+ "You need to set the coordinates and timezone if you want to use the offline mode!")
137
+
138
138
  self.julian_day = self.__get_jd()
139
139
 
140
140
  # Get all the calculations
@@ -612,7 +612,7 @@ if __name__ == "__main__":
612
612
 
613
613
  kanye = KrInstance(
614
614
  "Kanye", 1977, 6, 8, 8, 45,
615
- lng=50, lat=50, tz_str="Europe/Rome"
615
+ lng=50, lat=70, tz_str="Europe/Rome"
616
616
  )
617
617
 
618
618
  test = KrInstance("Kanye", 1977, 6, 8, 8, 45, "Milano")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kerykeion
3
- Version: 3.4.3
3
+ Version: 3.4.4
4
4
  Summary: A python library for astrology.
5
5
  Home-page: https://github.com/g-battaglia/kerykeion
6
6
  Author: Giacomo Battaglia
@@ -2,7 +2,7 @@ kerykeion/__init__.py,sha256=b9I_wU8FlEMYQP5z2LKp8svQ3JNcGsw4KDYB500g7kk,4870
2
2
  kerykeion/aspects.py,sha256=erslmh9Z8lJjuauh3Dsbpyy-PXWO2sWmmwJ5ZP0GYsA,12919
3
3
  kerykeion/fetch_geonames.py,sha256=UfYSkO5OVbnzNJbe_RBqMVX_GHpfOmMb3onla0Gj8v8,4922
4
4
  kerykeion/kr.config.json,sha256=u4mj3yGpqGR1uH-VpOyeukdGPKwm4C43cwDrUiI5A3I,12401
5
- kerykeion/main.py,sha256=lmWK3hsmUcGbyXDZw8ZdF5QX77ivb4LG9lqQmqNdMyc,22464
5
+ kerykeion/main.py,sha256=wxjSB3ZhoMe2Arf4562gcjiIF33XKCGO9SBnVuNxYfA,22457
6
6
  kerykeion/print_all_data.py,sha256=eIam_XaKEqPZE2LoPGg8ymbfsl79np0UUShQ54OOqN4,3103
7
7
  kerykeion/relationship_score.py,sha256=7-wbRzOYvrttxWlNA59qZZx5qUl8U8Godaj0kcmt8oY,7562
8
8
  kerykeion/report.py,sha256=aXAxWZxTlkxeg3Kb9yVvPx-m5sMMe2mrVxm3hyuUYXA,2272
@@ -12,7 +12,7 @@ kerykeion/charts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
12
12
  kerykeion/charts/charts_svg.py,sha256=1_zY13yEdDVYh2r5tJFn-FL7K9QMwFzTwXlQFBGIAnI,67776
13
13
  kerykeion/charts/templates/basic.xml,sha256=VmqzoF1rpEZxJBCr7_ZK8KDDAlXd9pLewSCSKI_Z4rI,56546
14
14
  kerykeion/charts/templates/extended.xml,sha256=cXDqI7uUkG1Pdzdl4h6Hr_POETKrsX3rBqR52iFGRog,56733
15
- kerykeion-3.4.3.dist-info/METADATA,sha256=3rEDYICz7q8QG8feU3_Njjqi5p6yvPoYRL3rbgrUXdY,8638
16
- kerykeion-3.4.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
17
- kerykeion-3.4.3.dist-info/top_level.txt,sha256=dksQHkHSOqfJo-O1gs0FBHhSHB-2UtVJKgDLgddatOg,10
18
- kerykeion-3.4.3.dist-info/RECORD,,
15
+ kerykeion-3.4.4.dist-info/METADATA,sha256=iK9pbcXk743GynIouiaT617uSgcZ6fWROlxSUhOCB88,8638
16
+ kerykeion-3.4.4.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
17
+ kerykeion-3.4.4.dist-info/top_level.txt,sha256=dksQHkHSOqfJo-O1gs0FBHhSHB-2UtVJKgDLgddatOg,10
18
+ kerykeion-3.4.4.dist-info/RECORD,,