Skip to main content

Python SDK for ARA, the decision data plane: one temporally ordered record of every entity, feature, and decision your ML systems produce

Project description

ARA Python SDK

Python client for the ARA temporal ML feature store.

Quick Start

pip install ara-labs-sdk
from ara_store import ARAStore

store = ARAStore()  # localhost:50051-50055, 5 partitions

# Write features
store.write(entity_id=42, features={"score": 0.97, "clicks": 14})

# Read latest
vals = store.get_latest(entity_id=42, feature_names=["score", "clicks"])

# Point-in-time read
from datetime import datetime, timezone
snap = store.get_snapshot(42, ["score"], as_of=datetime(2025, 11, 1, tzinfo=timezone.utc))

Requirements

  • Python 3.9+
  • ARA server running (see quickstart)
  • flatbuffers>=23.5.26

Retry Contract

Read APIs (get_latest, get_snapshot, get_snapshot_batch) already perform internal SDK retries for transient transport failures.

  • Default: 3 retries (4 total attempts)
  • Configure: ARA_SDK_READ_MAX_RETRIES
  • Disable metadata injection (regression testing only): ARA_SDK_NO_METADATA=true

Recommendation: avoid wrapping these read APIs in an additional generic retry loop unless you intentionally want a larger total retry budget, since stacked retries can multiply request volume.

License

ARA Proprietary — see LICENSE.

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.

ara_labs_sdk-1.0.2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (126.4 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

ara_labs_sdk-1.0.2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (124.0 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

ara_labs_sdk-1.0.2-cp312-abi3-macosx_11_0_arm64.whl (118.0 kB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

File details

Details for the file ara_labs_sdk-1.0.2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ara_labs_sdk-1.0.2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 99d6c60c7d0706684204ada755a66ccce88e393632870ac195e5e8a8192f7ca6
MD5 b0d3ec33f33bba17c2860e43e667d41d
BLAKE2b-256 eb441c6b8804687ac0893c7a53b97206413cae10a05c7af8aca0bb8a289d5500

See more details on using hashes here.

File details

Details for the file ara_labs_sdk-1.0.2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for ara_labs_sdk-1.0.2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0859014f0d049cbab71acb53313daf1e4716d15c4b5d6bb71914fe7b7c78dbf3
MD5 5ec74e348ac74b72e1d18ca3c41981cf
BLAKE2b-256 ce8f25d3c80f9dc6318da30b2e19c083d5c29cf30b0020c130e726df8e2b1712

See more details on using hashes here.

File details

Details for the file ara_labs_sdk-1.0.2-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ara_labs_sdk-1.0.2-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 968e0617b1af3ade9add0dcae50bf58a8fe56385107fab6b5769a9a06856fbc3
MD5 24afc0938921b11a2f65e5bdf168d070
BLAKE2b-256 ad89f10cc1d214cb0f465952af869ab5b9c6f6e4a44a12be1f8c4f87d21d518d

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