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.9.tar.gz
(4.4 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.9.tar.gz.
File metadata
- Download URL: atlas_compute-0.1.9.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8cfda3946eb143d57e0b43f34bbd372f0bae1ede8690eb9c22ff8310cd229ac
|
|
| MD5 |
484dd70e59700e5ac488c250bd004d98
|
|
| BLAKE2b-256 |
d1f7b452bf5f1d7b9d79d7925de2a1a736c91cbe97bea43bf96b4a083205e414
|
File details
Details for the file atlas_compute-0.1.9-py3-none-any.whl.
File metadata
- Download URL: atlas_compute-0.1.9-py3-none-any.whl
- Upload date:
- Size: 5.1 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 |
38fa8fc7207f95120d8dadb1455d847796c6023d7d9e389b4e9e9a2d57c53c4a
|
|
| MD5 |
d363e0675109cce2543da274e6c25726
|
|
| BLAKE2b-256 |
2355b55b2b3838c0dd188c1b7b0ffda882c883ea341647b26c3cdb60cf25bcac
|