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

Uploaded Source

Built Distribution

pydeployhelp-1.4.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydeployhelp-1.4.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for pydeployhelp-1.4.0.tar.gz
Algorithm Hash digest
SHA256 56638248ad50986087008a09f30a75189bd360e0092f9f733635e8cd85ad54fe
MD5 3abe63dd49a8d450e23ff1f0c6a07e5b
BLAKE2b-256 5092b0a03a76d916958cc94329838105f977bf0160ca9519b40790e2b9d351eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pydeployhelp-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b84011db2180c8c950c12fe1c85aa7e844381a0e079f5ca60608c5e58cd7e648
MD5 4cf98eb18825ec8c4d7b7a4d9ffc664c
BLAKE2b-256 29109e7cd7e43ab7c7178743e663ec488844c28f86988be6f162a1fe4d93c14a

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