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

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.20261203.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.20261203.1
File Size Uploaded Provenance Actions
altastata-1.0.20261203.1.tar.gz 142.3 MB Without provenance Details for altastata-1.0.20261203.1.tar.gz

Built distribution (wheel)

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

Total release size: 284.7 MB

Release files / altastata-1.0.20261203.1.tar.gz

Download URL altastata-1.0.20261203.1.tar.gz
Size 142.3 MB
Tags Source
SHA-256 checksum
How to use checksums
3f7c3af6feaf6e96598f9e5e5e7f94c7c5dacb368130a37148574782c6035437
BLAKE2b-256 checksum
How to use checksums
5d69dd650bc199d75c9c0cf8f425f66f7a340913b308725f7dbeeeabdb9776d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

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

Download URL altastata-1.0.20261203.1-py3-none-any.whl
Size 142.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
36d8851c736e0b8ff8f3c8f789aadac2ee3b3c02c320e5f14128cfb86c620e79
BLAKE2b-256 checksum
How to use checksums
9605744adda59cf2f9d98ac000fa076bf9934dd912832cdf39e0a8472fceabf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for altastata 1.0.20261203.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.

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