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.12.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.12.tar.gz.
File metadata
- Download URL: sleekify-0.0.12.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 |
019e5cdca3da8d262394a8438d72a6eb9bc8c599cbc16791d407f03be5245ac1
|
|
| MD5 |
bfb165531008aba85c9357d44e473baf
|
|
| BLAKE2b-256 |
645dd48563a244a1da6ed559c73154dbd07e6eca6576536d8ab7940504ee9ba3
|
File details
Details for the file sleekify-0.0.12-py3-none-any.whl.
File metadata
- Download URL: sleekify-0.0.12-py3-none-any.whl
- Upload date:
- Size: 3.5 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 |
7eae45ef2703e3737bd6e8108354399d21ac46ba4a331bae0c41791635fca933
|
|
| MD5 |
7c98506f27a4bfadd595cd7384e52f49
|
|
| BLAKE2b-256 |
f3bea193d2289d30327ce62dbba521faf77b1b7c13275545de370add6f15ce43
|