slush


Nameslush JSON
Version 0.1.3 PyPI version JSON
download
home_pageNone
SummaryA lightweight Python web framework.
upload_time2025-08-19 00:09:25
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseBSD-3-Clause
keywords web framework python wsgi slush backend api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
  <img src="https://i.ibb.co/M5Pv76X0/slushlogo.png" alt="Slush Logo" width="480" />
</p>

# 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

```bash
$ pip install slush
```


## A Simple Example

```python
# 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!"}
```

```python
# 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
```bash
$ python3 run.py
```

### โœ… Using built-in CLI
```bash
$ slush runserver main:app
```
> Set `DEBUG=TRUE` for

### โœ… Or use gunicorn
```bash
$ 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

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "slush",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "web framework, python, wsgi, slush, backend, api",
    "author": null,
    "author_email": "Hasan Faraz Khan <farazkhan138@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/aa/3f/8bfcfe3544b9e7220828fbd70dd61f8e9fdb9acd4851d9bb27cb90d75bdc/slush-0.1.3.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n  <img src=\"https://i.ibb.co/M5Pv76X0/slushlogo.png\" alt=\"Slush Logo\" width=\"480\" />\n</p>\n\n# Slush\n\n**Slush** is a lightweight Python web framework designed for clarity, extensibility, and performance.\n\n---\n\n## \ud83d\ude80 Introduction\n\n**Slush** is a lightweight and efficient Python web framework designed for building modern APIs with speed and simplicity.\n\nSlush gives you full control over routing, requests, responses, middleware, and cookies\u2014without locking you into a rigid structure or heavy dependencies.\n\nWhether 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.\n\nPerfect for:\n\n- Rapid API development without boilerplate.\n- Minimalist backend systems with full control.\n- Developers who want a lean, customizable foundation.\n\n---\n\n## \ud83d\udce6 Installation\n\n```bash\n$ pip install slush\n```\n\n\n## A Simple Example\n\n```python\n# save this as main.py\nfrom slush.app import Slush\nfrom slush.core.response import Response\n\napp = Slush()\n\n@app.route(\"/hello\", methods=[\"GET\"])\ndef hello(request):\n    return {\"message\": \"Hello from Slush!\"}\n```\n\n```python\n# save this as run.py\nfrom main import app\nfrom slush.server import run\n\nrun(app, port=8000, debug=True)\n```\n\n## \u25b6\ufe0f Run the Server\n### \u2705 Using built-in CLI command\n```bash\n$ python3 run.py\n```\n\n### \u2705 Using built-in CLI\n```bash\n$ slush runserver main:app\n```\n> Set `DEBUG=TRUE` for\n\n### \u2705 Or use gunicorn\n```bash\n$ gunicorn main:app\n```\n\n## \ud83d\udcc4 License\nThis project is licensed under the BSD 3-Clause License.\n\n## \ud83c\udf10 Links\n\n### \ud83d\udcd8 Documentation: Coming soon\n### \ud83d\udc19 GitHub: https://github.com/farazkhanfk7/slush\n### \ud83d\udce6 PyPI: https://pypi.org/project/slush\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "A lightweight Python web framework.",
    "version": "0.1.3",
    "project_urls": {
        "Documentation": "https://github.com/farazkhanfk7/slush",
        "Homepage": "https://github.com/farazkhanfk7/slush",
        "Source": "https://github.com/farazkhanfk7/slush"
    },
    "split_keywords": [
        "web framework",
        " python",
        " wsgi",
        " slush",
        " backend",
        " api"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0c6882f9bbf4bf6c815815f91cc2e48227223bbb7497770a0a583f30d331ab7a",
                "md5": "e2c7f0d1be8d2d0b7cddba2cf3e63a83",
                "sha256": "91f1761e1d8039afb583469f5ce0c80550fb95162da692f26fb607373a56cfd4"
            },
            "downloads": -1,
            "filename": "slush-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e2c7f0d1be8d2d0b7cddba2cf3e63a83",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 15536,
            "upload_time": "2025-08-19T00:09:21",
            "upload_time_iso_8601": "2025-08-19T00:09:21.999475Z",
            "url": "https://files.pythonhosted.org/packages/0c/68/82f9bbf4bf6c815815f91cc2e48227223bbb7497770a0a583f30d331ab7a/slush-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "aa3f8bfcfe3544b9e7220828fbd70dd61f8e9fdb9acd4851d9bb27cb90d75bdc",
                "md5": "e5b705eca11410793fbc3cea3248a649",
                "sha256": "5b1d17d7319b0c4ac8f95b3e060dbe1423b7c61c5b0a74adee6f2ef5444bfb24"
            },
            "downloads": -1,
            "filename": "slush-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "e5b705eca11410793fbc3cea3248a649",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 12523,
            "upload_time": "2025-08-19T00:09:25",
            "upload_time_iso_8601": "2025-08-19T00:09:25.377383Z",
            "url": "https://files.pythonhosted.org/packages/aa/3f/8bfcfe3544b9e7220828fbd70dd61f8e9fdb9acd4851d9bb27cb90d75bdc/slush-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-19 00:09:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "farazkhanfk7",
    "github_project": "slush",
    "github_not_found": true,
    "lcname": "slush"
}
        
Elapsed time: 2.53900s