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.20260819.28.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.20260819.28-py3-none-any.whl (142.3 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for altastata-1.0.20260819.28.tar.gz
Algorithm Hash digest
SHA256 5054979808bb05f1ac3c0af48b3941043f8326afae51a8711bc9ce39b973cbec
MD5 f5cd3c702f758296e6c6ebc9b340ab66
BLAKE2b-256 9328ca0763edf8809cae531fe790a858da3a234f238dffb7307e5cac02259069

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for altastata-1.0.20260819.28-py3-none-any.whl
Algorithm Hash digest
SHA256 944bba1a9a1b7be8ab35d7deeea0fcbda17e3fc69b0aeef1474afae8c7f66db4
MD5 4b5d1cea249e6e9d27685a025be21605
BLAKE2b-256 2004f6134963afea1982c97680705eb01ed9b162879a6984c054f44bf172949b

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.20260823.2

2 files

This release

1.0.20260819.28 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