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.4.tar.gz
(2.9 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.4.tar.gz.
File metadata
- Download URL: sleekify-0.0.4.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f131133540daf8090eb3e3a61608fedbbe85b16a37aec5da5125604af2675a8
|
|
| MD5 |
adeb9e7975f46d008fd7d0d8810ef69b
|
|
| BLAKE2b-256 |
1af40925260da154bab043c8311fbfa887be426cdddfce11603a758d4d122a7d
|
File details
Details for the file sleekify-0.0.4-py3-none-any.whl.
File metadata
- Download URL: sleekify-0.0.4-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 |
e112f0fdf82253db45d27245ba509829f5d81c7dcb303b2813521c82c671497b
|
|
| MD5 |
73cc848dbcaa3d72612937699aa3eea7
|
|
| BLAKE2b-256 |
4c6a4fdd90fd4c8b39d0a739b22ac2b04ee0e2da5442412402f9c6d312a0e755
|