Aeros web server, based on Quart/Flask
Project description
Aeros Documentation
Aeros is a package containing many wrappers for widely used Web and API functions.
from Aeros import WebServer
from Aeros.misc import jsonify
app = WebServer(__name__,host="0.0.0.0",port=80)
app.route("/")
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.4.tar.gz
(3.4 kB
view details)
Built Distribution
Aeros-0.0.4-py3-none-any.whl
(4.0 kB
view details)
File details
Details for the file Aeros-0.0.4.tar.gz
.
File metadata
- Download URL: Aeros-0.0.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f283d9e0d5f11c009803bf122f4e11773c892442a853f71305976e8b5a6ad2a0 |
|
MD5 | 986fa6b245008f57fdceb2e9f165f229 |
|
BLAKE2b-256 | e7c153aebb7e0cc18d985ad489fc8ab5f24e96fd929b69e33de82fb88d77c5ca |
File details
Details for the file Aeros-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: Aeros-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f0ca09f6e10c8c961f1954a6bc99b049f81b507d94210e8cc7bdd70eb3912ce |
|
MD5 | 4db2866ad85315dfce872b31e0e6674c |
|
BLAKE2b-256 | d26f48d3271638da6468769d8b56d2631b9d45f8b99a023c7b9ef6ff8998c98b |