├── .gitignore ├── Makefile ├── README.md ├── azure-pipelines.yml ├── cyberbrain ├── __init__.py ├── api.py ├── backtrace.py ├── basis.py ├── callsite.py ├── callsite_test.py ├── computation.py ├── flow.py ├── flow_test.py ├── format.py ├── testing.py ├── utils.py └── vars.py ├── images ├── cb_concept.jpg ├── cb_output.jpg └── cb_output.png ├── poetry.lock ├── pyproject.toml ├── test ├── doc_example │ ├── computation.golden.json │ ├── doc_example.py │ └── flow.golden.json ├── exclude_events │ ├── call_libs.py │ ├── computation.golden.json │ └── flow.golden.json ├── function │ ├── computation.golden.json │ ├── flow.golden.json │ └── simple_func.py ├── gen_golden.py ├── hello_world │ ├── computation.golden.json │ ├── flow.golden.json │ └── hello.py ├── list_comp │ ├── computation.golden.json │ ├── flow.golden.json │ └── list_comp.py ├── loop │ ├── computation.golden.json │ ├── flow.golden.json │ └── loop.py ├── modules │ ├── bar.py │ ├── computation.golden.json │ ├── flow.golden.json │ ├── foo.py │ └── main.py ├── multicall │ ├── computation.golden.json │ ├── flow.golden.json │ └── multicall.py ├── multiline │ ├── computation.golden.json │ ├── flow.golden.json │ └── multiline_statement.py └── test_executor.py └── tox.ini /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/README.md -------------------------------------------------------------------------------- /azure-pipelines.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/azure-pipelines.yml -------------------------------------------------------------------------------- /cyberbrain/__init__.py: -------------------------------------------------------------------------------- 1 | from .api import init, register 2 | -------------------------------------------------------------------------------- /cyberbrain/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/cyberbrain/api.py -------------------------------------------------------------------------------- /cyberbrain/backtrace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/cyberbrain/backtrace.py -------------------------------------------------------------------------------- /cyberbrain/basis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/cyberbrain/basis.py -------------------------------------------------------------------------------- /cyberbrain/callsite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/cyberbrain/callsite.py -------------------------------------------------------------------------------- /cyberbrain/callsite_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/cyberbrain/callsite_test.py -------------------------------------------------------------------------------- /cyberbrain/computation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/cyberbrain/computation.py -------------------------------------------------------------------------------- /cyberbrain/flow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/cyberbrain/flow.py -------------------------------------------------------------------------------- /cyberbrain/flow_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/cyberbrain/flow_test.py -------------------------------------------------------------------------------- /cyberbrain/format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/cyberbrain/format.py -------------------------------------------------------------------------------- /cyberbrain/testing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/cyberbrain/testing.py -------------------------------------------------------------------------------- /cyberbrain/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/cyberbrain/utils.py -------------------------------------------------------------------------------- /cyberbrain/vars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/cyberbrain/vars.py -------------------------------------------------------------------------------- /images/cb_concept.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/images/cb_concept.jpg -------------------------------------------------------------------------------- /images/cb_output.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/images/cb_output.jpg -------------------------------------------------------------------------------- /images/cb_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/images/cb_output.png -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/pyproject.toml -------------------------------------------------------------------------------- /test/doc_example/computation.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/doc_example/computation.golden.json -------------------------------------------------------------------------------- /test/doc_example/doc_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/doc_example/doc_example.py -------------------------------------------------------------------------------- /test/doc_example/flow.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/doc_example/flow.golden.json -------------------------------------------------------------------------------- /test/exclude_events/call_libs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/exclude_events/call_libs.py -------------------------------------------------------------------------------- /test/exclude_events/computation.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/exclude_events/computation.golden.json -------------------------------------------------------------------------------- /test/exclude_events/flow.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/exclude_events/flow.golden.json -------------------------------------------------------------------------------- /test/function/computation.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/function/computation.golden.json -------------------------------------------------------------------------------- /test/function/flow.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/function/flow.golden.json -------------------------------------------------------------------------------- /test/function/simple_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/function/simple_func.py -------------------------------------------------------------------------------- /test/gen_golden.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/gen_golden.py -------------------------------------------------------------------------------- /test/hello_world/computation.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/hello_world/computation.golden.json -------------------------------------------------------------------------------- /test/hello_world/flow.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/hello_world/flow.golden.json -------------------------------------------------------------------------------- /test/hello_world/hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/hello_world/hello.py -------------------------------------------------------------------------------- /test/list_comp/computation.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/list_comp/computation.golden.json -------------------------------------------------------------------------------- /test/list_comp/flow.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/list_comp/flow.golden.json -------------------------------------------------------------------------------- /test/list_comp/list_comp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/list_comp/list_comp.py -------------------------------------------------------------------------------- /test/loop/computation.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/loop/computation.golden.json -------------------------------------------------------------------------------- /test/loop/flow.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/loop/flow.golden.json -------------------------------------------------------------------------------- /test/loop/loop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/loop/loop.py -------------------------------------------------------------------------------- /test/modules/bar.py: -------------------------------------------------------------------------------- 1 | def func_in_bar(): 2 | return 1 3 | -------------------------------------------------------------------------------- /test/modules/computation.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/modules/computation.golden.json -------------------------------------------------------------------------------- /test/modules/flow.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/modules/flow.golden.json -------------------------------------------------------------------------------- /test/modules/foo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/modules/foo.py -------------------------------------------------------------------------------- /test/modules/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/modules/main.py -------------------------------------------------------------------------------- /test/multicall/computation.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/multicall/computation.golden.json -------------------------------------------------------------------------------- /test/multicall/flow.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/multicall/flow.golden.json -------------------------------------------------------------------------------- /test/multicall/multicall.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/multicall/multicall.py -------------------------------------------------------------------------------- /test/multiline/computation.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/multiline/computation.golden.json -------------------------------------------------------------------------------- /test/multiline/flow.golden.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/multiline/flow.golden.json -------------------------------------------------------------------------------- /test/multiline/multiline_statement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/multiline/multiline_statement.py -------------------------------------------------------------------------------- /test/test_executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/test/test_executor.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laike9m/Cyberbrain-Deprecated/HEAD/tox.ini --------------------------------------------------------------------------------