Skip to main content

CLI tool that helps integrating deploy (via Docker) to 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: performs deploy according to info from deploy directory created by pydeployhelp-quickstart
  • pydeployhelp-quickstart: creates directory with deploy service files templates (Dockerfile, docker-compose, configs)

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):

pip install -e .

pydeployhelp requires following external packages to be installed:

pydeployhelp-quickstart tool and all code library can be used without any external system packages installation.

Updating to newer versions

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

Usage

pydeployhelp

Usage: pydeployhelp [OPTIONS]

Main entrypoint, which will be called when executing `pydeployhelp` in console

╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --task                         TEXT  List of deployment tasks defined in config.yaml                                                                                             │
│ --target                       TEXT  List of deployment targets defined in config.yaml                                                                                           │
│ --deploydir                    TEXT  Path to directory with deploy scripts (normally generated via `pydeployhelp-quickstart`) [default: deploy]                                  │
│ --silent       --no-silent           Ignore all communication with user and use default values [default: no-silent]                                                              │
│ --version      --no-version          Print version and exit [default: no-version]                                                                                                │
│ --help                               Show this message 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.

Console mode example (you will not be asked to enter any info manually):

pydeployhelp --task build --task up --target all

pydeployhelp-quickstart

Usage: pydeployhelp-quickstart [OPTIONS]

╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --silent     --no-silent       Ignore all communication with user and use default values [default: no-silent]                                                                    │
│ --version    --no-version      Print version and exit [default: no-version]                                                                                                      │
│ --help                         Show this message 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.

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

Uploaded Source

Built Distribution

pydeployhelp-1.4.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydeployhelp-1.4.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pydeployhelp-1.4.1.tar.gz
Algorithm Hash digest
SHA256 6e7085b1896f3928956010619b52f0e07b449f6a6eecd115f84c3ee81e8b7e80
MD5 4d1e27f693b894b590aefd2e16344649
BLAKE2b-256 50a11b842ee5ddba5aac82339f02ec66e7f0e698a31348f8e137b19a9660a9d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydeployhelp-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pydeployhelp-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48848fe32183bf6da0e4e4ec0c65db9ff1384613115bfca1482f12a91e2853bf
MD5 61458b88a91e082106127afdaac27023
BLAKE2b-256 85b3dd5e99cd44ae96aa41a80f23784bdaaa501f6a79fe7feaaa532fa7658bd0

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