RestDF¶
RestDF is a command line utility for running any
pandas.DataFrame
compatible datasets as a Rest API, with built-in
SwaggerUI
support.
Source code: https://github.com/Mukhopadhyay/restdf
License: MIT
Installing RestDF
¶
RestDF can be installed from PyPi using
pip install restdf
Getting Started with RestDF
¶
RestDF
can be run like any other python module using the -m
flag, additional flags can be used to configure the server. Following
will start a server with
this
dataset on localhost:5000/docs
restdf https://raw.githubusercontent.com/cs109/2014_data/master/diamonds.csv
or,
python -m restdf https://raw.githubusercontent.com/cs109/2014_data/master/diamonds.csv