A lightweight Python web framework.
Project description
Slush
Slush is a lightweight Python web framework designed for clarity, extensibility, and performance.
🚀 Introduction
Slush is a lightweight and efficient Python web framework designed for building modern APIs with speed and simplicity.
Slush gives you full control over routing, requests, responses, middleware, and cookies—without locking you into a rigid structure or heavy dependencies.
Whether you're building microservices, internal tools, or full-fledged backend systems, Slush helps you move fast with clean, readable code and a powerful core that just works.
Perfect for:
- Rapid API development without boilerplate.
- Minimalist backend systems with full control.
- Developers who want a lean, customizable foundation.
📦 Installation
$ pip install slush
A Simple Example
# save this as main.py
from slush.app import Slush
from slush.core.response import Response
app = Slush()
@app.route("/hello", methods=["GET"])
def hello(request):
return {"message": "Hello from Slush!"}
# save this as run.py
from main import app
from slush.server import run
run(app, port=8000, debug=True)
▶️ Run the Server
$ python3 run.py
✅ Using built-in CLI
$ slush runserver main:app
✅ Or use gunicorn
$ gunicorn main:app
📄 License
This project is licensed under the BSD 3-Clause License.
🌐 Links
📘 Documentation: Coming soon
🐙 GitHub: https://github.com/farazkhanfk7/slush
📦 PyPI: https://pypi.org/project/slush
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 slush-1.1.0.tar.gz.
File metadata
- Download URL: slush-1.1.0.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9c8ea4c8094b14693b3851852be1abbd0c856bdf60830c6684fc77ddd3d1908
|
|
| MD5 |
af8b6c9d6ee674c2479e9340db1fb735
|
|
| BLAKE2b-256 |
b5aea6c1f51afc1bacfbc1cf61870bcaa4c79c75d99a74561ed4e76b3490107a
|
File details
Details for the file slush-1.1.0-py3-none-any.whl.
File metadata
- Download URL: slush-1.1.0-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6969594d29b80b93b3f56aa3afb30fbf21b7a341ad3bb2b71228a03d680fde75
|
|
| MD5 |
d40ffdc2a89ffba4b2b3166996f03bfb
|
|
| BLAKE2b-256 |
77eca5efeb8ed437be0b15ea299a717deadc93add82d6cb240ee93603fd31534
|