Skip to content

Commit ca69461

Browse files
release: v0.1.56
1 parent 6a775a6 commit ca69461

5 files changed

Lines changed: 37 additions & 9 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "uv_build"
44

55
[project]
66
name = "roxy-sdk"
7-
version = "0.1.55"
7+
version = "0.1.56"
88
description = "Python SDK for RoxyAPI. Astrology, tarot, numerology, and more."
99
readme = "README.md"
1010
license = "MIT"

specs/openapi.json

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19601,6 +19601,18 @@
1960119601
"maximum": 100,
1960219602
"example": 50,
1960319603
"description": "Minimum aspect strength threshold (0-100). Higher values return only tighter, more potent aspects. Useful for filtering out wide-orb aspects."
19604+
},
19605+
"houseSystem": {
19606+
"type": "string",
19607+
"enum": [
19608+
"placidus",
19609+
"whole-sign",
19610+
"equal",
19611+
"koch"
19612+
],
19613+
"default": "placidus",
19614+
"example": "placidus",
19615+
"description": "House system used to divide the natal chart into 12 houses. Every house number in the response is read against these natal cusps, for the natal bodies and the transiting bodies alike. Placidus (default) is time sensitive and the most widely used in Western astrology. Whole Sign assigns one sign per house. Equal divides into 30 degree segments from the Ascendant. Koch emphasizes higher latitudes. Quadrant systems fall back to Whole Sign above the polar circle."
1960419616
}
1960519617
},
1960619618
"required": [
@@ -19623,6 +19635,17 @@
1962319635
"example": "2026-02-03 12:00:00",
1962419636
"description": "Date and time of the transit calculation."
1962519637
},
19638+
"houseSystem": {
19639+
"type": "string",
19640+
"enum": [
19641+
"placidus",
19642+
"whole-sign",
19643+
"equal",
19644+
"koch"
19645+
],
19646+
"example": "placidus",
19647+
"description": "House system actually used for the natal cusps behind every house number in this response. Differs from the requested system only above the polar circle, where quadrant systems fall back to Whole Sign."
19648+
},
1962619649
"transitPlanets": {
1962719650
"type": "array",
1962819651
"items": {
@@ -19677,8 +19700,8 @@
1967719700
"type": "integer",
1967819701
"minimum": 1,
1967919702
"maximum": 12,
19680-
"example": 7,
19681-
"description": "House placement (1-12). Determined by the selected house system and birth location."
19703+
"example": 10,
19704+
"description": "Natal house (1-12) this transiting body is currently passing through, read against the natal house cusps. This is the life area the transit activates, so it is driven by the natal birth time and location rather than by the transit moment."
1968219705
},
1968319706
"speed": {
1968419707
"type": "number",
@@ -19702,7 +19725,7 @@
1970219725
"isRetrograde"
1970319726
]
1970419727
},
19705-
"description": "Current transiting positions in the tropical zodiac. All 14 celestial bodies: the 10 classical planets (Sun through Pluto), the lunar nodes, Chiron, and Black Moon Lilith."
19728+
"description": "Current transiting positions in the tropical zodiac, each placed in the natal house it is passing through. All 14 celestial bodies: the 10 classical planets (Sun through Pluto), the lunar nodes, Chiron, and Black Moon Lilith."
1970619729
},
1970719730
"natalPlanets": {
1970819731
"type": "array",
@@ -19783,7 +19806,7 @@
1978319806
"isRetrograde"
1978419807
]
1978519808
},
19786-
"description": "Natal (birth chart) planetary positions used as the baseline for transit aspect comparison."
19809+
"description": "Natal (birth chart) planetary positions used as the baseline for transit aspect comparison, each placed in its natal house."
1978719810
},
1978819811
"aspects": {
1978919812
"type": "array",
@@ -20102,6 +20125,7 @@
2010220125
},
2010320126
"required": [
2010420127
"transitDate",
20128+
"houseSystem",
2010520129
"transitPlanets",
2010620130
"natalPlanets",
2010720131
"aspects",

src/roxy_sdk/factory.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ async def calculate_synastry_async(self, *, person1: dict[str, Any], person2: di
207207
params["lang"] = lang
208208
return await self._post_async(f"/astrology/synastry", body, params=params or None)
209209

210-
def calculate_transit_aspects(self, *, natal_chart: dict[str, Any], transit_date: str | None = None, transit_time: str | None = None, planets: list[str] | None = None, aspect_types: list[str] | None = None, min_strength: float | None = None, lang: str | None = None) -> Any:
210+
def calculate_transit_aspects(self, *, natal_chart: dict[str, Any], transit_date: str | None = None, transit_time: str | None = None, planets: list[str] | None = None, aspect_types: list[str] | None = None, min_strength: float | None = None, house_system: str | None = None, lang: str | None = None) -> Any:
211211
"""Transit Aspects - Detailed transit-to-natal aspect analysis with interpretations"""
212212
body: dict[str, Any] = {}
213213
body["natalChart"] = natal_chart
@@ -221,12 +221,14 @@ def calculate_transit_aspects(self, *, natal_chart: dict[str, Any], transit_date
221221
body["aspectTypes"] = aspect_types
222222
if min_strength is not None:
223223
body["minStrength"] = min_strength
224+
if house_system is not None:
225+
body["houseSystem"] = house_system
224226
params: dict[str, Any] = {}
225227
if lang is not None:
226228
params["lang"] = lang
227229
return self._post(f"/astrology/transit-aspects", body, params=params or None)
228230

229-
async def calculate_transit_aspects_async(self, *, natal_chart: dict[str, Any], transit_date: str | None = None, transit_time: str | None = None, planets: list[str] | None = None, aspect_types: list[str] | None = None, min_strength: float | None = None, lang: str | None = None) -> Any:
231+
async def calculate_transit_aspects_async(self, *, natal_chart: dict[str, Any], transit_date: str | None = None, transit_time: str | None = None, planets: list[str] | None = None, aspect_types: list[str] | None = None, min_strength: float | None = None, house_system: str | None = None, lang: str | None = None) -> Any:
230232
"""Transit Aspects - Detailed transit-to-natal aspect analysis with interpretations (async)"""
231233
body: dict[str, Any] = {}
232234
body["natalChart"] = natal_chart
@@ -240,6 +242,8 @@ async def calculate_transit_aspects_async(self, *, natal_chart: dict[str, Any],
240242
body["aspectTypes"] = aspect_types
241243
if min_strength is not None:
242244
body["minStrength"] = min_strength
245+
if house_system is not None:
246+
body["houseSystem"] = house_system
243247
params: dict[str, Any] = {}
244248
if lang is not None:
245249
params["lang"] = lang

src/roxy_sdk/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "0.1.55"
1+
VERSION = "0.1.56"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)