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.8.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.8.tar.gz.
File metadata
- Download URL: sleekify-0.0.8.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 |
af84584fcf695da399a751e1fb8eba025828ab63c9f20b097719d35980a5c562
|
|
| MD5 |
29bdf869c6bd8107915dfc0f332f8725
|
|
| BLAKE2b-256 |
4ab33471f5947ae446aa3f950fff981f63de91dac27a2f2786da5e7d9c91ea6b
|
File details
Details for the file sleekify-0.0.8-py3-none-any.whl.
File metadata
- Download URL: sleekify-0.0.8-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 |
8c416e1a98548e74ae4275ce9c2b675d1f993bab8394d0b6e84cb3647f4463ea
|
|
| MD5 |
d2ef6902ecac7b4c2a91c283890f5178
|
|
| BLAKE2b-256 |
52440cd2955424d2a36322c624dad3e495c791ac5657527abc2c90bea62fe222
|