Skip to main content

A CLI tool that automatically installs missing Python dependencies and runs the given command.

Project description

pipli

PyPI version

Auto install pip dependencies needed for a given command to run successfully. Pipli keeps installing missing packages as long as it encounters ModuleNotFoundError or command not found errors while running user given command. Pipli finally runs the given command when all required packages have been installed.

Usage

pipli  '<cmd>'

:warning: It's recommended to use a vitual environment to keep your package installations contained and isolated.

python -m venv .myenv

Installation

pip install pipli

Examples

pipli 'python main.py'
pipli 'flask --app hello run'
pipli 'uvicorn main:app --host 0.0.0.0 --port 80'

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

pipli-1.0.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pipli-1.0.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file pipli-1.0.3.tar.gz.

File metadata

  • Download URL: pipli-1.0.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for pipli-1.0.3.tar.gz
Algorithm Hash digest
SHA256 55b8e09a870895171c38eb1ce7fbd98256c787303f939eb2289782f16435f5c8
MD5 243c014d8b2359b9c163e24d2910d8c4
BLAKE2b-256 0f037b2651bb27fc66ddd32a0eabd7e897339eb09d65e72cd58ebe9bff0faba5

See more details on using hashes here.

File details

Details for the file pipli-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: pipli-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for pipli-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fe8b34bd18fb7285e1e0e697d0c83c5fea52813bc9ebe3eb1bade64b5e57d73b
MD5 aeb76c48c85e420e671da5281df2bfa3
BLAKE2b-256 404f85e62b6330bd78f68450d9cfdec1795afb0355ad6174fbefe2a9a44b7800

See more details on using hashes here.

Supported by

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