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.8.tar.gz (3.9 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.8-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: atlas_compute-0.1.8.tar.gz
  • Upload date:
  • Size: 3.9 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.8.tar.gz
Algorithm Hash digest
SHA256 02113f4c5db76808e01ce29b36a85b4e212317da0853537806146595335b229b
MD5 691d8f794427bee093c0ee058955eb09
BLAKE2b-256 0cb62dc578a61e4752c6dc03bdc56e39ec39a34be68b1645c9e5703f809e4139

See more details on using hashes here.

File details

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

File metadata

  • Download URL: atlas_compute-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6d01ee007da47182d98e8c24e10abcef3ec1ac73fc6a38dc5051a3c7caae5123
MD5 059dec8f7b73541deba2526038a2df1d
BLAKE2b-256 a42d09819f2befe19b3cef836cbef45e565a5bab512a464b31d586b4aa671b61

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