Acho Python SDK
Project description
README
This package will serve as the programmatic interface between Acho and your python scripts
Features
- Get data from Acho Project view
- Connect to an Acho Published App instance's eventing system
- Manage Media Assets on Acho
Installing
Package Manager
$ pip install acho-sdk
from acho import Project
Example with Project Endpoints
Initializing the Acho Client
project = Project()
The SDK will use the environment variables from your system
ACHO_PYTHON_SDK_TOKEN: The Acho develoepr API token
- If you are a current subscriber, retrieve it from your profile page
- If you want to try out the SDK without an active subscription, please contact us
ACHO_PYTHON_SDK_BASE_URL: The service backend you are connecting to
- Default to https://kube.acho.io
- This setting is irrelevant unless you subscribe to on-premise or dedicated server
If you prefer convenience in testing, you could also initialize the instance by passing in the variables in constructor
project = Project(token=token, base_url=host)
Note: It is not recommended to expose your API token in the code base, especially on production
If you suspect your token might be leaked, you can invalidate the token in your profile page, or report to contact@acho.io
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
Built Distribution
File details
Details for the file acho_sdk-0.3.3.tar.gz
.
File metadata
- Download URL: acho_sdk-0.3.3.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b9513c0752c9dd5d034469f817d65af9145e119867545cdd5efd3d92492616c |
|
MD5 | 5d6d896aa48a7cbe54569820697b707b |
|
BLAKE2b-256 | c749f32871363c18f404b2db598bad1970fc4d30cae8b6729ecb8f457a95c7ff |
File details
Details for the file acho_sdk-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: acho_sdk-0.3.3-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df50512726a69e9e3b43ae921bd72788322428d8683226db9e8268a0089996bc |
|
MD5 | 825aa3438f9641d0b23f2d83bd4de22a |
|
BLAKE2b-256 | 69efb0211bfb9dbd987003aabb785440c21419960bc1cdeb544444aa1c8a1086 |