Skip to main content

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


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.12.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atlas_compute-0.1.12-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file atlas_compute-0.1.12.tar.gz.

File metadata

  • Download URL: atlas_compute-0.1.12.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

Hashes for atlas_compute-0.1.12.tar.gz
Algorithm Hash digest
SHA256 87b2403f91506d7900b4e9210c695cbc39d1950ebdba5470580d5833c1487173
MD5 d2039b0a9beadda4f57682d01cf4f8e8
BLAKE2b-256 2027463f2e57f6f7f63f7ee09b837528583bc4e13f44829abd52d1c126c17976

See more details on using hashes here.

File details

Details for the file atlas_compute-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: atlas_compute-0.1.12-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

Hashes for atlas_compute-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 22f52c5b226ded06ac966f601bba7934391f51d78f2328829568b16d0a4c3d9d
MD5 28eb5b56763a0b34024418789a505abe
BLAKE2b-256 a851fc9de814231d61331179503089abfba4c864ab9786b5ae90f3f4e98e7e4c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page