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.6.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.6.tar.gz.
File metadata
- Download URL: sleekify-0.0.6.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 |
baa349f6870635990df8d38660be8cd2f69184430863420e015805f81853f581
|
|
| MD5 |
64453eb03a1db42d0b79de260925634a
|
|
| BLAKE2b-256 |
5e4bd5645dd85bb15f75e3bcc4705a7564fb9676e7f54bdc7614a169022b83b6
|
File details
Details for the file sleekify-0.0.6-py3-none-any.whl.
File metadata
- Download URL: sleekify-0.0.6-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 |
d603c01a6c013260b879e538f50c252e21d076e06ae63ba4eae7010a705f199b
|
|
| MD5 |
685edd307b4ed5321da2e56ea1b6d7da
|
|
| BLAKE2b-256 |
5ebba2ee922cb5c56853cd940a7d4619b6a3451f8185d4a8ac5fc98c0de74bb2
|