pav


Namepav JSON
Version 1.1.1 PyPI version JSON
download
home_pagehttps://github.com/ArianN8610/PAV
SummaryPAV is a Python library with features to easily work with venv
upload_time2024-12-23 22:06:58
maintainerNone
docs_urlNone
authorArian
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://pip.pypa.io/en/stable/) to install **PAV**.
```bash
pip install pav
```

## Usage
You can use **PAV** through terminal. Here’s a quick example:
```bash
pav file main.py
```
For a complete list of available commands:
```bash
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:
```bash
pav file ./project/main.py
```
To specify the venv path manually:
```bash
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:
```bash
pav file ./project/main.py --arguments "create --name file_name -u"
```

### command
It works like "file" except that it takes a command as input and executes it after activating venv.
```bash
pav command "pip install lib"
```

## Requirements
* Python 3.6 or higher
* [Click](https://click.palletsprojects.com/en/stable/) library for command-line handling (automatically installed as a dependency)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ArianN8610/PAV",
    "name": "pav",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Arian",
    "author_email": "ariannasiri86@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/5f/31/0850ecd803ce4d44dee0983299b15e7dddba2a86f14b62c7a0d830e7fb4d/pav-1.1.1.tar.gz",
    "platform": null,
    "description": "# PAV\r\n**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.\r\n\r\n## Installation\r\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install **PAV**.\r\n```bash\r\npip install pav\r\n```\r\n\r\n## Usage\r\nYou can use **PAV** through terminal. Here\u00e2\u20ac\u2122s a quick example:\r\n```bash\r\npav file main.py\r\n```\r\nFor a complete list of available commands:\r\n```bash\r\npav --help\r\n```\r\n\r\n## Features\r\n### file\r\nIt 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)  \r\nHere are some examples:\r\n```bash\r\npav file ./project/main.py\r\n```\r\nTo specify the venv path manually:\r\n```bash\r\npav file ./project/main.py --venv-path ../venv_dir\r\n```\r\nIf the file you want to execute needs to take some arguments, you can use --arguments:\r\n```bash\r\npav file ./project/main.py --arguments \"create --name file_name -u\"\r\n```\r\n\r\n### command\r\nIt works like \"file\" except that it takes a command as input and executes it after activating venv.\r\n```bash\r\npav command \"pip install lib\"\r\n```\r\n\r\n## Requirements\r\n* Python 3.6 or higher\r\n* [Click](https://click.palletsprojects.com/en/stable/) library for command-line handling (automatically installed as a dependency)\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "PAV is a Python library with features to easily work with venv",
    "version": "1.1.1",
    "project_urls": {
        "Homepage": "https://github.com/ArianN8610/PAV"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2f4f24b024c09ab4f68b23b1e982b380391784ab66dec9416faec850647910a6",
                "md5": "213e94650bce537a2e5e9d805f66be52",
                "sha256": "d278029dca7a12f77ae3f6438c9abbd583ea1dbb08ee020b5593a8d88f6bb3ce"
            },
            "downloads": -1,
            "filename": "pav-1.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "213e94650bce537a2e5e9d805f66be52",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5345,
            "upload_time": "2024-12-23T22:06:52",
            "upload_time_iso_8601": "2024-12-23T22:06:52.971353Z",
            "url": "https://files.pythonhosted.org/packages/2f/4f/24b024c09ab4f68b23b1e982b380391784ab66dec9416faec850647910a6/pav-1.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5f310850ecd803ce4d44dee0983299b15e7dddba2a86f14b62c7a0d830e7fb4d",
                "md5": "42b34918fb3015c69157f1d2cfb59058",
                "sha256": "b5ca55a320394fcf5989a6a459a7a75be9def645d8a7ae6918e2fe69c905f2f0"
            },
            "downloads": -1,
            "filename": "pav-1.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "42b34918fb3015c69157f1d2cfb59058",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4861,
            "upload_time": "2024-12-23T22:06:58",
            "upload_time_iso_8601": "2024-12-23T22:06:58.888287Z",
            "url": "https://files.pythonhosted.org/packages/5f/31/0850ecd803ce4d44dee0983299b15e7dddba2a86f14b62c7a0d830e7fb4d/pav-1.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-23 22:06:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ArianN8610",
    "github_project": "PAV",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pav"
}
        
Elapsed time: 0.36204s