PHPackages                             coquibot/coqui-toolkit-python-env - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. coquibot/coqui-toolkit-python-env

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

coquibot/coqui-toolkit-python-env
=================================

Python virtual environment and dependency management toolkit for Coqui — create, inspect, install, and remove venvs using pip, conda, or uv

v0.1.0(2mo ago)00MITPHPPHP ^8.4CI passing

Since Apr 9Pushed 2mo agoCompare

[ Source](https://github.com/carmelosantana/coqui-toolkit-python-env)[ Packagist](https://packagist.org/packages/coquibot/coqui-toolkit-python-env)[ RSS](/packages/coquibot-coqui-toolkit-python-env/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Coqui Toolkit: Python ENV
=========================

[](#coqui-toolkit-python-env)

Manage Python virtual environments and dependencies through Coqui. Supports **pip** (venv), **conda**, and **uv** backends.

Installation
------------

[](#installation)

```
composer require coquibot/coqui-toolkit-python-env
```

Coqui discovers the toolkit automatically via `composer.json` metadata.

Requirements
------------

[](#requirements)

- PHP 8.4+
- Python 3.8+ (system-installed)
- One or more Python environment backends:
    - **venv + pip** — included with Python (default)
    - **conda** — [Miniconda](https://docs.conda.io/en/latest/miniconda.html) or Anaconda
    - **uv** — [Astral's uv](https://github.com/astral-sh/uv) (fast alternative)

Tools
-----

[](#tools)

ToolDescription`python_env_detect`Scan a project directory for dependency files, existing environments, and system tools`python_env_create`Create a new virtual environment (venv, conda, or uv)`python_env_status`Check environment health: Python version, pip version, package count, CUDA support`python_env_install`Install packages from names, requirements.txt, pyproject.toml extras, or conda env files`python_env_list`List installed packages in table, freeze, or JSON format`python_env_run`Execute inline Python code, scripts, or modules inside the environment`python_env_remove`Delete an environment with safety confirmationsTypical Workflow
----------------

[](#typical-workflow)

```
1. python_env_detect  → Scan the project, find dependency files
2. python_env_create  → Create a .venv in the project directory
3. python_env_install → Install dependencies from requirements.txt or pyproject.toml
4. python_env_status  → Verify everything is working
5. python_env_run     → Execute code or scripts

```

Backend Comparison
------------------

[](#backend-comparison)

Featurevenv + pipcondauvSpeedModerateSlowVery fastPython version managementNoYesYesNon-Python packages (C libs)NoYesNoGPU/CUDA packagesVia index URLNativeVia index URLDisk usageLowHighLowBest forGeneral projectsScientific/MLModern PythonExamples
--------

[](#examples)

### Standard Python Project (requirements.txt)

[](#standard-python-project-requirementstxt)

```
python_env_detect(project_path: "/path/to/project")
python_env_create(project_path: "/path/to/project")
python_env_install(project_path: "/path/to/project", requirements_file: "requirements.txt")

```

### Project with pyproject.toml and Extras

[](#project-with-pyprojecttoml-and-extras)

```
python_env_detect(project_path: "/path/to/jasper")
python_env_create(project_path: "/path/to/jasper")
python_env_install(project_path: "/path/to/jasper", requirements_file: "pyproject.toml")
python_env_install(project_path: "/path/to/jasper", requirements_file: "pyproject.toml[dev,test]")

```

### GPU/CUDA Project (PyTorch)

[](#gpucuda-project-pytorch)

```
python_env_create(project_path: "/path/to/project")
python_env_install(
    project_path: "/path/to/project",
    packages: ["torch", "torchvision"],
    index_url: "https://download.pytorch.org/whl/cu121"
)
python_env_install(project_path: "/path/to/project", requirements_file: "requirements.txt")

```

### Conda Environment from environment.yml

[](#conda-environment-from-environmentyml)

```
python_env_create(project_path: "/path/to/project", backend: "conda")
python_env_install(project_path: "/path/to/project", requirements_file: "environment.yml", backend: "conda")

```

### Using uv for Fast Installs

[](#using-uv-for-fast-installs)

```
python_env_create(project_path: "/path/to/project", backend: "uv")
python_env_install(project_path: "/path/to/project", requirements_file: "requirements.txt", backend: "uv")

```

Parameters Reference
--------------------

[](#parameters-reference)

### python\_env\_detect

[](#python_env_detect)

ParameterTypeRequiredDescription`project_path`stringYesAbsolute path to the project directory### python\_env\_create

[](#python_env_create)

ParameterTypeRequiredDefaultDescription`project_path`stringYes—Absolute path to the project directory`backend`enumNo`venv``venv`, `conda`, or `uv``python_version`stringNo—Python version for conda/uv (e.g. `3.11`)`env_name`stringNo`.venv`Environment directory name### python\_env\_status

[](#python_env_status)

ParameterTypeRequiredDefaultDescription`project_path`stringYes—Absolute path to the project directory`env_name`stringNo`.venv`Environment directory name### python\_env\_install

[](#python_env_install)

ParameterTypeRequiredDefaultDescription`project_path`stringYes—Absolute path to the project directory`packages`arrayNo—List of package specifiers (e.g. `["numpy>=1.26", "pandas"]`)`requirements_file`stringNo—Path to requirements.txt, pyproject.toml, or environment.yml`backend`enumNo`pip``pip`, `conda`, or `uv``env_name`stringNo`.venv`Environment directory name`index_url`stringNo—Custom package index (e.g. PyTorch CUDA wheels)### python\_env\_list

[](#python_env_list)

ParameterTypeRequiredDefaultDescription`project_path`stringYes—Absolute path to the project directory`format`enumNo`table`Output format: `table`, `freeze`, or `json``outdated`boolNo`false`Show only packages with available updates`filter`stringNo—Filter packages by name substring`env_name`stringNo`.venv`Environment directory name### python\_env\_run

[](#python_env_run)

ParameterTypeRequiredDefaultDescription`project_path`stringYes—Absolute path to the project directory`code`stringNo—Inline Python code to execute`script`stringNo—Path to a .py script (relative to project)`module`stringNo—Module to run (e.g. `pytest`, `http.server`)`args`stringNo—Additional CLI arguments`timeout`numberNo`30`Execution timeout in seconds`env_name`stringNo`.venv`Environment directory name### python\_env\_remove

[](#python_env_remove)

ParameterTypeRequiredDefaultDescription`project_path`stringYes—Absolute path to the project directory`env_name`stringNo`.venv`Environment directory name`confirm`boolYes—Must be `true` to proceedDevelopment
-----------

[](#development)

```
composer install
composer test
./vendor/bin/phpstan analyse
```

License
-------

[](#license)

MIT

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance87

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

62d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/597820?v=4)[Carmelo Santana](/maintainers/carmelosantana)[@carmelosantana](https://github.com/carmelosantana)

---

Top Contributors

[![carmelosantana](https://avatars.githubusercontent.com/u/597820?v=4)](https://github.com/carmelosantana "carmelosantana (1 commits)")

---

Tags

pythontoolkitphp-agentscoquipipuvvirtualenvvenvconda

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/coquibot-coqui-toolkit-python-env/health.svg)

```
[![Health](https://phpackages.com/badges/coquibot-coqui-toolkit-python-env/health.svg)](https://phpackages.com/packages/coquibot-coqui-toolkit-python-env)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
