Super basic HTTP server for creating and testing REST APIs
Project description
Yet another HTTP Server (YaHS)
------------------------------
Provides simple decorator API to easily register a Python function as a REST url
handler.
E.g
@Server.handle('GET', '/food')
def get_food(request):
return "Tasty food"
------------------------------
Provides simple decorator API to easily register a Python function as a REST url
handler.
E.g
@Server.handle('GET', '/food')
def get_food(request):
return "Tasty food"
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
yahs-1.0.tar.gz
(6.7 kB
view details)
File details
Details for the file yahs-1.0.tar.gz.
File metadata
- Download URL: yahs-1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff9262bb3dbe1dd5e097933d0bc659f1476ee5adf9a2f14b34a2f92a46570aef
|
|
| MD5 |
50e4131c9e2ef7eb3774fe0029ce972f
|
|
| BLAKE2b-256 |
d37b87155a529801dd06da8861b31e53f178c237a5a07ddba0047e8330067f35
|