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.1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (127.4 kB view details)

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

ara_labs_sdk-1.0.1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (125.1 kB view details)

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

ara_labs_sdk-1.0.1-cp312-abi3-macosx_11_0_arm64.whl (119.1 kB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for ara_labs_sdk-1.0.1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6146df539dffd0222b9537e2fb6767634cb93993091858b13db076a81f5d1ff2
MD5 bc3420eb6fe9afa3a95831927f9cf237
BLAKE2b-256 71fae22f54f22690028b6dcf35bd41de1c9d3384922889358b77c67a0dca4d54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ara_labs_sdk-1.0.1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5b455d8715637a1f5f0bf43a6f115669d7b25145ea0ac58c9122b4f0b8f1bd52
MD5 8cfad8969968724a901f6cefccb24778
BLAKE2b-256 8d075eb8522a24e28e14077ee5b13b2b50ab4ba7f2214d0faba79d92f5914217

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ara_labs_sdk-1.0.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1cedbc6273f51281500d2060b8ba8ad07708e4d7190f2fe159c67fd19c90a1eb
MD5 72137e348a51d5964bec745c8f1b688c
BLAKE2b-256 bea1fd38b743415ad4cd169b1e8150aa5c9649139197b859c7ccdbbbdfff1895

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