g-battaglia / kerykeion

Data driven Astrology 💫
Kerykeion is a python library for astrology. It can generate SVG charts and extract all data about a birthchart, a synastry chart and a transit chart.
https://kerykeion.net
GNU Affero General Public License v3.0
297 stars 103 forks source link

Allow UTC datetime to be passed in the constructor as an alternative to year, month, day, hour, minute and timezone #108

Closed martynasj closed 6 months ago

martynasj commented 6 months ago

Hello! For my use case it was a lot simpler to use the library by passing the utc datetime directly to a constructor. The timezone identifier was difficult to acquire for my use case with my user database and I already had utc datetimes pre-populated to my user profiles.

Thus this is the alternative way of constructing the AstrologicalSubject

g-battaglia commented 6 months ago

Hi, thanks it looks useful! Merged and released on version 4.4.0