Skip to main content

PyO3 Python bindings for the Horizon SDK

Project description

spear-ai-horizon-sdk (Python bindings)

Python bindings for the Horizon Rust SDK, the data access layer for the Horizon tactical data platform. The bindings are built with PyO3 and maturin, and expose the SDK's PostgreSQL, Kafka, and Apache Iceberg data paths to Python callers.

The distribution is named spear-ai-horizon-sdk and the importable module is horizon_sdk.

Installation

pip install spear-ai-horizon-sdk

Wheels are published for aarch64 Linux and for both arm64 and x86_64 macOS. The bindings use the CPython stable ABI (abi3), so a single wheel per platform supports Python 3.11 and newer. On other platforms, build from source with a Rust toolchain (see the repository for details).

Usage

import horizon_sdk

Development

This package lives in the Horizon monorepo at packages/horizon-sdk/crates/horizon-ffi-python. The Rust crate it wraps is at packages/horizon-sdk/crates/horizon-sdk.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

spear_ai_horizon_sdk-8.0.0-cp311-abi3-manylinux_2_28_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ x86-64

spear_ai_horizon_sdk-8.0.0-cp311-abi3-manylinux_2_28_aarch64.whl (9.9 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ ARM64

spear_ai_horizon_sdk-8.0.0-cp311-abi3-macosx_11_0_arm64.whl (9.0 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

Details for the file spear_ai_horizon_sdk-8.0.0-cp311-abi3-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: spear_ai_horizon_sdk-8.0.0-cp311-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 9.7 MB
  • Tags: CPython 3.11+, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for spear_ai_horizon_sdk-8.0.0-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b06687f8d2e68edc1fac4869f090a8a2a60720d739ca027229cdc08c18253cb1
MD5 3d58421784b609cabc7d2ec90a76509c
BLAKE2b-256 18a55d4b500e4cf96557e48dd81c04a24ef275de2e3e2d1eb8a3d21b3a9d182e

See more details on using hashes here.

File details

Details for the file spear_ai_horizon_sdk-8.0.0-cp311-abi3-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: spear_ai_horizon_sdk-8.0.0-cp311-abi3-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 9.9 MB
  • Tags: CPython 3.11+, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for spear_ai_horizon_sdk-8.0.0-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 78e220055ca00f129a2a59bbd46411291e34ff429aebc20135ad854e0a1cbd65
MD5 56643804e35e17c03978bf30a217bd80
BLAKE2b-256 154b44e5397d959d5ffc7ebd07d0da9dacb28c0239638f8b8217f80fcca2308f

See more details on using hashes here.

File details

Details for the file spear_ai_horizon_sdk-8.0.0-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: spear_ai_horizon_sdk-8.0.0-cp311-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 9.0 MB
  • Tags: CPython 3.11+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for spear_ai_horizon_sdk-8.0.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 98860d3e590d4d8428b2d4a28a6d6d833dcdc106cb7b622130ae7ac80f2e09ee
MD5 27c7e3e773c942812607537fb9a1e5ae
BLAKE2b-256 a7e9cd3db81d579e56e47cd6b31cdaf3569175eb70133180e847c808480b3798

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page