Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mountapi-0.1.0a0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file mountapi-0.1.0a0.tar.gz.

File metadata

  • Download URL: mountapi-0.1.0a0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mountapi-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 17ecf3d82fa53609b610762c1e206a5baeec1cdd430fb22075deac90c6a7b308
MD5 1e45652842c104088c033603cd88f174
BLAKE2b-256 8df9238559a966c82508e269edfd57b5aa656414d87b68f37cbbf37aec6de587

See more details on using hashes here.

File details

Details for the file mountapi-0.1.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for mountapi-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe87d3997711f64384489d9dfeb24b850760c923218b875e891d38e1d38bd72a
MD5 43a6c9169a119bb094f388ac794a757e
BLAKE2b-256 b61a1fc5cf1247aaade749c169dc229e723bc0c12467919b1aee9c1c66593da5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page