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

Technology overview

AltaStata data flow

sovereign-data-fabric README

Demo

Video with Red Hat: YouTube
For a live demo, email contact@altastata.com.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: altastata-1.0.20260901.1.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.20260901.1.tar.gz
Algorithm Hash digest
SHA256 f52dee60e8bc3c0b871c8f69cff9a1ce219f107c1016326061690187be509405
MD5 2f50e1fec025b032e4943f40cc0689f1
BLAKE2b-256 5aa3ff52d6b6a7223699aaa0b23611fdc4741807ae0810e343be591abefc7d2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for altastata-1.0.20260901.1-py3-none-any.whl
Algorithm Hash digest
SHA256 580d8c26eff514a17a217c187051962f7a84be5612717aa9b9e81a0860e434fa
MD5 36fc82ed25f298e658963f326b15fd15
BLAKE2b-256 dc0f72fca2574ed70f97eea9184fb3dffcf4443bd069d7cd3986d9e8f4cf8c9e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.20260901.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page