toastiepy


Nametoastiepy JSON
Version 0.0.14 PyPI version JSON
download
home_pageNone
SummaryToastiePy is an express like python based http server framework.
upload_time2025-11-03 02:21:00
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseNone
keywords web http websocket toastiepy toastiebun express
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ToastiePy

[**`git`**](https://github.com/IsCoffeeTho/toastiepy) | [**`pypi`**](https://pypi.org/project/toastiepy/)

ToastiePy is an express like python based http server framework.

<img src="https://raw.githubusercontent.com/IsCoffeeTho/toastiepy/master/toatiepy/assets/toastiepy.svg" height="300px" alt="Toastie (The Cat)">

## Installation
```bash
pip install toastiepy
```
### Usage
```py
# main.py
import toastiepy

app = toastiepy.server()

@app.get("/")
def index(req, res): # function name does not matter 
	res.send("Hello from Toastiebun")

if __name__ == "__main__":
	asyncio.run(app.listen("127.0.0.1", 8000))
```
![Hello from TostiePy](./assets/HelloWorld.png)

## Development
```bash
# Unit Tests
python3 -m unittest # Not Implemented Yet

python3 example.py
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "toastiepy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "web, http, websocket, toastiepy, toastiebun, express",
    "author": null,
    "author_email": "Aaron Menadue <aaron.menadue+toastiepy@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/46/55/c69b7b259af41c9804c826a18ec65fa5287dcd1ee7231413fa6705e0c883/toastiepy-0.0.14.tar.gz",
    "platform": null,
    "description": "# ToastiePy\n\n[**`git`**](https://github.com/IsCoffeeTho/toastiepy) | [**`pypi`**](https://pypi.org/project/toastiepy/)\n\nToastiePy is an express like python based http server framework.\n\n<img src=\"https://raw.githubusercontent.com/IsCoffeeTho/toastiepy/master/toatiepy/assets/toastiepy.svg\" height=\"300px\" alt=\"Toastie (The Cat)\">\n\n## Installation\n```bash\npip install toastiepy\n```\n### Usage\n```py\n# main.py\nimport toastiepy\n\napp = toastiepy.server()\n\n@app.get(\"/\")\ndef index(req, res): # function name does not matter \n\tres.send(\"Hello from Toastiebun\")\n\nif __name__ == \"__main__\":\n\tasyncio.run(app.listen(\"127.0.0.1\", 8000))\n```\n![Hello from TostiePy](./assets/HelloWorld.png)\n\n## Development\n```bash\n# Unit Tests\npython3 -m unittest # Not Implemented Yet\n\npython3 example.py\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "ToastiePy is an express like python based http server framework.",
    "version": "0.0.14",
    "project_urls": null,
    "split_keywords": [
        "web",
        " http",
        " websocket",
        " toastiepy",
        " toastiebun",
        " express"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "78d3cd50b854a7c3430fa71aa9941f0570cb53087a5a8fa5a35d0357117241a4",
                "md5": "436ce53be73e2d5aaa157a5104591bcf",
                "sha256": "8b075ad2572accddbdad1df6cfae68bea38ff39cdee4b0c6069fb33f90a8639e"
            },
            "downloads": -1,
            "filename": "toastiepy-0.0.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "436ce53be73e2d5aaa157a5104591bcf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 11981,
            "upload_time": "2025-11-03T02:20:59",
            "upload_time_iso_8601": "2025-11-03T02:20:59.098615Z",
            "url": "https://files.pythonhosted.org/packages/78/d3/cd50b854a7c3430fa71aa9941f0570cb53087a5a8fa5a35d0357117241a4/toastiepy-0.0.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4655c69b7b259af41c9804c826a18ec65fa5287dcd1ee7231413fa6705e0c883",
                "md5": "b0eecbaf262b7d525a235abd8a839f82",
                "sha256": "d3f7f4337f043a12fce453910a4b6be7a97adef9a4b96fe7a28f92d3a7b3e75b"
            },
            "downloads": -1,
            "filename": "toastiepy-0.0.14.tar.gz",
            "has_sig": false,
            "md5_digest": "b0eecbaf262b7d525a235abd8a839f82",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10739,
            "upload_time": "2025-11-03T02:21:00",
            "upload_time_iso_8601": "2025-11-03T02:21:00.514061Z",
            "url": "https://files.pythonhosted.org/packages/46/55/c69b7b259af41c9804c826a18ec65fa5287dcd1ee7231413fa6705e0c883/toastiepy-0.0.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-11-03 02:21:00",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "toastiepy"
}
        
Elapsed time: 2.09354s