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.10.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.10.tar.gz.
File metadata
- Download URL: atlas_compute-0.1.10.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 |
4f0109023a2ec8609dd21490bc042c39fd7e38c7bf5f1425822864d79441f7fe
|
|
| MD5 |
7a5fff5a4acb90f848a0bf2252a919de
|
|
| BLAKE2b-256 |
ed0bc92a99460e8d660efbdb11f422bbc0cbb7e19a43e2ecdce310bd8856a49f
|
File details
Details for the file atlas_compute-0.1.10-py3-none-any.whl.
File metadata
- Download URL: atlas_compute-0.1.10-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 |
79b250b1fe57ec44f7d82bb7b4e9bd8ae9a26e7e21c6d36e132d993b37cb33c4
|
|
| MD5 |
22bf7ee79c06ddfb11a1b6646697c442
|
|
| BLAKE2b-256 |
70c9041353dddff3497ac70ab01a2d07ea238ac7aa5b041c05814cabcfb02442
|