Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kristianperkins/nbrequests

Display requests in Jupyter Notebook
https://github.com/kristianperkins/nbrequests

client http json jupyter jupyter-notebook requests rest

Last synced: about 1 month ago
JSON representation

Display requests in Jupyter Notebook

Awesome Lists containing this project

README

        

nbrequests: Display Python Requests in Notebook
===============================================

Pretty printing the requests/responses from `python requests `_. Check out the `example notebook `_ for usage.

Install
-------

::

pip install nbrequests

Usage
-----

Make a request using the python `requests` module and run `display_request()`. e.g.

::

r = requests.get('http://httpbin.org/get')
display_request(r)