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
- Documentation: http://restdf.rtfd.io/
Geting Started with RestDF
The goal of this project was to make the API creation process from a dataset simpler. So, the execution is kept as minimal as possible. For example,
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
python -m restdf https://raw.githubusercontent.com/cs109/2014_data/master/diamonds.csv
For a more detailed description of all available flags and option please refer to this documentation on Command Line Arguments.
Endpoints
The responses from RestDF can be categorized into following three broad categories:
DocsMetadataData
Please refer to this page for more detailed documentation on the available endpoints.
Testing:
RestDF tests are written using pytest. For more detailed documentation on testing this module please go to the following page: Testing RestDF
Documentations
Read the documentaion online at: http://restdf.rtfd.io/
Or build it locally from the docs/ directory using
Linux:
make html
Windows
make.bat html
Metadata
Release files for restdf 1.0.0
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 |
|---|---|---|---|---|
| restdf-1.0.0.tar.gz | 16.9 kB | Without provenance | Details for restdf-1.0.0.tar.gz |
Release files / restdf-1.0.0.tar.gz
| Download URL | restdf-1.0.0.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44866f2afd0b82c89b67e292d776763809126cd9dfd79d29a17f1bdc410eb835
|
|
BLAKE2b-256 checksum How to use checksums |
7177c5ab20cd8dfec995cf0b5d7681d322da6c572bff8257294684973fb37f7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Security for restdf 1.0.0
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.