Giter VIP home page Giter VIP logo

gazerbeam's Introduction

Gazerbeam

Work in progress; there's nothing that works here, yet.

This project aims to be a realtime, perhaps interactive, visualization of Python program flow. We'll see how that turns out.

Usage

import gazerbeam

# ...

@gazerbeam.tracer(another_function)
def your_function():
    another_function()

The above will intercept all calls to another_function. You can also trace classes, modules, generators and more. If you want to trace more objects, pass them in a tuple to tracer's argument.

In time, the effect will be that a window will open with a realtime graphical trace of all the calls to the specified objects, along with input and output arguments.

I don't know exactly how much I will be able to implement, but it would be really nice with slow-motion playback.

Installation

$ python3 setup.py install [--user]

When this project is mature enough, I will upload it to PyPi so that you just have to type pip3 install [--user] gazerbeam to install it.

Author and license

Copyright 2018 Christian Stigen Larsen

Distributed under the LGPL v3 or later.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.