Skip to content
[WIP] A Cyberbrain that helps you remember everything.
Python Makefile
Branch: master
Clone or download

Cyberbrain: helps you remember everything

Build Status

NOTE: This is a WIP, DON'T use it in production.

📢 I'm looking for collaborators who's interested in visualization. Please don't hesitate to contact me.

I gave a talk at PyCon China 2019 about Cyberbrain, slide can be found here.

How to use

  1. Install Graphviz
  2. pip install cyberbrain
  3. In your program, first call cyberbrain.init(), then call cyberbrain.register(target_variable).

Here's an example.

def func_f(bar):
    x = len(bar)
    return x

def func_c(baa):

def func_a(foo):
    for i in range(2): pass
    ba = [foo]
    foo = func_f(ba)  # foo is our target

import cyberbrain
fo = 1

Run it, a pdf like this will be generated and automatically opened.


First install Poetry, then run poetry install.

You can’t perform that action at this time.