Atlas Compute SDK
Project description
Atlas Compute
Atlas Compute is a Python SDK for interacting with the Atlas platform's compute resources, including ClickHouse, MinIO, and OpenSearch.
Installation
pip install atlas-compute
Usage
Connecting to Resources
from atlas_compute.compute import ComputeClient
# Initialize the client
computeclient = ComputeClient(
username="your_username",
password="your_password",
warehouse_id="your_warehouse_id"
)
# Get credentials
creds = computeclient.get_credentials()
# Create a data warehouse client
client = computeclient.create_client("warehouse")
result = client.execute("SELECT 1")
print(result)
# Create a storage client
client = computeclient.create_client("storage")
buckets = client.list_buckets()
print(buckets)
# Create a search and analytics client
client = computeclient.create_client("search_and_analytics")
buckets = client.search()
print(buckets)
Features
- Unified Authentication: Authenticate once and access all resources.
- Resource Clients: Easy creation of clients for data warehouse, storage, and search & analytics.
- Secure: Handles credential retrieval and management securely.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
atlas_compute-0.1.0.tar.gz
(3.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file atlas_compute-0.1.0.tar.gz.
File metadata
- Download URL: atlas_compute-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97952b328791308b9e3286bd8ffa39cdd00aa3d86485892cafc0e997863b6ee1
|
|
| MD5 |
4d3855297a7851a27b51b1b22e84ba6f
|
|
| BLAKE2b-256 |
98bfa4184c0ae11c1a8b6cd155a5c2bb50481c770db511a1d27f6e9c22736a66
|
File details
Details for the file atlas_compute-0.1.0-py3-none-any.whl.
File metadata
- Download URL: atlas_compute-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09380b9537b65286f4d6c875a32d08578ff97ca7a82b8d9b257a6693f9ebbf89
|
|
| MD5 |
97851d9b695873e2a76500290ce76549
|
|
| BLAKE2b-256 |
686817d54c1776690edd5a9aa56385ce3668602446da132e28d993bd7523fd9b
|