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.4

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.4
File Size Uploaded
pav-1.4.4.tar.gz 20.0 kB Details

Built distribution (wheel)

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

Total release size: 39.5 kB

Release files / pav-1.4.4.tar.gz

Download URL pav-1.4.4.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
de11acaf090a9c0aac1e747c8669e1235706623b0b20672ea5b5faf269cda232
BLAKE2b-256 checksum
How to use checksums
0fde1416e49fa0c02e34dd63533bda7a4ff790034a2e79dd03cf9a24ec489fbc
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.4-py3-none-any.whl

Download URL pav-1.4.4-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c1e802e177df716190f5509c4161ec3d4cc70e17bfc42d194e75e6bfb94487b
BLAKE2b-256 checksum
How to use checksums
7a723e3188436f399851616675d4b5de41340b93adbaef7124a36443dea267e1
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

This release

1.4.4 This release

2 release files

1.4.3

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