Giter VIP home page Giter VIP logo

livepython's Introduction

Livepython

Watch your Python run like a movie.

NOTE: Livepython is alpha software. It doesn't handle a lot of edge cases and features may change.

Livepython is a desktop app that lets you visually trace, in real-time, the execution of a Python program. In addition, it can track changes in global and local variables as your program is running. Livepython is meant to give you a quick grasp of a program's execution flow. It's less messy than sprinkling print statements throughout your code and simpler to use than debuggers/profilers.

Livepython can be launched from the command-line as easily as:

livepython [program] [args...]

Controls:

SPACE: Play/Pause the program.

Left/Right Arrow: Change speed of execution.

V: Open/Close Variable Inspector.

Compatibility

Python Version Compatible?
3.6
3.5
2.7
2.6

Installation

npm install livepython -g

Development

Livepython has 3 main components:

  • a Python tracer that uses sys.settrace() to intercept every line of your program as it's being evaluated
  • an Electron app that is responsible for the rendering the Livepython frontend
  • a node.js gateway script that manages communication between the frontend and the tracer

If you want to make changes to Livepython, you will need to run webpack:

webpack

Then you can test your built version of livepython by running:

bin/livepython [your python program]

License

MIT

livepython's People

Contributors

agermanidis avatar meain avatar

Watchers

James Cloos avatar 姚文强 avatar  avatar

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.