Interface automation document based on flash.
Project description
flask-api-docs
Interface automation document based on flash
Installation
It is possible to install the tool with pip:
pip install xt-FlaskAPIDocs
Usage
Sample usage:
from flask import Flask
from flask_api_demo.test.HelloWorld import HelloWorld
from flask_docs import BluePrint, Docs
app = Flask(__name__)
a = BluePrint('hello', __name__)
a.add_url_rule('/hello', 'hello', HelloWorld().hello_world, methods=['GET'], args={"test1": 'str', "test2": 'int'})
a.add_url_rule('/bye', 'bye', HelloWorld().bye_world, methods=['GET'], args={"test1": 'str', "test2": 'int'})
app.register_blueprint(a)
Docs(app, hide_docs=True)
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
xt-FlaskAPIDocs-0.1.0.tar.gz
(711.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xt-FlaskAPIDocs-0.1.0.tar.gz.
File metadata
- Download URL: xt-FlaskAPIDocs-0.1.0.tar.gz
- Upload date:
- Size: 711.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45799fbe4f6f1d76348a96db4365af69f6aed33ba343ed9eef57db80dd9b89ef
|
|
| MD5 |
b9a10d6c905bee0ee6209945b36a3f5f
|
|
| BLAKE2b-256 |
15813696b1629e938f3be5deba14fcffdd4900902c234ee84f6fae330e63622f
|
File details
Details for the file xt_FlaskAPIDocs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: xt_FlaskAPIDocs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 712.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c9677250ef8d35dcedd0df6cbe4ccf7fa16991662a8b0f538a007afaf43797b
|
|
| MD5 |
9cecd3beeb6c70a1596a12078135548e
|
|
| BLAKE2b-256 |
5bde8c16ef089194458c028518054ac217d6810d779369e9d3886901cb7cca27
|