Skip to main content

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 by pydeployhelp-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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydeployhelp-1.1.2.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

pydeployhelp-1.1.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file pydeployhelp-1.1.2.tar.gz.

File metadata

  • Download URL: pydeployhelp-1.1.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for pydeployhelp-1.1.2.tar.gz
Algorithm Hash digest
SHA256 a54ab1ef5df316115600396399c770a897390a18958b5d828990f0f856a7ced2
MD5 3dfd68c8962777616ac3b09a7c6f64c1
BLAKE2b-256 38c59f741ee6552d0e1705546524d8d4c473cefdd09804933d3d355538d30963

See more details on using hashes here.

File details

Details for the file pydeployhelp-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: pydeployhelp-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for pydeployhelp-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 577e5877cf9d2c3ac8913b08a01d6c96a377b7ede442a0bd045e10fed3134a56
MD5 459dc57971b310c7cce7675c3b5919e9
BLAKE2b-256 1fe2c7fb800fc328cdabe594d72f1116d3d5202ab2c62a149c1b1dc2277ad0e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page