OSS Tooling Library
Project description
routing.py
Routing stuff like auto-generated HTML and JSON pages with map of routes. This is useful for development process and for exposing APIs.
Example:
from oss_lib import routing
...
app = Flask(...)
...
app.add_url_rule(...) # add routes
...
# Now add routing map pages
app = routing.add_routing_map(app,
html_uri="/api.html",
json_uri="/api.json")
Now run the application and find auto-generated pages on given URIs /api.html and /api.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
oss_lib-0.1.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for oss_lib-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce7d16290fb66a6c992bf518da8ac52ed167ae5c2d03471a5105320f08094ce4 |
|
MD5 | e9885b728108a57141ca3cedc37a3d3b |
|
BLAKE2b-256 | 7a99b2695b150f21c986fea6b259420f98c4604cb0d4b2c582b8e33a892e729d |