This repo is unnofficial and unsupported. The supported means of interacting with CML via API is CML API v2. The documentation for CML API v2 is here.
Wrapper class for the interacting with the CML API. Please note that this library is experimental and currently unsupported.
The CML Bootstrap library provides a list of methods for interacting with the CML backend api for jobs, models, applications and experiments.
pip3 install git+https://github.com/fastforwardlabs/cmlbootstrap#egg=cmlbootstrapfrom cmlbootstrap import CMLBootstrap
cml = CMLBootstrap(host, username, api_key, project_name)
user_details = cml.get_user({}) # example method to fetch user detailsThe library current supports methods that cover the jobs, models, applications and experiments abstractions on CML. For additional details, see the library documentation.