Skip to content

mgedmin/objgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4119b50 · Jan 16, 2025
Jan 16, 2025
Jun 16, 2023
Jun 16, 2023
Aug 9, 2013
Jan 23, 2018
Jun 7, 2023
Jan 16, 2025
Oct 8, 2020
Sep 22, 2016
Jun 7, 2023
Oct 10, 2024
Jan 9, 2025
Jan 16, 2025
Jan 16, 2025
Sep 16, 2016
Oct 10, 2024
Oct 9, 2024
Jan 16, 2025
Oct 10, 2024
Jan 16, 2025

Repository files navigation

Python Object Graphs

Build Status Build Status (Windows) Test Coverage Documentation Status

objgraph is a module that lets you visually explore Python object graphs.

You'll need graphviz if you want to draw the pretty graphs.

I recommend xdot for interactive use. pip install xdot should suffice; objgraph will automatically look for it in your PATH.

Installation and Documentation

pip install objgraph or download it from PyPI.

Documentation lives at https://mg.pov.lt/objgraph.

History

I've developed a set of functions that eventually became objgraph when I was hunting for memory leaks in a Python program. The whole story -- with illustrated examples -- is in this series of blog posts:

Support and Development

The source code can be found in this Git repository: https://github.com/mgedmin/objgraph.

To check it out, use git clone https://github.com/mgedmin/objgraph.

Report bugs at https://github.com/mgedmin/objgraph/issues.