Python SDK for the Clever Cloud API
Project description
Clever Cloud Python SDK
A Python SDK for the Clever Cloud API.
Installation
pip install clevercloud-sdk
Usage
With API Token
from clever_cloud import CleverCloudClient, ApiTokenCredentials
async with CleverCloudClient(ApiTokenCredentials(token="...")) as client:
profile = await client.get_profile()
print(f"Hello, {profile.name}!")
With OAuth
from clever_cloud import CleverCloudClient, OAuthCredentials
credentials = OAuthCredentials(
consumer_key="...",
consumer_secret="...",
token="...",
secret="...",
)
async with CleverCloudClient(credentials) as client:
app = await client.create_application(
owner_id="...",
name="my-app",
instance_slug="node"
)
License
Apache 2.0 - See LICENSE for details.
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
clevercloud_sdk-0.1.0.tar.gz
(11.7 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 clevercloud_sdk-0.1.0.tar.gz.
File metadata
- Download URL: clevercloud_sdk-0.1.0.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7b2c09ecadf7212f418684ce298311de2fed05944999238581eb072bfd73078
|
|
| MD5 |
d71397f20b1a0a8039f0fba1c2d1127c
|
|
| BLAKE2b-256 |
bdbf59b691fd0f3622587505f92175d0a5592def9ff97c59b6923a8dfe2417f1
|
File details
Details for the file clevercloud_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: clevercloud_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5333124391a539dde98f25ab432a9fac2a357de8fb41fcf24bc8a1b3866d04f
|
|
| MD5 |
bf40b11e63a894144fde53951d1c4287
|
|
| BLAKE2b-256 |
93872581ced3b96a8f0228fdb60d78e16f731499189ebef8323ce2cdf0492c8a
|