ipython-restmagic
%%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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| restmagic-0.7.2.tar.gz | 11.1 kB | Without provenance | Details for restmagic-0.7.2.tar.gz |
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
|
Security for restmagic 0.7.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.