项目作者: nikitakit

项目描述 :
Interactive live coding in Python - for Atom text editor (only supports xdbg 0.1 for now)
高级语言: CoffeeScript
项目地址: git://github.com/nikitakit/hydrogen-xdbg.git
创建时间: 2016-10-12T21:23:00Z
项目社区:https://github.com/nikitakit/hydrogen-xdbg

开源协议:

下载


Hydrogen + xdbg

xdbg is a cross between a Jupyter kernel and a debugger. It allows moving the Jupyter kernel execution environment to any scope within the program, including inside functions and other modules.

This Hydrogen plugin tracks which file you have open in atom, and executes commands in the module corresponding to that file. This allows live-coding that spans multiple files.

The plugin is currently highly experimental. It interacts with Hydrogen internals instead of just the plugin API, meaning that it needs to be upgraded in sync with new versions of Hydrogen.

Usage

  • Install hydrogen and hydrogen-xdbg into Atom. Also install xdbg into your python environment.
  • Connect hydrogen to a remote Python kernel on a notebook server or gateway. (Local ZMQ Kernels are not supported).
  • Import some modules from local files.
  • As you switch between files in hydrogen, watch the status bar keep track of which module code will be run in.