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.9.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.9.tar.gz.
File metadata
- Download URL: sleekify-0.0.9.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 |
4e4572c8697d68044e5b3353165cab5a3801e9c5970e839249a408f768f35220
|
|
| MD5 |
3dbfe36e27ca7c05f1da28d2cb0bd3d9
|
|
| BLAKE2b-256 |
5af5f1186e8ed93055634d290e3e5a0508fc49c8dbaa8729e7bce57cca5329a2
|
File details
Details for the file sleekify-0.0.9-py3-none-any.whl.
File metadata
- Download URL: sleekify-0.0.9-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 |
7677142c2f5cb12c3c5117857d9a0ab838f56089e6fdfc12276fd682f0d16ec2
|
|
| MD5 |
fe5e3adcd650fdf9f3af25972a86b554
|
|
| BLAKE2b-256 |
3fdac76ba21810d6a6f6f05473d38f1241c2d3b27b3a9590ed9efb91ae370a94
|