Skip to main content

AltaStata Python package

Python SDK for the AltaStata sovereign data fabric: run AI/ML workloads and data pipelines as an AltaStata user, with per-file encryption on AWS, Azure, GCP, IBM, MinIO, POSIX, and hybrid backends.

Integrations: fsspec, PyTorch, TensorFlow, LangChain, AI Agents, Databricks, Snowflake (via S3), boto3/S3 CLI, gRPC, and a bundled Web UI User Console.

Cookbooks: INTEGRATIONS.md · Account setup: USER_SETUP_GUIDE.md

Featured by Red Hat and IBM

AltaStata data flow

Technology overview: sovereign-data-fabric README.

Capabilities

  • Pythonic APIs: Standard Python file I/O via fsspec (create_filesystem)
  • PyTorch: Train and load datasets directly from encrypted cloud paths (AltaStataPyTorchDataset)
  • TensorFlow: Same for TensorFlow / tf.data (AltaStataTensorFlowDataset)
  • LangChain & AI Agents: RAG loaders and agent tools over encrypted data; gateway auto-starts
  • S3-compatible API: boto3, aws CLI, s3fs on port 9876 — including Snowflake external stages that read S3
  • Distributed apps: gRPC API (Python client + JS clients via port 9877)
  • Sharing & events: Users share encrypted files with each other; Python apps subscribe to SHARE/DELETE notifications
  • Web UI User Console: Lighter browser UI on localhost only — same host as the Python install (http://127.0.0.1:9877)
  • Big Data: Databricks / Apache Spark (AltaStata Hadoop FS JAR — not in the wheel; see UBER_JARS)
  • Clouds & backends: AWS, Azure, GCP, IBM, Fusion, MinIO, POSIX / LocalFS (local or shared path), and hybrid setups

Quick start

Requires a configured account directory (steps 1–3 in USER_SETUP_GUIDE.md).

from_account_dir auto-starts the bundled Java gateway (Web UI + gRPC on 9877, S3 on 9876):

from altastata import AltaStataFunctions

# Two backends in one process — AWS and Azure accounts side by side
bobAmazon = AltaStataFunctions.from_account_dir(
    "/path/to/.altastata/accounts/amazon.rsa.bob123",
    password="your_password",
)
bobAzure = AltaStataFunctions.from_account_dir(
    "/path/to/.altastata/accounts/azure.rsa.bob123",
    password="your_password",
)

print(bobAmazon.list_cloud_files_versions("Public/", True, None, None))
print(bobAzure.list_cloud_files_versions("Public/", True, None, None))

Next: file operations in HOWTO.md; PyTorch, fsspec, S3 in INTEGRATIONS.md.

One bundled Java process (altastata-services) listens on 9877 (gRPC + Web UI at http://127.0.0.1:9877) and 9876 (S3-compatible REST API).

Documentation

Topic Guide
Account setup & getting started USER_SETUP_GUIDE.md
Upload, download, share, streams, events HOWTO.md
fsspec, PyTorch, TensorFlow, LangChain, S3, Web UI INTEGRATIONS.md
AltaStataFunctions API PYTHON_API.md
Enterprise (Custodian, PQC, HSM/HPCS) ENTERPRISE.md
Examples examples/
Build wheel, bundle JAR, PyPI README-developer.md

Questions?

Email contact@altastata.com.

License

Licensed under the Apache License, Version 2.0 — see LICENSE.

The Python / TypeScript sources in this repository are Apache 2.0. Bundled AltaStata Java runtime JARs (when present under altastata/lib/) remain under the Business Source License 1.1. See NOTICE for attribution of bundled components.

Download files

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

Source Distribution

altastata-1.0.20260823.2.tar.gz (142.3 MB view details)

Uploaded Source

Built Distribution

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

altastata-1.0.20260823.2-py3-none-any.whl (142.3 MB view details)

Uploaded Python 3

File details

Details for the file altastata-1.0.20260823.2.tar.gz.

File metadata

  • Download URL: altastata-1.0.20260823.2.tar.gz
  • Upload date:
  • Size: 142.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for altastata-1.0.20260823.2.tar.gz
Algorithm Hash digest
SHA256 5093ef051b6b698418d32dc5b03d87df27d06deb1c1639407cef11cd75cdad0f
MD5 ab6026619d2bd63c317baba821e2a193
BLAKE2b-256 0b8961b2469ac95c1a016bf006ecd9c14d4d648ba6794c7192615b412e7bd143

See more details on using hashes here.

File details

Details for the file altastata-1.0.20260823.2-py3-none-any.whl.

File metadata

File hashes

Hashes for altastata-1.0.20260823.2-py3-none-any.whl
Algorithm Hash digest
SHA256 56206d1b28ae5165c2a77672e9b1529d3c33193b11bd737e324b3b50c5d07335
MD5 72d12ea3525ba9839976be932338adf4
BLAKE2b-256 c0e26ea07e7647f388113cc31ae3b162aac11f891aa9ac2eb3e9d9f5094a06da

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.20260823.2 This release

2 files

Supported by

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