# vevn

## Usage

```bash
# Create a venv
$ python -m venv venv

# Activate the venv
$ source venv/bin/activate

# Install the tool
$ pip install -r requirements.txt

# List installed packages
$ ls venv/lib/python3.12/site-packages/

# Run the tool
$ python <tool>

# Deactivate the venv
$ deactivate

# Remove the venv
$ rm -rf venv/
```

## Python2

{% code overflow="wrap" %}

```bash
# Create a venv for python2
$ sudo apt install python2-dev
$ pip2 install virtualenv
$ virtualenv -p python2 ~/myenv
$ source ~/myenv/bin/activate
```

{% endcode %}

## UV + VENV

{% code overflow="wrap" %}

```bash
# Create & activate a virtual environment
uv venv ~/.venvs/ad-miner

# Activate a virtual environment
source ~/.venvs/ad-miner/bin/activate

# Install the package
uv pip install 'git+https://github.com/Mazars-Tech/AD_Miner.git'

# Create a symlink
n -s ~/.venvs/ad-miner/bin/AD-miner  ~/.local/bin/AD-miner

# Execute the package
AD-miner
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://x7331.gitbook.io/boxes/tools/package-managers/vevn.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
