Metadata-Version: 2.1
Name: ayon-python-api
Version: 0.1.12
Summary: AYON Python API
Home-page: https://github.com/ynput/ayon-python-api
Author: ynput.io
Author-email: info@ynput.io
License: Apache License (2.0)
Keywords: AYON,ynput,OpenPype,vfx
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
Requires-Dist: requests (>=2.27.1)
Requires-Dist: six (>=1.15)
Requires-Dist: Unidecode (>=1.2.0)
Requires-Dist: appdirs (<2,>=1)

# 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 


