Skip to main content

A lightweight Python web framework.

Project description

Slush Logo

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

✅ Using built-in CLI command

$ python3 run.py

✅ Using built-in CLI

$ slush runserver main:app --debug

Set DEBUG=TRUE for

✅ 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

slush-0.1.2.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slush-0.1.2-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file slush-0.1.2.tar.gz.

File metadata

  • Download URL: slush-0.1.2.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for slush-0.1.2.tar.gz
Algorithm Hash digest
SHA256 20afa6dfb35362fa3593cc730715166d3c2cc21675cfe253cd2030801f19bfae
MD5 75f9438471cc86a09a24e22fd743b237
BLAKE2b-256 e794d84ce8b4e4efa43f8806f7fd9cea5531af6f67f975575435afbc32a30b67

See more details on using hashes here.

File details

Details for the file slush-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: slush-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for slush-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a3338218e59421f08c112fb32e8bb1a389271bcbba47235239d14c766036a58
MD5 f6740719a65c273faeb98cee5481589c
BLAKE2b-256 b9760a1e72bcb3f43412d677ac73c29227ffd3303af708d975d097c1208bbf4c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page