Skip to main content

oxiephemeris (Python)

Pure-Rust astrology / ephemeris engine with Python bindings.

Compute full natal charts, synastry, transits, secondary progressions, and midpoint composites — signs, houses (7 systems), aspects, essential dignities, Arabic Parts, declinations — plus their Linked Open Data (RDF Turtle / N-Triples with SKOS and PROV-O provenance).

The astronomy comes from JPL DE ephemerides (DE440/DE441), passed in as a bytes buffer, so nothing touches the filesystem.

import oxiephemeris as oxi

with open("de440/linux_p1550p2650.440", "rb") as f:
    de = f.read()

# The Unix epoch at the Royal Observatory, Greenwich.
chart = oxi.natal(de, "1970-01-01T00:00:00Z", lat=51.4779, lon=0.0)
sun = next(b for b in chart["bodies"] if b["body"] == "Sun")
print(sun["sign"], round(sun["sign_degrees"], 2), "house", sun["house"])
# -> Capricorn 10.16 house 4

turtle = oxi.natal_rdf(de, "1970-01-01T00:00:00Z", lat=51.4779, lon=0.0)
print(turtle.splitlines()[-3:])

API

  • natal(de, date, lat, lon, *, alt=0, dut1=0, cal="gregorian", system="placidus", sidereal=None, rulership="traditional") -> dict
  • natal_rdf(...) -> str (Turtle; ntriples=True for N-Triples)
  • synastry(de, a, b, *, system, dut1, cal) -> dict / synastry_rdf(...) -> str — a/b are objects with date, lat, lon
  • transit(de, natal, transit, ...) -> dict
  • progress(de, natal, target, ...) -> dict
  • composite(de, a, b, ...) -> dict / composite_rdf(...) -> str
  • julday(year, month, day, hours=0, calendar="gregorian") -> float
  • revjul(jd, calendar="gregorian") -> dict

All results are the same stable schema the CLI and the WASM build emit.

Apache-2.0.

Metadata

Release files for oxiephemeris 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for oxiephemeris 0.1.1
File Interpreter ABI Platform Actions
oxiephemeris-0.1.1-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details for oxiephemeris-0.1.1-cp38-abi3-win_amd64.whl
oxiephemeris-0.1.1-cp38-abi3-manylinux_2_34_x86_64.whl CPython 3.8 abi3 Linux glibc 2.34+ x86-64 Details for oxiephemeris-0.1.1-cp38-abi3-manylinux_2_34_x86_64.whl
oxiephemeris-0.1.1-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details for oxiephemeris-0.1.1-cp38-abi3-macosx_11_0_arm64.whl

Total release size: 1.4 MB

Release files / oxiephemeris-0.1.1-cp38-abi3-win_amd64.whl

Download URL oxiephemeris-0.1.1-cp38-abi3-win_amd64.whl
Size 383.4 kB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b09480249fbc3d86e91d642e274532cbfc715393092af1e4237ae666d92c69d6
BLAKE2b-256 checksum
How to use checksums
f72a0fb840951bde5b8b526102b5eae809161545f633ab21344893fc2cc009e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.

Transparency log

Release files / oxiephemeris-0.1.1-cp38-abi3-manylinux_2_34_x86_64.whl

Download URL oxiephemeris-0.1.1-cp38-abi3-manylinux_2_34_x86_64.whl
Size 555.5 kB
Tags CPython 3.8 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
1ad7731267fcd02ad8d121eccd5bf43115aabfdddc3b033833d2359f15c72783
BLAKE2b-256 checksum
How to use checksums
570fdb61817b5b1df28efe06c5594991de95bbee9cd626ae0ed3635db11d9766
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.

Transparency log

Release files / oxiephemeris-0.1.1-cp38-abi3-macosx_11_0_arm64.whl

Download URL oxiephemeris-0.1.1-cp38-abi3-macosx_11_0_arm64.whl
Size 488.9 kB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
37d02d03ddd60589964d8a98dec53030aa8759fdd1e288604d64c26901510fa9
BLAKE2b-256 checksum
How to use checksums
518e99c73cab6c56fec204f773b4210e07c3e2477d87c04a22348893c50997af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.

Transparency log

Security for oxiephemeris 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for oxiephemeris-0.1.1-cp38-abi3-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

3 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page