Skip to main content

HTTP REST magic for IPython

Project description

Latest version on PyPi Supported Python versions Travis-CI build status Code coverage Status

%%rest : Jupyter/IPython notebook magic for HTTP queries execution.

Intended to provide similar functionality as restclient.el - HTTP REST client tool for Emacs.


In [1]: %load_ext restmagic
In [2]: %%rest
   ...: POST
   ...: Content-Type: application/json
   ...: Authorization: Bearer $mytoken
   ...: {
   ...:     "some": "data",
   ...:     "array here": [
   ...:         "item 1",
   ...:         "item 2"
   ...:     ]
   ...: }


See notebooks:

In case notebooks do not render, examples could be viewed with Jupyter NBViewer: here .


Package can be installed from the PyPI by executing:

pip install restmagic

Development version can be installed by executing:

pip install git+

Package can be uninstalled by executing:

pip uninstall restmagic

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
restmagic-0.5.3.tar.gz (6.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page