{"id":13595669,"url":"https://github.com/kennethreitz/responder","last_synced_at":"2026-04-01T23:33:34.637Z","repository":{"id":39787840,"uuid":"152237787","full_name":"kennethreitz/responder","owner":"kennethreitz","description":"A familiar HTTP Service Framework for Python.","archived":false,"fork":false,"pushed_at":"2026-03-22T17:58:19.000Z","size":13477,"stargazers_count":3617,"open_issues_count":21,"forks_count":216,"subscribers_count":89,"default_branch":"main","last_synced_at":"2026-03-23T00:39:37.632Z","etag":null,"topics":["falcon","flask","graphql","http-framework","microservices","python","web-services"],"latest_commit_sha":null,"homepage":"http://responder.kennethreitz.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kennethreitz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"kennethreitz","thanks_dev":"kennethreitz","custom":"https://cash.app/$KennethReitz"}},"created_at":"2018-10-09T11:15:00.000Z","updated_at":"2026-03-23T00:29:57.000Z","dependencies_parsed_at":"2023-11-26T19:31:08.117Z","dependency_job_id":"b6787d69-1c90-4595-b702-dbe717f2de52","html_url":"https://github.com/kennethreitz/responder","commit_stats":{"total_commits":838,"total_committers":89,"mean_commits":9.415730337078651,"dds":"0.42601431980906923","last_synced_commit":"b9a03c70884a446c4e1fa3dd456833711301ef11"},"previous_names":["kennethreitz/responder","taoufik07/responder"],"tags_count":53,"template":false,"template_full_name":null,"purl":"pkg:github/kennethreitz/responder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethreitz%2Fresponder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethreitz%2Fresponder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethreitz%2Fresponder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethreitz%2Fresponder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kennethreitz","download_url":"https://codeload.github.com/kennethreitz/responder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethreitz%2Fresponder/sbom","scorecard":{"id":555339,"data":{"date":"2025-08-11","repo":{"name":"github.com/kennethreitz/responder","commit":"944d47da45db16b904ced22fb731b3c3959406d6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/docs.yaml:1","Warn: no topLevel permission defined: .github/workflows/test.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yaml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/kennethreitz/responder/docs.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/kennethreitz/responder/docs.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docs.yaml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/kennethreitz/responder/docs.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/kennethreitz/responder/test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/kennethreitz/responder/test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/kennethreitz/responder/test.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yaml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/kennethreitz/responder/test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:111: update your workflow using https://app.stepsecurity.io/secureworkflow/kennethreitz/responder/test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:114: update your workflow using https://app.stepsecurity.io/secureworkflow/kennethreitz/responder/test.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yaml:123: update your workflow using https://app.stepsecurity.io/secureworkflow/kennethreitz/responder/test.yaml/main?enable=pin","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T12:10:44.765Z","repository_id":39787840,"created_at":"2025-08-20T12:10:44.765Z","updated_at":"2025-08-20T12:10:44.765Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30845252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-23T01:54:41.487Z","status":"online","status_checked_at":"2026-03-23T02:00:09.028Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["falcon","flask","graphql","http-framework","microservices","python","web-services"],"created_at":"2024-08-01T16:01:55.186Z","updated_at":"2026-04-01T23:33:34.630Z","avatar_url":"https://github.com/kennethreitz.png","language":"Python","funding_links":["https://github.com/sponsors/kennethreitz","https://thanks.dev/kennethreitz","https://cash.app/$KennethReitz"],"categories":["Python","Web Frameworks","Tools"],"sub_categories":["WebTools"],"readme":"# Responder\n\nA familiar HTTP Service Framework for Python, powered by [Starlette](https://www.starlette.io/).\n\n```python\nimport responder\n\napi = responder.API()\n\n@api.route(\"/{greeting}\")\nasync def greet_world(req, resp, *, greeting):\n    resp.text = f\"{greeting}, world!\"\n\nif __name__ == \"__main__\":\n    api.run()\n```\n\n    $ pip install responder\n\nThat's it. Supports Python 3.10+.\n\n## The Basics\n\n- `resp.text` sends back text. `resp.html` sends back HTML. `resp.content` sends back bytes.\n- `resp.media` sends back JSON (or YAML, with content negotiation).\n- `resp.file(\"path.pdf\")` serves a file with automatic content-type detection.\n- `req.headers` is case-insensitive. `req.params` gives you query parameters.\n- Both sync and async views work — the `async` is optional.\n\n## Highlights\n\n```python\n# Type-safe route parameters\n@api.route(\"/users/{user_id:int}\")\nasync def get_user(req, resp, *, user_id):\n    resp.media = {\"id\": user_id}\n\n# HTTP method filtering\n@api.route(\"/items\", methods=[\"POST\"])\nasync def create_item(req, resp):\n    data = await req.media()\n    resp.media = {\"created\": data}\n\n# Class-based views\n@api.route(\"/things/{id}\")\nclass ThingResource:\n    def on_get(self, req, resp, *, id):\n        resp.media = {\"id\": id}\n    def on_post(self, req, resp, *, id):\n        resp.text = \"created\"\n\n# Before-request hooks (auth, rate limiting, etc.)\n@api.route(before_request=True)\ndef check_auth(req, resp):\n    if not req.headers.get(\"Authorization\"):\n        resp.status_code = 401\n        resp.media = {\"error\": \"unauthorized\"}\n\n# Custom error handling\n@api.exception_handler(ValueError)\nasync def handle_error(req, resp, exc):\n    resp.status_code = 400\n    resp.media = {\"error\": str(exc)}\n\n# Lifespan events\nfrom contextlib import asynccontextmanager\n\n@asynccontextmanager\nasync def lifespan(app):\n    print(\"starting up\")\n    yield\n    print(\"shutting down\")\n\napi = responder.API(lifespan=lifespan)\n\n# GraphQL\nimport graphene\napi.graphql(\"/graphql\", schema=graphene.Schema(query=Query))\n\n# WebSockets\n@api.route(\"/ws\", websocket=True)\nasync def websocket(ws):\n    await ws.accept()\n    while True:\n        name = await ws.receive_text()\n        await ws.send_text(f\"Hello {name}!\")\n\n# Mount WSGI/ASGI apps\nfrom flask import Flask\nflask_app = Flask(__name__)\napi.mount(\"/flask\", flask_app)\n\n# Background tasks\n@api.route(\"/work\")\ndef do_work(req, resp):\n    @api.background.task\n    def process():\n        import time; time.sleep(10)\n    process()\n    resp.media = {\"status\": \"processing\"}\n```\n\nBuilt-in OpenAPI docs, cookie-based sessions, gzip compression, static file serving, Jinja2 templates, and a production uvicorn server.\n\nRoute convertors: `str`, `int`, `float`, `uuid`, `path`.\n\n## Documentation\n\nhttps://responder.kennethreitz.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethreitz%2Fresponder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkennethreitz%2Fresponder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethreitz%2Fresponder/lists"}