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

$ 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

slush-1.0.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

slush-1.0.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slush-1.0.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for slush-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9fb574a511881267e53cdc05364677a23c7ff48c38fa9363d40977a91fcc2919
MD5 b6ca8c3b4980717c2286be967d072fd7
BLAKE2b-256 0af99837371377b4cbfb358928ec814ada56d1c47446bacfac91405e1da01233

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slush-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for slush-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd10a91769452acf76e9c0f6b2da2ef99144571beab7f4077c381b18b754bfa0
MD5 ff2ae3f64b7acd4562d04cd7831f03a1
BLAKE2b-256 915561ef051b11765466c5eeb5715223114827f082303c2d2cfe0a898fa8ef94

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