Skip to main content

A Cyberbrain that helps you remember everything.

Project description

Cyberbrain: helps you remember everything

Code style: black Build Status

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cyberbrain, version 0.0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size cyberbrain-0.0.0.2-py3-none-any.whl (24.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size cyberbrain-0.0.0.2.tar.gz (20.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page