semvec/pypi-packages huggingface dataset:
restmagic 0.7.2
HTTP REST magic for IPython
License: MIT
Keywords: magic rest http ipython jupyter

ipython-restmagic
=================

.. start-badges
.. image:: https://img.shields.io/pypi/v/restmagic.svg
    :target: https://pypi.python.org/pypi/restmagic
    :alt: Latest version on PyPi
.. image:: https://img.shields.io/pypi/pyversions/restmagic.svg
    :target: https://pypi.python.org/pypi/restmagic
    :alt: Supported Python versions
.. image:: https://img.shields.io/travis/b3b/ipython-restmagic.svg
    :target: https://travis-ci.org/b3b/ipython-restmagic
    :alt: Travis-CI build status
.. image:: https://codecov.io/github/b3b/ipython-restmagic/coverage.svg?branch=master
    :target: https://codecov.io/github/b3b/ipython-restmagic?branch=master
    :alt: Code coverage Status
.. end-badges

`%%rest` : HTTP REST magic for IPython.

Intended to provide similar functionality as `restclient.el <https://github.com/pashky/restclient.el>`__ - HTTP REST client tool for Emacs.


Usage
-----

.. code-block:: python

    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:

* `Usage example <https://nbviewer.jupyter.org/github/b3b/ipython-restmagic/blob/master/examples/usage.ipynb>`__
* `Django login form <https://nbviewer.jupyter.org/github/b3b/ipython-restmagic/blob/master/examples/django.ipynb>`__
* `GitHub API <https://nbviewer.jupyter.org/github/b3b/ipython-restmagic/blob/master/examples/github.ipynb>`__
* `Sending SMS with HiLink API <https://nbviewer.jupyter.org/github/b3b/ipython-restmagic/blob/master/examples/hilink.ipynb>`__
* `Ethereum JSON RPC <https://nbviewer.jupyter.org/github/b3b/ipython-restmagic/blob/master/examples/ethereum.ipynb>`__


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


Related resources
-----------------

* `restclient.el <https://github.com/pashky/restclient.el>`__ : HTTP REST client tool for Emacs
* `Make Jupyter/IPython Notebook even more magical with cell magic extensions! <https://www.youtube.com/watch?v=zxkdO07L29Q>`__ : Nicolas Kruchten's talk from the PyCon Canada 2015
* `ipython-sql <https://github.com/catherinedevlin/ipython-sql>`__ : was used as an example of IPython magic
* `python-requests <https://github.com/requests/requests>`__ : used for HTTP requests
* `requests-toolbelt <https://github.com/requests/toolbelt>`__ : used for HTTP sessions information dumping
* `jsonpath-rw <https://github.com/kennknowles/python-jsonpath-rw>`__ : used to extract parts of JSON responses
* `lxml <https://github.com/lxml/lxml>`__ : used to extract parts of XML/HTML responses
package-list 0.2.1
An awesome package is coming soon! 🎉
License: MIT
Requires Python: >=3.8,<4.0

<h1 align="center">
    <strong>package-list</strong>
</h1>
<p align="center">
    <a href="https://github.com/Kludex/package-list" target="_blank">
        <img src="https://img.shields.io/github/last-commit/Kludex/package-list" alt="Latest Commit">
    </a>
        <img src="https://img.shields.io/github/workflow/status/Kludex/package-list/Test">
        <img src="https://img.shields.io/codecov/c/github/Kludex/package-list">
    <br />
    <a href="https://pypi.org/project/package-list" target="_blank">
        <img src="https://img.shields.io/pypi/v/package-list" alt="Package version">
    </a>
    <img src="https://img.shields.io/pypi/pyversions/package-list">
    <img src="https://img.shields.io/github/license/Kludex/package-list">
</p>


## Installation

``` bash
pip install package-list
```

## License

This project is licensed under the terms of the MIT license.