Aeros web server, based on Quart/Flask
Project description
Aeros Documentation
Aeros is a package containing wrappers for widely used Web and API functions. The whole package is based on Quart/Flask.
from Aeros import WebServer
from Aeros.misc import jsonify
app = WebServer(__name__, host="0.0.0.0", port=80)
@app.route("/")
async def home():
return jsonify({"response": "ok"})
if __name__ == '__main__':
app.start("-w 2") # worker threads (for more arguments see hypercorn documentation)
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
Aeros-0.0.6.tar.gz
(3.5 kB
view hashes)
Built Distribution
Aeros-0.0.6-py3-none-any.whl
(4.0 kB
view hashes)