shrimp-http


Nameshrimp-http JSON
Version 0.1.4 PyPI version JSON
download
home_page
SummaryShrimp 🦐 is a batteries-included zero-dependency WSGI/ASGI web-framework for Python
upload_time2024-02-29 01:51:17
maintainer
docs_urlNone
authorKrill Issue
requires_python>=3.10
licenseMIT License Copyright (c) 2023-present krillissue Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords wsgi asgi server webserver api web framework
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- MIT LICENSE -->
<!--
MIT License                                                
Copyright (c) 2023-present krillissue                                                                                 Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal                                         in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell                                             copies of the Software, and to permit persons to whom the Software is                                                 furnished to do so, subject to the following conditions:                                                              The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.                                                                       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->

<div align="center">
<h1>🦐 Shrimp</h1>
<a href="#install-shrimp"><img src="https://img.shields.io/badge/Batteries_🔋-Included-yellow?labelColor=000000&style=for-the-badge"></a> <a href="#requirements"><img src="https://img.shields.io/badge/Python-3.10+-FFD43B?labelColor=306998&style=for-the-badge&logo=python&logoColor=white"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-green?style=for-the-badge"></a>
</div>

**Shrimp** 🦐 is a batteries-included zero-dependency WSGI/ASGI web-framework for **Python** <img src="https://python.org/favicon.ico" alt="Python" height="12">

# Example
```py
from shrimp import Shrimp, Request
from shrimp.response import HTMLResponse

server = Shrimp()

@server.get("/")
def index(req: Request) -> HTMLResponse:
    return HTMLResponse("<h1>Hello, World!</h1>")

server.serve()
```
*Simple HTTP server using **Shrimp** 🦐*

# Requirements
- [**Python 3.10.x <img src="https://python.org/favicon.ico" alt="Python" height="12"> or above with `pip`**](https://python.org)

To install **Python <img src="https://python.org/favicon.ico" alt="Python" height="12">** with `pip`, check [this file](INSTALL%20PYTHON.md).

# Install Shrimp
To install **Shrimp** 🦐, run the following `pip` command.

```
$ pip install -U shrimp-http
```

**Shrimp** 🦐 is fully made with built-in packages. There's no dependencies, hence being batteries-included.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "shrimp-http",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "wsgi,asgi,server,webserver,api,web,framework",
    "author": "Krill Issue",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/15/88/80f87ca54954a5f54b46ca95c29aee5c6a955296ae48d7da9fb3b87b1cd9/shrimp-http-0.1.4.tar.gz",
    "platform": null,
    "description": "<!-- MIT LICENSE -->\n<!--\nMIT License                                                \nCopyright (c) 2023-present krillissue                                                                                 Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal                                         in the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell                                             copies of the Software, and to permit persons to whom the Software is                                                 furnished to do so, subject to the following conditions:                                                              The above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.                                                                       THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n-->\n\n<div align=\"center\">\n<h1>\ud83e\udd90 Shrimp</h1>\n<a href=\"#install-shrimp\"><img src=\"https://img.shields.io/badge/Batteries_\ud83d\udd0b-Included-yellow?labelColor=000000&style=for-the-badge\"></a> <a href=\"#requirements\"><img src=\"https://img.shields.io/badge/Python-3.10+-FFD43B?labelColor=306998&style=for-the-badge&logo=python&logoColor=white\"></a> <a href=\"LICENSE\"><img src=\"https://img.shields.io/badge/License-MIT-green?style=for-the-badge\"></a>\n</div>\n\n**Shrimp** \ud83e\udd90 is a batteries-included zero-dependency WSGI/ASGI web-framework for **Python** <img src=\"https://python.org/favicon.ico\" alt=\"Python\" height=\"12\">\n\n# Example\n```py\nfrom shrimp import Shrimp, Request\nfrom shrimp.response import HTMLResponse\n\nserver = Shrimp()\n\n@server.get(\"/\")\ndef index(req: Request) -> HTMLResponse:\n    return HTMLResponse(\"<h1>Hello, World!</h1>\")\n\nserver.serve()\n```\n*Simple HTTP server using **Shrimp** \ud83e\udd90*\n\n# Requirements\n- [**Python 3.10.x <img src=\"https://python.org/favicon.ico\" alt=\"Python\" height=\"12\"> or above with `pip`**](https://python.org)\n\nTo install **Python <img src=\"https://python.org/favicon.ico\" alt=\"Python\" height=\"12\">** with `pip`, check [this file](INSTALL%20PYTHON.md).\n\n# Install Shrimp\nTo install **Shrimp** \ud83e\udd90, run the following `pip` command.\n\n```\n$ pip install -U shrimp-http\n```\n\n**Shrimp** \ud83e\udd90 is fully made with built-in packages. There's no dependencies, hence being batteries-included.\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023-present krillissue  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Shrimp \ud83e\udd90 is a batteries-included zero-dependency WSGI/ASGI web-framework for Python",
    "version": "0.1.4",
    "project_urls": {
        "Homepage": "https://github.com/krillissue/shrimp"
    },
    "split_keywords": [
        "wsgi",
        "asgi",
        "server",
        "webserver",
        "api",
        "web",
        "framework"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "87b22df14a19b25109835d2ae50e6f16fa5ff65b65c4d22369397d84c7858f02",
                "md5": "79564d7dacc6d1a2ce28e07b2c2d8d8f",
                "sha256": "ef104a69118cdb32e1a3f561c9987cb9ab254a8d7610a755e75ab299734fc38f"
            },
            "downloads": -1,
            "filename": "shrimp_http-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "79564d7dacc6d1a2ce28e07b2c2d8d8f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 9358,
            "upload_time": "2024-02-29T01:51:12",
            "upload_time_iso_8601": "2024-02-29T01:51:12.536685Z",
            "url": "https://files.pythonhosted.org/packages/87/b2/2df14a19b25109835d2ae50e6f16fa5ff65b65c4d22369397d84c7858f02/shrimp_http-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "158880f87ca54954a5f54b46ca95c29aee5c6a955296ae48d7da9fb3b87b1cd9",
                "md5": "2918ac3c6597f178dcf2903a0c1f2492",
                "sha256": "84c512567b55ab850f79037cc0e403258caab0454b96658248e570403485462d"
            },
            "downloads": -1,
            "filename": "shrimp-http-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "2918ac3c6597f178dcf2903a0c1f2492",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 8326,
            "upload_time": "2024-02-29T01:51:17",
            "upload_time_iso_8601": "2024-02-29T01:51:17.198758Z",
            "url": "https://files.pythonhosted.org/packages/15/88/80f87ca54954a5f54b46ca95c29aee5c6a955296ae48d7da9fb3b87b1cd9/shrimp-http-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-29 01:51:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "krillissue",
    "github_project": "shrimp",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "shrimp-http"
}
        
Elapsed time: 0.31507s