Loosely coupled, typed web framework for modern Python
Project description
mountAPI
Example
from mountapi.core.app import Application
from mountapi.core.settings import DefaultSettings
from mountapi.routing import Route
async def hello_person(name: str):
return {'message': f'Hello {name}!'}
routes = [
Route('/hello/<name:str>/', hello_person)
]
if __name__ == '__main__':
app = Application(settings=DefaultSettings, routes=routes)
app.run()
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
mountapi-0.1.0a0.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for mountapi-0.1.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe87d3997711f64384489d9dfeb24b850760c923218b875e891d38e1d38bd72a |
|
MD5 | 43a6c9169a119bb094f388ac794a757e |
|
BLAKE2b-256 | b61a1fc5cf1247aaade749c169dc229e723bc0c12467919b1aee9c1c66593da5 |