https://github.com/enthought/python-replicated
Default Repo description from terraform module
https://github.com/enthought/python-replicated
Last synced: 8 months ago
JSON representation
Default Repo description from terraform module
- Host: GitHub
- URL: https://github.com/enthought/python-replicated
- Owner: enthought
- License: other
- Created: 2016-02-12T11:26:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-11T21:14:22.000Z (over 9 years ago)
- Last Synced: 2025-01-27T17:17:01.179Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
===================
python-replicated
===================
A Python interface to the Replicated_ `Vendor API`_.
.. _Replicated: https://www.replicated.com
.. _`Vendor API`: http://docs.replicated.com/docs/about-the-vendor-api
The library currently only provides access to a very limited subset of
the Replicated Vendor API.
The library is also currently untested. This will be rectified soon.
Example usage
=============
There is not yet any real user documentation. Here is a brief example
of a limited subset of the library::
from replicated.core import ReplicatedVendorAPI
api = ReplicatedVendorAPI('token')
apps = api.get_apps()
app = apps[0]
releases = list(app.releases)
print(releases[0].config)
releases[0].config = new_yaml_config
print(releases[0].edited_at)