Need help with Cyberbrain-Deprecated?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

laike9m
172 Stars 12 Forks 161 Commits 2 Opened issues

Description

[Deprecation] This project has been deprecated. Development moved to github.com/laike9m/Cyberbrain

Services available

!
?

Need anything else?

Contributors list

# 54,272
Go
spreads...
google-...
wechat
161 commits

Cyberbrain: helps you remember everything

[Deprecation]: This project is deprecated and archived. I rewrote it from scratch, see https://github.com/laike9m/Cyberbrain.

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): baa.append(None) baa.append('?')

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

import cyberbrain cyberbrain.init() fo = 1 func_a(fo)

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

Developement

First install

Poetry
, then run

poetry install
.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.