Skip to content

Instantly share code, notes, and snippets.

View gabrielcnr's full-sized avatar

Gabriel Reis gabrielcnr

View GitHub Profile
@gabrielcnr
gabrielcnr / render_env.py
Created September 16, 2019 21:20 — forked from ericdill/render_env.py
Render the dependency graph for your conda environment (needs graphviz!)
import json
import glob
from os.path import join, basename
# install this with "conda install -c conda-forge python-graphviz"
import graphviz as gv
# path to your conda environment
path = '/tmp/foo'
dg = gv.Digraph(filename='env-%s' % basename(path), format='svg')
@gabrielcnr
gabrielcnr / DependencyGraphs.ipynb
Created June 10, 2019 10:08 — forked from msarahan/DependencyGraphs.ipynb
graphs from conda repodata.json
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.