Skip to main content
Latest version on PyPi Supported Python versions Travis-CI build status Code coverage Status

%%rest : HTTP REST magic for IPython.

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

Usage

In [1]: %load_ext restmagic
In [2]: %%rest
   ...: POST https://httpbin.org/post
   ...: Content-Type: application/json
   ...: Authorization: Bearer $mytoken
   ...:
   ...: {
   ...:     "some": "data",
   ...:     "array here": [
   ...:         "item 1",
   ...:         "item 2"
   ...:     ]
   ...: }
Out [2]: <Response [200]>

Examples

See notebooks:

Installation

Package can be installed from the PyPI by executing:

pip install restmagic

Development version can be installed by executing:

pip install git+https://github.com/b3b/ipython-restmagic

Package can be uninstalled by executing:

pip uninstall restmagic

Metadata

Release files for restmagic 0.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for restmagic 0.7.2
File Size Uploaded
restmagic-0.7.2.tar.gz 11.1 kB Details

Release files / restmagic-0.7.2.tar.gz

Download URL restmagic-0.7.2.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9e71e1ef22e9ab7853d141ed4a4f99ad277a79b1129b6b6cf1e886d6f7bccbad
BLAKE2b-256 checksum
How to use checksums
fb218732a279451b1caef05f8d455b3bf3f54c1d6ad712f5fa4557e1d57549f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

Release history Release notifications | RSS feed

This release

0.7.2 This release

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.5.5

1 release file

0.5.4

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page