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.1.0-cp311-abi3-manylinux_2_28_x86_64.whl (9.8 MB view details)

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

spear_ai_horizon_sdk-8.1.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.1.0-cp311-abi3-macosx_11_0_arm64.whl (9.0 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

spear_ai_horizon_sdk-8.1.0-cp311-abi3-macosx_10_12_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: spear_ai_horizon_sdk-8.1.0-cp311-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 9.8 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.1.0-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4e8383eae6694a06dd26bf336d72a7d1f3adfed6895b49f0cd3227e0c4ee9818
MD5 e21d50c1722dfb138d68693c82734385
BLAKE2b-256 c7379e0cbf86e62e9cc16d344d5af142bda9d529907237fc1deb6302b034ff6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spear_ai_horizon_sdk-8.1.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.1.0-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 419fb3b3d53dc1dd4833c151ff16acf04a67bb7fa28a018da34b52de5eae20fd
MD5 494ea83741c64dee734297f412a366ea
BLAKE2b-256 3470847e4ea088f01f8329ee2f2d6a4b1acf9e732994aad2685a4bc501107f80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spear_ai_horizon_sdk-8.1.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.1.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 87165b9a6957ccc39e2472f149dd48a9e8675cfb2ddd8cdb6492870a0844628f
MD5 b348a818432c5f17b290a534dfccb2e1
BLAKE2b-256 59b1ad8f2b8a5edeaa1d8b33fdc168de0e89fba7f387cd35dadd414506a3ca1d

See more details on using hashes here.

File details

Details for the file spear_ai_horizon_sdk-8.1.0-cp311-abi3-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: spear_ai_horizon_sdk-8.1.0-cp311-abi3-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 9.0 MB
  • Tags: CPython 3.11+, macOS 10.12+ 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":"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.1.0-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8b19b60123c89143374c9c15ac8af2bf7e94d05d54e20cd99a7729257661ee20
MD5 0cb5d68ffdd365a90778775c7ba213e9
BLAKE2b-256 71a826a8379870f4c300dfd257a6b6bb8b639af93464c94a204e28138972dd7a

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