This release is a pre-release and may not be stable for production use.
Manage your open polycloud platform.
The polycloud CLI includes all features to manage your polycloud setup including service template, UI templates, platform template and operation tasks. This means you save time developing and hava a higher convinince then using multiple scripts.
Getting Started
Install the cli using pip install polycloud. Get an overview of all <objects> and <commands> using polycloud -h.
Prerequisites
Install Python and Pip.
brew install python
Install cement framework and its dependencies
pip install -r requirements.txt
Installation
Install the python code for the CLI
pip install setup.py
Development
This project includes a number of helpers in the Makefile to streamline common development tasks.
Environment Setup
The following demonstrates setting up and working with a development environment:
### create a virtualenv for development
$ make virtualenv
$ source env/bin/activate
### run polycloud cli application
$ polycloud --help
### run pytest / coverage
$ make test
Releasing to PyPi
Before releasing to PyPi, you must configure your login credentials:
~/.pypirc:
[pypi]
username = YOUR_USERNAME
password = YOUR_PASSWORD
Then use the included helper function via the Makefile:
$ make dist
$ make dist-upload
Deployments
Docker
Included is a basic Dockerfile for building and distributing Polycloud,
and can be built with the included make helper:
$ make docker
$ docker run -it polycloud --help
Metadata
Release files for polycloud 0.0.1.dev20181010211930
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| polycloud-0.0.1.dev20181010211930.tar.gz | 915.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| polycloud-0.0.1.dev20181010211930-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.9 MB
Release files / polycloud-0.0.1.dev20181010211930.tar.gz
| Download URL | polycloud-0.0.1.dev20181010211930.tar.gz |
|---|---|
| Size | 915.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
798dba338da42b5b981b0270a502f3242da3b389eade048a7733e2521aeaa2fe
|
|
BLAKE2b-256 checksum How to use checksums |
29529930e910cdcfc8b8f95141aaed41c66094f8ee6f18f24f35782e6827cf20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / polycloud-0.0.1.dev20181010211930-py3-none-any.whl
| Download URL | polycloud-0.0.1.dev20181010211930-py3-none-any.whl |
|---|---|
| Size | 991.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40bcd18dd8e2c7af67531a801d64893822ce811a79db1bfb5affa1f060f04f32
|
|
BLAKE2b-256 checksum How to use checksums |
89279368ca7f7b8007e20cd00acd7bb65017109fe26c3d831079adc6d9e26e61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|