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-0.1.4.tar.gz (12.8 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.4-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for slush-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a7a97ae78dd2b8af141570a51c9c0437f4021f2318959746febff5eeaac0af35
MD5 8df82043cccff3098dcacf026b3d7b1a
BLAKE2b-256 23c4dbfc060e0a305381ba8c432ee0dfb4aaa50114ce372ef79eaeeff2be2c19

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for slush-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 183b8a9a42b8ab376eda2216e4ce7a8386ebb0617e938b57d54055da9ba939f8
MD5 f0d019997045fd1992eb28d2f834b80f
BLAKE2b-256 5f61fc76f31d4069e5275b0312350335ae9f89a6297c44ca80eb6e60903519ff

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