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 app.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 example_app 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 run

✅ Or use gunicorn

$ gunicorn app: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.1.tar.gz (10.1 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.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slush-0.1.1.tar.gz
  • Upload date:
  • Size: 10.1 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.1.tar.gz
Algorithm Hash digest
SHA256 b685671869c199189303b79d9c2c47d65c0ab5bde48960fa0900c79667aacc53
MD5 4c142139135a9d1a728ca41b57f5d6fe
BLAKE2b-256 650dc43491d1acf0fb09a2d9082fb0b81aa99bfdf5d6fb71bebc0d3580ff2e4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slush-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9c6ac917d504750916e1cd7300856333190e03492821f436b8ee009594c176b
MD5 23d062f4470241eac95f3c6d92a12589
BLAKE2b-256 dbc43a7d01b27f45b708a738e5759b41e6d1b8cfd8aa67899ea27505611a200e

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