Metadata-Version: 2.1
Name: restmagic
Version: 0.5.1
Summary: HTTP REST magic for IPython
Home-page: https://github.com/b3b/ipython-restmagic
Author: b3b
Author-email: ash.b3b@gmail.com
License: MIT
Description: ipython-restmagic
        =================
        
        `%%rest` : Jupyter/IPython notebook magic for HTTP queries execution.
        
        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"
               ...:     ]
               ...: }
        
        
        Examples
        --------
        
        See notebooks:
        
        * `Usage example <https://github.com/b3b/ipython-restmagic/blob/master/examples/usage.ipynb>`__
        * `Django login form <https://github.com/b3b/ipython-restmagic/blob/master/examples/django.ipynb>`__
        * `GitHub API <https://github.com/b3b/ipython-restmagic/blob/master/examples/github.ipynb>`__
        * `Sending SMS with HiLink API <https://github.com/b3b/ipython-restmagic/blob/master/examples/hilink.ipynb>`__
        * `Ethereum JSON RPC <https://github.com/b3b/ipython-restmagic/blob/master/examples/ethereum.ipynb>`__
        
        In case notebooks do not render, examples could be viewed with Jupyter NBViewer: `here <https://nbviewer.jupyter.org/github/b3b/ipython-restmagic/tree/master/examples/>`__ .
        
        
        Installation
        ------------
        
        Latest 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
        
Keywords: magic rest http ipython jupyter
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Framework :: IPython
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 2
Description-Content-Type: text/x-rst
