Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Magic to display pythontutor.com from a code cell in the IPython notebook.

Project Description

IPython magics to embed http://www.pythontutor.com within an IFrame in the IPython notebook using the code from an IPython code cell.

Install

pip install jupytor

or

pip install git+https://github.com/kikocorreoso/jupytor.git

Tested on Python 2.7 and Python 3.4 and IPython 3.0.0.

Usage

In a code cell in the notebook type the following:

%%jupytor --lang python3
# some python code
# ...

Options

The only available option is the --lang or -l that allows you to choose one othe the available languages supported by pythontutor

  • %%jupytor --lang python3 or %%jupytor -l python3 or %%jupytor to show a pythontutor IFrame with python3 code.
  • %%jupytor --lang python2 or %%jupytor -l python2 to show a pythontutor IFrame with python2 code.
  • %%jupytor --lang java or %%jupytor -l java to show a pythontutor IFrame with java code.
  • %%jupytor --lang javascript or %%jupytor -l javascript to show a pythontutor IFrame with javascript code.
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
jupytor-0.1.0.tar.gz (3.1 kB) Copy SHA256 Checksum SHA256 Source Mar 23, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting