Python client for CAAS
Project description
Python client for CAAS
To be filled: Brief Introduction
Features
HTTP interface using requests
Python native quering for CAAS API objects
Installation
Using pip:
pip install python-caasclient
A virtualenvwrapper is recommended:
virtualenv python-caasclient pip install python-caasclient
Manual Installation:
git clone https://github.com/rogeryu27/python-caasclient.git cd python-caasclient python setup.py install
Usage
Query for all ready containers [in a custom namespace]:
from python_caasclient import client
container_list = client(<caas url>).containers.list()
Create a self-defined image:
import os
from python_caasclient import client
image = client(<caas url>).image.create_by_dockerfile(os.open('path/to/dockerfile','w+'))
Requirements
Python 2.7
requests
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for python_caasclient-1.0.1b1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66565d94f40da0a9a31499cedf08ff45851ecea0cf77879db416ed17999274cf |
|
MD5 | 03ea7c31ef7b29128cf31bacfa76f999 |
|
BLAKE2b-256 | 8941347b068de34f1cec6be185de991d6b627fdbec46892535fe221c0b87d021 |