Skip to main content

flask-restful URLs list

Project description

Generates list of API endpoints for flask-restful.

Outputs JSON for endpoint paths, methods and docstrings for both classes and methods (if available).

Installation:

pip install flask_restful_url_generator

or clone the repository and run

python setup.py install

Usage:

from flask_restful_url_generator import UrlList
from flask import Flask
from flask_restful import Resource, Api

app = Flask(__name__)
api = Api(app)

# define your resources here
# api.add_resource(YourClass, "/yourpath/...")
api.add_resource(UrlList, "/", resource_class_kwargs={"api": api})

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask_restful_url_generator-0.0.4.tar.gz (2.2 kB view details)

Uploaded Source

Built Distributions

flask_restful_url_generator-0.0.4-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file flask_restful_url_generator-0.0.4.tar.gz.

File metadata

File hashes

Hashes for flask_restful_url_generator-0.0.4.tar.gz
Algorithm Hash digest
SHA256 9efcf7fa4e3184a6e7877932ab6187d69c3c69bcaf7cf894486c6dd1de263fc5
MD5 169acf8d078a23184515a58649d6735b
BLAKE2b-256 80d33eb9e76da829d6b11bd22210e7b948ccb375ada5c1e2ef1e34680a051322

See more details on using hashes here.

File details

Details for the file flask_restful_url_generator-0.0.4.macosx-10.11-x86_64.tar.gz.

File metadata

File hashes

Hashes for flask_restful_url_generator-0.0.4.macosx-10.11-x86_64.tar.gz
Algorithm Hash digest
SHA256 e18b922e32b9ab2cd9dd5da7a16894958ec4bf0e09eacc84a605d61b20d6e335
MD5 999fb2b925418422dbd0856581f3184e
BLAKE2b-256 7183c6f28e551a363015af692dc95d10fb89b350294446bdc4217eb30a8be190

See more details on using hashes here.

File details

Details for the file flask_restful_url_generator-0.0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flask_restful_url_generator-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ea83b13aa3d9f7c967db2f3cdff9c7a96fb6b363a4fdd74bd0b13d3a63dd350b
MD5 1156330c281c64243c7eb1b2d132514d
BLAKE2b-256 e0346975470f19d002a896b3ba86d06b315a9e25604705b99f37d8ad4ec8f3f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page