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.

Metadata

Release files for altastata 1.0.20260901.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for altastata 1.0.20260901.1
File Size Uploaded Provenance
altastata-1.0.20260901.1.tar.gz 142.3 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for altastata 1.0.20260901.1
File Interpreter ABI Platform
altastata-1.0.20260901.1-py3-none-any.whl Python 3 none any Details

Total release size: 284.6 MB

Release files / altastata-1.0.20260901.1.tar.gz

Download URL altastata-1.0.20260901.1.tar.gz
Size 142.3 MB
Tags Source
SHA-256 checksum
How to use checksums
f52dee60e8bc3c0b871c8f69cff9a1ce219f107c1016326061690187be509405
BLAKE2b-256 checksum
How to use checksums
5aa3ff52d6b6a7223699aaa0b23611fdc4741807ae0810e343be591abefc7d2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / altastata-1.0.20260901.1-py3-none-any.whl

Download URL altastata-1.0.20260901.1-py3-none-any.whl
Size 142.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
580d8c26eff514a17a217c187051962f7a84be5612717aa9b9e81a0860e434fa
BLAKE2b-256 checksum
How to use checksums
dc0f72fca2574ed70f97eea9184fb3dffcf4443bd069d7cd3986d9e8f4cf8c9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Security for altastata 1.0.20260901.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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