{"id":16942387,"url":"https://github.com/razcrimson/starlette-gzip-request","last_synced_at":"2025-04-11T19:32:43.938Z","repository":{"id":246726748,"uuid":"822166761","full_name":"RazCrimson/starlette-gzip-request","owner":"RazCrimson","description":"A custom ASGI middleware for starlette to handle GZipped HTTP Requests","archived":false,"fork":false,"pushed_at":"2024-06-30T17:47:13.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T11:15:13.487Z","etag":null,"topics":["asgi","fastapi","starlette","starlette-middleware"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RazCrimson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-30T13:16:21.000Z","updated_at":"2025-04-05T19:08:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"d5d6a396-d0aa-496c-8001-5e05dd52e9ec","html_url":"https://github.com/RazCrimson/starlette-gzip-request","commit_stats":null,"previous_names":["razcrimson/starlette-gzip-request"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RazCrimson%2Fstarlette-gzip-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RazCrimson%2Fstarlette-gzip-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RazCrimson%2Fstarlette-gzip-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RazCrimson%2Fstarlette-gzip-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RazCrimson","download_url":"https://codeload.github.com/RazCrimson/starlette-gzip-request/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248467126,"owners_count":21108599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asgi","fastapi","starlette","starlette-middleware"],"created_at":"2024-10-13T21:11:48.910Z","updated_at":"2025-04-11T19:32:43.909Z","avatar_url":"https://github.com/RazCrimson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# starlette-gzip-request\n\n**starlette-gzip-request** is a custom middleware for supporting HTTP requests compressed with Gzip in [Starlette](https://www.starlette.io).\n\nThis package essentially aims to fill the need presented in https://github.com/encode/starlette/issues/644.\n\n- Python 3.8+ support\n- Compatible with `asyncio` and `trio` backends\n\n## Installation\n\n```sh\npip install starlette-gzip-request\n```\n\n## Basic Usage\n\n### Starlette\n\n```py\nfrom starlette.applications import Starlette\nfrom starlette.middleware import Middleware\nfrom starlette_gzip_request import GzipRequestMiddleware\n\nmiddleware = [\n    Middleware(GzipRequestMiddleware)\n]\n\napp = Starlette(routes=..., middleware=middleware)\n```\n\n### FastAPI\n\n`starlette-gzip-request` can also be used with [FastAPI](https://fastapi.tiangolo.com) as follows:\n\n```py\nfrom fastapi import FastAPI\nfrom starlette_gzip_request import GzipRequestMiddleware\n\napp = FastAPI()\napp.add_middleware(GzipRequestMiddleware)\n```\n\n## Contributing\n\nIf you'd like to contribute, please feel free to open a pull request (PR).\n\nPlease ensure that your PRs include test coverage to validate your changes. Thank you for helping improve `starlette-gzip-request`!\n\n## Authors\n- Bharath Vignesh J K - [@RazCrimson](https://github.com/RazCrimson)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frazcrimson%2Fstarlette-gzip-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frazcrimson%2Fstarlette-gzip-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frazcrimson%2Fstarlette-gzip-request/lists"}