Deploy helper for Python projects
Project description
pydeployhelp
Overview
pydeployhelp
is aimed to help integrating deploy (via Docker) to Python projects. It can be used both as
external library (all processors can be imported) and as CLI tool.
Following CLI tools will be available after installation:
-
pydeployhelp-quickstart
: creates directory with deploy service files templates (Dockerfile, docker-compose, configs) -
pydeployhelp
: performs deploy according to info from deploy directory crated bypydeployhelp-quickstart
Installation
pydeployhelp
can be installed from PyPi
:
pip install pydeployhelp
Or locally (inside project directory):
python setup.py install
pydeployhelp-quickstart
tool and all code library can be used without any external system packages installation.
pydeployhelp
requires following external packages to be installed:
Usage
pydeployhelp-quickstart
usage: pydeployhelp-quickstart [-h] [-s] [-v]
optional arguments:
-h, --help show this help message and exit
-s, --silent If specified, all communication with user will be ignored, default values will be used instead
-v, --version Print version and exit
Executing in ordinary way (without --silent
) you will be asked to enter some info
(project name, deploy directory location, supported tasks),
soon after that you will see message about service files creation status.
pydeployhelp
usage: pydeployhelp [-h] [-d DEPLOYDIR] [-s] [-v]
optional arguments:
-h, --help show this help message and exit
-d DEPLOYDIR, --deploydir DEPLOYDIR
Path to directory with deploy scripts (normally generated via `pydeployhelp-quickstart`)
-s, --silent If specified, all communication with user will be ignored, default values will be used instead
-v, --version Print version and exit
Executing in ordinary way (without --silent
) you will be asked to enter some info
(task names, services names),
soon after that you will see message about deploy status.
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 Distribution
Built Distribution
File details
Details for the file pydeployhelp-1.2.3-2.tar.gz
.
File metadata
- Download URL: pydeployhelp-1.2.3-2.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49499e16e90f36f75ff08e98bd01895af30e7d3d58175d1f3bcf23ada48e64dd |
|
MD5 | 7cc9f50212993b16fa08c26a6f6e2864 |
|
BLAKE2b-256 | 6bdef9227901a45d274d3dc035a52613f93715ce0f580acb31fe87f095824a17 |
File details
Details for the file pydeployhelp-1.2.3.post2-py3-none-any.whl
.
File metadata
- Download URL: pydeployhelp-1.2.3.post2-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c528b567b6e33f346da0abf86fc62112bb6983cca6b5aff17cd68d0f1ce2a7b7 |
|
MD5 | 11b80877fcd87fb57bf1fc3df814b2ba |
|
BLAKE2b-256 | c1973c584b0a1b4cccab7cbcd77cfd825af529a144b74b4a9aaa3bd1f2f58909 |