Skip to main content

venvtree

Looks at a project's .venv folder and shows which package was installed because of which other package, as a tree.

Installation

pip install venvtree

Install it in any environment; it inspects the .venv of the project you run it in.

Usage

venvtree                         # the .venv in the current folder (or a parent)
venvtree jinja2                  # one package: its dependencies and what requires it
venvtree --path path/to/project  # another project
from venvtree import VenvTree

tree = VenvTree()            # scans .venv on creation
print(tree)                  # prints the tree
tree.roots                   # top-level packages
tree.requires("flask")       # what does flask require?
tree.required_by("click")    # who requires click?
tree.render_package("click") # both directions, as text

Metadata

Release files for venvtree 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for venvtree 0.2.0
File Size Uploaded Provenance Actions
venvtree-0.2.0.tar.gz 7.0 kB Without provenance Details for venvtree-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 14.0 kB

Release files / venvtree-0.2.0.tar.gz

Download URL venvtree-0.2.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5f5898c0a15dd66bb5cbbb36047682c19cce6e6ab3062fbef87a507becf7b685
BLAKE2b-256 checksum
How to use checksums
b5860cfd80839cc1eacd3e642ec49186108ac8f91162420786c1700b8f3b57d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.2

Release files / venvtree-0.2.0-py3-none-any.whl

Download URL venvtree-0.2.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc02a5d14d1313cb0c7e10c029c5e5256046c5d7a72d665a9c2d734eb7deb334
BLAKE2b-256 checksum
How to use checksums
174b08bdf05e1690e8086bd0e480400acad916925422809b9cb313049393425a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.2

Security for venvtree 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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