Skip to main content

PAV is a Python library with features to easily work with venv

Project description

PAV

PAV is an advanced Python command-line tool that simplifies virtual environment (venv) management and streamlines project execution. With PAV, you can run files, manage dependencies, and execute commands in a virtual environment without needing to manually activate the venv. PAV automates environment detection, activation, and optimized dependency handling.

Installation

Use the package manager pip to install PAV.

pip install pav

Usage

You can use PAV through terminal. Here’s a quick example:

pav file main.py

For a complete list of available commands:

pav --help

Features

pav file

It takes the file path for argument and if the venv path was not given manually, it detects the venv path if it exists and activates it and runs the Python file (If the venv is located in a specific path that the program may not automatically recognize, it is better to enter it manually)
Here are some examples:

pav file ./project/main.py

To specify the venv path manually:

pav file ./project/main.py --venv-path ../venv_dir

If the file you want to execute needs to take some arguments, you can use --file-arguments:

pav file ./project/main.py --file-arguments "create --name file_name -u"

Requirements

  • Python 3.6 or higher
  • Click library for command-line handling (automatically installed as a dependency)

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

pav-1.0.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

pav-1.0.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file pav-1.0.0.tar.gz.

File metadata

  • Download URL: pav-1.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for pav-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ee69bd198498be7c099cfa5e5e6f4b6019f9c53bc3460f8a07cdb0b9978d4353
MD5 2284c4c5961c9e4b37250b40e993ef2b
BLAKE2b-256 b5cb4aeff4a082e9c0f1a140b1f6e2c80855458a5c6fac2a8a03759612f45538

See more details on using hashes here.

File details

Details for the file pav-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pav-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for pav-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09202e5c79c5ac7c5baafcebdaf3a36253496daf5cb71072bddebfb14428ea91
MD5 2648cb1176a0950c9188d5dbfe83e062
BLAKE2b-256 78eae09808ce93a1bf84a941d0ef0101c7c1fdd9d4066cada2eb8aea69f53d1e

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