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

Documentation

Please see the latest documentation at Read the Docs

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:

Updating to newer versions

python -m pip install --upgrade --no-cache-dir pydeployhelp

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.3.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

pydeployhelp-1.3.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydeployhelp-1.3.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for pydeployhelp-1.3.0.tar.gz
Algorithm Hash digest
SHA256 9576475ca570f9faaa6a9f43ee7290b9b63f4c45cac589e666058469b805f98f
MD5 ff0e80ad6c5a90ed05163822f232c11c
BLAKE2b-256 bedfefcc27a5948cadc27ae3d0fef7d57b1e4d844b4355f041a42b292cec1170

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydeployhelp-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for pydeployhelp-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16cb56df01c362d4903394b035fb0918585aa9c968d56920350a323f5797358e
MD5 9387ced10eb151d44acb48f26637ef7c
BLAKE2b-256 65b3b6ba58859046063a35685dc9eb519bfff7deb004240fb64db4ce46caadfd

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