AYON Python API
Project description
AYON server API
Python client for connection server. Client must be (at least for some time) Python 2 compatible because will be used in DCC that are "older".
AYON Python api should support connection to server with raw REST functions and prepared functionality for work with entities. Must not contain only functionality that can be used with core server functionality.
Module support singleton connection which is using AYON_SERVER_URL
and AYON_TOKEN
environment variables as source for connection. The singleton connection is using ServerAPI
object. There can be created multiple connection to different server at one time, for that purpose use ServerAPIBase
object.
TODOs
- More clear what is difference in
ServerAPIBase
andServerAPI
(server.py
andserver_api.py
) and better namesServerAPI
was added primarily for desktop app which handle login and logout in a different way so the class should be maybe removed andServerAPIBase
should be renamed toServerAPI
- find more suitable names of classes
- find more suitable name of objects (right now is used
connection
orcon
)
- Add folder and task changes to operations
- Entity hub should use operations to update folders and tasks
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 ayon-python-api-0.1.10.tar.gz
.
File metadata
- Download URL: ayon-python-api-0.1.10.tar.gz
- Upload date:
- Size: 51.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c1aeb2e079d71ad81a8b2411907e4c19fc9ae5e876b16143bc6b9e6db43a262 |
|
MD5 | 88d24c14e9db392dbb74b6b71fc51997 |
|
BLAKE2b-256 | a1d93984e1953b72d30ef083b8a0ae9c2e56ce5b4c62279b448f586b6211c675 |
File details
Details for the file ayon_python_api-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: ayon_python_api-0.1.10-py3-none-any.whl
- Upload date:
- Size: 55.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b28e1b134bbba2666ec05a0637c67256b55b908bc20614f82a6e85519a67496 |
|
MD5 | cd587407d3a02a200edc8ca53d769801 |
|
BLAKE2b-256 | 658a412f55fd19341b3455c3dfd882bd7f0b72f51c25888d2607dfb033820421 |