/pypahe

Python Package Helper

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

pypahe

CI CodeQL Docker Build

Bonjour Software pypahe is a Python Package Helper command-line tool.

Requirements

  • Docker runtime

Usage

  • print the latest available version of a given package:
docker run bonjoursoftware/pypahe latest boto3
  • print a given Pipfile or Poetry pyproject where all packages have been upgraded to their latest versions:
docker run bonjoursoftware/pypahe upgrade "$(cat /path/to/package_config)"

Tip: the Pipfile or Poetry pyproject file can be upgraded in place with:

docker run bonjoursoftware/pypahe upgrade "$(cat /path/to/package_config)" > /path/to/package_config
  • print manual:
docker run bonjoursoftware/pypahe --help

Tip: the --help argument also works on subcommands:

docker run bonjoursoftware/pypahe latest --help
docker run bonjoursoftware/pypahe upgrade --help