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.11.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.11.tar.gz.
File metadata
- Download URL: sleekify-0.0.11.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 |
5909aa8da6f53df2a8c7b0120cf70c407c45644201960d57922234345b271d40
|
|
| MD5 |
23b388b6cf5ae32d255fc8702d4e56b4
|
|
| BLAKE2b-256 |
2c046d593f1f4bd97f8db7d4d097ef702b2d1e81b406c1940bc8aaa7ed80d8da
|
File details
Details for the file sleekify-0.0.11-py3-none-any.whl.
File metadata
- Download URL: sleekify-0.0.11-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 |
9e6ba1856800583bbf15dce71069909b323f0348507b895c8e0c9acefa4cbfca
|
|
| MD5 |
0dfdc0035f825228a0bbb8cdc08fae96
|
|
| BLAKE2b-256 |
5569e93677427d917218346b70e6a69b815eaba6ac865f902b28fbcd8f02a4bb
|