Skip to main content

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

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

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

cmd

It works like "file" except that it takes a command as input and executes it after activating venv.

pav cmd "pip install lib"

shell

It opens a shell with activate venv to execute commands.

pav shell
> pip list

Package       Version
------------- -------
numpy         2.0.0
pip           24.0

reqs

It finds requirements for a project. It also can install them after finding. example:

pav reqs -p core -e false -o

Options

Option Description
-p, --project Path to project for finding requirements (default: current directory .)
-s, --standard Filter based on Python's built-in modules (true | false)
-e, --exist Filter based on modules installed in venv (true | false)
--version Find module versions from venv or PyPi
-o, --output Save results to a file (default: requirements.txt)
-i, --install Install the found packages in venv

Requirements

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

Release files for pav 1.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pav 1.4.3
File Size Uploaded
pav-1.4.3.tar.gz 20.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pav 1.4.3
File Interpreter ABI Platform
pav-1.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 39.5 kB

Release files / pav-1.4.3.tar.gz

Download URL pav-1.4.3.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5e90a333ea1926aeca9ae2e12d5f63d2f693f070e3335b1271911a1b0c635fd2
BLAKE2b-256 checksum
How to use checksums
f9c02a8abe155a55ec4714838a6f841584510f807d5c4a5d040872828fda3b16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Release files / pav-1.4.3-py3-none-any.whl

Download URL pav-1.4.3-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dcc5e02d43961bcb4218ace01a19b2d1888651d751ef084f28712f090ea3873e
BLAKE2b-256 checksum
How to use checksums
b8d21e9ed0c1a73c7b2a66b74322b6677962f104d48b593897ab773b7e4b1b25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

1.5.0

2 release files

1.4.4

2 release files

This release

1.4.3 This release

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page