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.1-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.1-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.1-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.1-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.1-cp311-abi3-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: spear_ai_horizon_sdk-8.1.1-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.1-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d1865559cbdce9c2ba5ebbb5a4869f947e5f72b39a6001375619813c9de3d640
MD5 c92733f6e9ba5aa64b0dd835ded9f167
BLAKE2b-256 ed39bdbcfa059a7ce2d934800d151105f4cb93e7be49707ab2e6324c5921a371

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spear_ai_horizon_sdk-8.1.1-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.1-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d2cba14e8e754e2814cc53ac7cd95e772e7e5e4d35d4ac6b48be1595cb87cb38
MD5 36fdfb09018bc7a869e56a7351d62e3a
BLAKE2b-256 c4444b0f5fc141d4622fb63ee186a0e6953e9c5be4ef8ce86dbe818a6bb9bceb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spear_ai_horizon_sdk-8.1.1-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.1-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f2d31d0397e4dc9a6bdb6fc17fce29d0b986e3f77874410888c625afa79e0a67
MD5 e0493d498cda23505c45af31264634bc
BLAKE2b-256 25f58eb02684db590291219aa30bff1aed2df6b836a7112ccd472c889a085c9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spear_ai_horizon_sdk-8.1.1-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.1-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e66d26a68e9552a9e1f0c6d4d838b719a7546299b20b8056e6d6f4a91a01ecf0
MD5 6cc9e33d4544b17d6fb391dc35560fa4
BLAKE2b-256 ea8eba8da582c66b75cf23d030c206c850c93ecc81e8095bb6992eaa875874ad

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