Skip to main content

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 and ServerAPI (server.py and server_api.py) and better names
    • ServerAPI was added primarily for desktop app which handle login and logout in a different way so the class should be maybe removed and ServerAPIBase should be renamed to ServerAPI
    • find more suitable names of classes
    • find more suitable name of objects (right now is used connection or con)
  • Add folder and task changes to operations
    • Entity hub should use operations to update folders and tasks

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

ayon-python-api-0.1.12.tar.gz (55.8 kB view details)

Uploaded Source

Built Distribution

ayon_python_api-0.1.12-py3-none-any.whl (59.4 kB view details)

Uploaded Python 3

File details

Details for the file ayon-python-api-0.1.12.tar.gz.

File metadata

  • Download URL: ayon-python-api-0.1.12.tar.gz
  • Upload date:
  • Size: 55.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for ayon-python-api-0.1.12.tar.gz
Algorithm Hash digest
SHA256 546d0821330e363db7110b0e28346e0996687f7b024cab0b407df271663200cd
MD5 67dec6baddb0c179885823a2d671aa1b
BLAKE2b-256 faf2d67f3139f17beb8a475365d4b5a5c9679b1030360e4ae0fa8a2b053a5c46

See more details on using hashes here.

File details

Details for the file ayon_python_api-0.1.12-py3-none-any.whl.

File metadata

File hashes

Hashes for ayon_python_api-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 dd4aebe30abb5c3f0a9e79a2c617e193896fdaa236a7daa0198bdf5b2d5ef46e
MD5 8de9a9002c6855a48c142d8f28da8399
BLAKE2b-256 0cbdfb4460c9e86fa615c5c3ecd5ff576e9ab279cc38f070d1a6ac1bec4d7d23

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page