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.11.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.11-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: atlas_compute-0.1.11.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.11.tar.gz
Algorithm Hash digest
SHA256 e6941b2b345650115b7665c2ea854906415d3558161600ed818f85c2683a68dd
MD5 17fd34d9e7064faac6adfe1a13b88c0b
BLAKE2b-256 ebde3ae0fddfc11de1048f256d3be9f39d3895156732442bff8b2d864b173c32

See more details on using hashes here.

File details

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

File metadata

  • Download URL: atlas_compute-0.1.11-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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 5546df321f9b54d0b4be58cafe816b904c2ef486b8380760dff636eac5ffbf9b
MD5 3a51e98b3628d6773031d63fc0a19bff
BLAKE2b-256 6123c33ecb186c086c704bb7746ea5466f25db4f14b7a3f7ff38ad7545219f41

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