OCT is a devops toolset
Installation
$ pip install -r requirements.txt
$ 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 octopus cli application
$ octopus --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 octopus,
and can be built with the included make helper:
$ make docker
$ docker run -it octopus --help
Release files for octopus-cli 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| octopus-cli-0.0.1.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| octopus_cli-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:8.9 kB
Release files / octopus-cli-0.0.1.tar.gz
| Download URL | octopus-cli-0.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e827a21dd663e25a310a30ea3e317ab7bb697c7219212e66303eaa2d703ea36f
|
|
BLAKE2b-256 checksum How to use checksums |
2fe86294d65596b8a450c2b343eb25f714f32f7980f228a34f34d17e014b86de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Release files / octopus_cli-0.0.1-py3-none-any.whl
| Download URL | octopus_cli-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf52d423b758d490bf764413644b4996d504743c5ab2dd47bca1e493172c4814
|
|
BLAKE2b-256 checksum How to use checksums |
bab897ef29279d92abad939c5d04ae7b607ec239939c80c969c9f31f06d1e4eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|