A minimalistic, ASGI, Python framework for building REST API's.
Project description
Sleekify
A minimalistic, ASGI, Python framework for building REST API's. Heavily inspired by Express.js and FastAPI.
pip install sleekify
from sleekify import Sleekify
from pydantic import BaseModel
app = Sleekify()
class ItemModel(BaseModel):
name: str
app.post("/create-item")
async def create_item(item: ItemModel):
return { "name": item.name }
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
sleekify-0.0.10.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sleekify-0.0.10.tar.gz.
File metadata
- Download URL: sleekify-0.0.10.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad3d669294eea41119cbe7aaca78b8a18cc2fefe5f7a43c2b82bf60d0fd96009
|
|
| MD5 |
e6a843cadc4930dbefc85fa6d86a03ca
|
|
| BLAKE2b-256 |
bf477a86b7204b1b831a581ec4bdfd47677f508729ebbb0f8e0c4c3a587a5c8b
|
File details
Details for the file sleekify-0.0.10-py3-none-any.whl.
File metadata
- Download URL: sleekify-0.0.10-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52b55b3a5082191b786e60f480b4a432a716eaa722a6f2573e0a79eecaab1bd6
|
|
| MD5 |
dc47cd4d1add05878c34aae2e320f471
|
|
| BLAKE2b-256 |
d36a9c1f98fcc5c4e53f2da1cd9b563352d7eab10fa03881137c4a6b1da01203
|