This release is a pre-release and may not be stable for production use.
conda-visualizer
Interactive dependency graphs for conda environments, built with Panel and Cytoscape.js.
It reads an installed prefix, a pixi.lock, a conda-lock.yml, an explicit lockfile, an environment.yml (solved with py-rattler) or a DOT file, and renders a graph you can search, highlight, isolate and export.
Usage
conda-visualizer serve [SOURCE] # interactive app
conda-visualizer convert SOURCE -o graph.html # standalone interactive HTML
conda-visualizer convert SOURCE -o graph.dot # DOT (or .json)
conda-visualizer leaves|cycles|depends|whoneeds -p PREFIX # conda-tree style queries
Newer versions and version changes
The app's Versions section asks the environment's channels (read from the installed package URLs, so it works for prefixes and lockfiles) for every available version. Packages with a newer one get a double border and 1.2 ↑ 1.5 under their name; pre-releases are ignored.
Pick a package and a version and press Preview change to re-solve the environment with that package pinned. Every other package stays where it is unless the solver has to move it. The graph then fills upgraded packages green, downgraded ones lilac, new ones bright green, rebuilds grey and shows removed ones dashed, fading everything the change does not touch. Select a package to see its normal relations again. The Changes tab lists them. Preview updating everything solves without keeping the installed versions. Requested packages keep their original spec (for example python=3.12), except the one you pin.
The same is available from the command line:
conda-visualizer outdated -p PREFIX # newer versions
conda-visualizer plan -p PREFIX lib=2.0 # what switching lib to 2.0 changes
conda-visualizer plan -p PREFIX --update-all
conda-visualizer convert PREFIX --latest --set lib=2.0 -o graph.html
Lookups use py-rattler and need network access to the channels. "Newest" means the newest version in the channel for the platform; the solver decides whether it is compatible with the rest of the environment. PyPI packages are not checked.
The exported HTML needs no Python server. Search, highlighting, isolation, layout switching and PNG/SVG export run in the browser. Cytoscape is embedded from the compiled bundle in the wheel. Bokeh and Panel load from their CDNs unless --inline is passed, which leaves only the brand fonts (Inter, Space Grotesk, Space Mono) on Google Fonts, with Arial as the offline fallback.
In the browser
A Pyodide build runs the whole app client-side: https://assets.holoviz.org/panel-conda-visualizer/index.html (the v0.1.0a1 build on Panel 1.10.0b2 and Bokeh 3.10, also at https://cdn.holoviz.org/panel-conda-visualizer/v0.1.0a1/app/index.html). It takes about 30 seconds to start.
There is no filesystem or conda install to read there, so it starts empty and takes uploads: DOT files (from conda tree deptree --dot or conda-visualizer convert -o graph.dot), pixi.lock, conda-lock.yml and explicit lockfiles. environment.yml and the Versions tools need py-rattler, which has no Pyodide build, so they are unavailable.
The build installs the wheel from the URL it will be served at, since browsers cannot fetch the file: URLs panel convert writes for local wheels:
pixi run -e build build-browser --base-url http://localhost:8123 # local testing
python -m http.server 8123 --directory build/browser
The browser loads the Panel and Bokeh versions installed where the convert runs. To use a different Panel, build the wheel in the pixi build environment and convert from an environment with that Panel:
pixi run -e build python -m build --wheel --outdir build/wheel
python scripts/build_browser.py --wheel build/wheel/conda_visualizer-*.whl --base-url URL
--runtime pyodide --standalone instead writes a single index.html that runs Python on the page's main thread and loads the wheel from --base-url, with no service worker or other files, so it can be opened straight from disk.
With a Panel that supports bundling, --bundle copies Pyodide and every wheel, including the local conda-visualizer wheel, into pyodide/ next to the app, so no Python package or Pyodide file comes from a CDN or PyPI. --panel-version local uses the Panel and Bokeh wheels built in a Panel checkout (pixi run -e build build-pyodide). Run it from an environment with that Panel installed and node and npm on the PATH:
python scripts/build_browser.py --bundle --panel-version local --wheel build/wheel/conda_visualizer-*.whl --out build/bundle
The graph is also available as a component:
from conda_visualizer.component import CytoscapeGraph
from conda_visualizer.sources import load
CytoscapeGraph(load("pixi.lock")).servable()
Development
The wheel ships a bundle compiled with panel compile. In a source checkout run pixi run compile first, otherwise Cytoscape is loaded from esm.sh.
pixi install
pixi run compile
pixi run install-browser
pixi run test
pixi run test-ui
Pushing a vX.Y.Z tag publishes to PyPI (trusted publishing, pypi environment) and syncs the bundle to s3://cdn.holoviz.org/panel-conda-visualizer/vX.Y.Z/, which needs the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY repository secrets.
Metadata
Release files for conda-visualizer 0.1.0a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| conda_visualizer-0.1.0a5.tar.gz | 851.4 kB | With provenance | Details for conda_visualizer-0.1.0a5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| conda_visualizer-0.1.0a5-py3-none-any.whl | Python 3 | none | any | Details for conda_visualizer-0.1.0a5-py3-none-any.whl |
Total release size: 1.6 MB
Release files / conda_visualizer-0.1.0a5.tar.gz
| Download URL | conda_visualizer-0.1.0a5.tar.gz |
|---|---|
| Size | 851.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5dd5cb5567e1a4fccf20eceaf5116433aa2e9cb2c299c8c7bf3cc8ded112f2e
|
|
BLAKE2b-256 checksum How to use checksums |
b16150229e05c347709243cf9131ae8b8a55ca1e4af009d5db28271015d87549
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / conda_visualizer-0.1.0a5-py3-none-any.whl
| Download URL | conda_visualizer-0.1.0a5-py3-none-any.whl |
|---|---|
| Size | 768.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99227263df19649338d72c605986b7488a716e4a52c44aac9e524cef5431fedf
|
|
BLAKE2b-256 checksum How to use checksums |
1fdcbdac6b7f624a8339936883f4109101bcf1c47a07a0bf6ef14c823f8b60aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logSecurity for conda-visualizer 0.1.0a5
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for conda_visualizer-0.1.0a5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logA 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.