{"id":15009392,"url":"https://github.com/okumy/aiohttp-tus","last_synced_at":"2025-10-08T18:13:01.766Z","repository":{"id":43418202,"uuid":"245408929","full_name":"okumy/aiohttp-tus","owner":"okumy","description":"tus.io protocol implementation for aiohttp.web applications","archived":false,"fork":false,"pushed_at":"2022-12-08T12:52:47.000Z","size":902,"stargazers_count":17,"open_issues_count":5,"forks_count":7,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-18T08:38:34.582Z","etag":null,"topics":["aiohttp","aiohttp-server","python-3","python-3-6","python-3-7","python-3-8","python-library","tus","tus-protocol"],"latest_commit_sha":null,"homepage":"https://www.okumy.com/","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/okumy.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-06T12:02:15.000Z","updated_at":"2025-03-27T20:41:52.000Z","dependencies_parsed_at":"2023-01-25T04:35:20.028Z","dependency_job_id":null,"html_url":"https://github.com/okumy/aiohttp-tus","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/okumy/aiohttp-tus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okumy%2Faiohttp-tus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okumy%2Faiohttp-tus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okumy%2Faiohttp-tus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okumy%2Faiohttp-tus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okumy","download_url":"https://codeload.github.com/okumy/aiohttp-tus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okumy%2Faiohttp-tus/sbom","scorecard":{"id":704289,"data":{"date":"2025-08-11","repo":{"name":"github.com/okumy/aiohttp-tus","commit":"d3a9264e0259fd189328992bd8dec6df76afc575"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/27 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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml: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":"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":"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/ci.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/okumy/aiohttp-tus/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/okumy/aiohttp-tus/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/okumy/aiohttp-tus/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/okumy/aiohttp-tus/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/okumy/aiohttp-tus/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/okumy/aiohttp-tus/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/okumy/aiohttp-tus/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/okumy/aiohttp-tus/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:94: update your workflow using https://app.stepsecurity.io/secureworkflow/okumy/aiohttp-tus/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/okumy/aiohttp-tus/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:102: update your workflow using https://app.stepsecurity.io/secureworkflow/okumy/aiohttp-tus/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:116: update your workflow using https://app.stepsecurity.io/secureworkflow/okumy/aiohttp-tus/ci.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:71","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:111","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand 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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: 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":"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":"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 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"}},{"name":"Vulnerabilities","score":0,"reason":"40 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2023-120 / GHSA-45c4-8wx5-qw6w","Warn: Project is vulnerable to: PYSEC-2024-24 / GHSA-5h86-8mv2-jq9f","Warn: Project is vulnerable to: GHSA-5m98-qgg9-wh84","Warn: Project is vulnerable to: GHSA-7gpw-8wmc-pm8g","Warn: Project is vulnerable to: GHSA-8495-4g3g-x7pr","Warn: Project is vulnerable to: PYSEC-2024-26 / GHSA-8qpw-xqxj-h4r2","Warn: Project is vulnerable to: GHSA-9548-qrrj-x5pj","Warn: Project is vulnerable to: PYSEC-2023-246 / GHSA-gfw2-4jvh-wgfg","Warn: Project is vulnerable to: GHSA-pjjw-qhg8-p2p9","Warn: Project is vulnerable to: PYSEC-2023-250 / GHSA-q3qx-c6g2-7pw2","Warn: Project is vulnerable to: PYSEC-2023-251 / GHSA-qvrw-v9rv-5rjx","Warn: Project is vulnerable to: PYSEC-2023-247 / GHSA-xx9p-xxvh-7g8j","Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: PYSEC-2021-66 / GHSA-g3rq-g295-4j3m","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: PYSEC-2021-140 / GHSA-9w8r-397f-prfh","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: PYSEC-2021-141 / GHSA-pq64-v7f5-gqh8","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2021-108 / GHSA-q2q7-5pp4-w6pg","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: GHSA-753j-mpmx-qq6g","Warn: Project is vulnerable to: GHSA-7cx3-6m66-7c5m","Warn: Project is vulnerable to: GHSA-8w49-h785-mj3c","Warn: Project is vulnerable to: PYSEC-2023-75 / GHSA-hj3f-6gcp-jg8j","Warn: Project is vulnerable to: GHSA-qppv-j76h-2rpx","Warn: Project is vulnerable to: GHSA-w235-7p84-xx57"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T06:03:53.187Z","repository_id":43418202,"created_at":"2025-08-22T06:03:53.188Z","updated_at":"2025-08-22T06:03:53.188Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273554135,"owners_count":25126303,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"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":["aiohttp","aiohttp-server","python-3","python-3-6","python-3-7","python-3-8","python-library","tus","tus-protocol"],"created_at":"2024-09-24T19:24:52.028Z","updated_at":"2025-10-08T18:12:56.716Z","avatar_url":"https://github.com/okumy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===========\naiohttp-tus\n===========\n\n.. image:: https://github.com/pylotcode/aiohttp-tus/workflows/ci/badge.svg\n    :target: https://github.com/pylotcode/aiohttp-tus/actions?query=workflow%3A%22ci%22\n    :alt: CI Workflow\n\n.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white\n    :target: https://github.com/pre-commit/pre-commit\n    :alt: pre-commit\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n    :alt: black\n\n.. image:: https://img.shields.io/pypi/v/aiohttp-tus.svg\n    :target: https://pypi.org/project/aiohttp-tus/\n    :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/pyversions/aiohttp-tus.svg\n    :target: https://pypi.org/project/aiohttp-tus/\n    :alt: Python versions\n\n.. image:: https://img.shields.io/pypi/l/aiohttp-tus.svg\n    :target: https://github.com/pylotcode/aiohttp-tus/blob/master/LICENSE\n    :alt: BSD License\n\n.. image:: https://readthedocs.org/projects/aiohttp-tus/badge/?version=latest\n    :target: http://aiohttp-tus.readthedocs.org/en/latest/\n    :alt: Documentation\n\n`tus.io \u003chttps://tus.io\u003e`_ server implementation for\n`aiohttp.web \u003chttps://docs.aiohttp.org/en/stable/web.html\u003e`_ applications.\n\nFor uploading large files, please consider using\n`aiotus \u003chttps://pypi.org/project/aiotus/\u003e`_ (Python 3.7+) library instead.\n\n- Works on Python 3.6+\n- Works with aiohttp 3.5+\n- BSD licensed\n- Latest documentation `on Read The Docs\n  \u003chttps://aiohttp-tus.readthedocs.io/\u003e`_\n- Source, issues, and pull requests `on GitHub\n  \u003chttps://github.com/pylotcode/aiohttp-tus\u003e`_\n\nQuickstart\n==========\n\nCode belows shows how to enable tus-compatible uploads on ``/uploads`` URL for\n``aiohttp.web`` application. After upload, files will be available at ``../uploads``\ndirectory.\n\n.. code-block:: python\n\n    from pathlib import Path\n\n    from aiohttp import web\n    from aiohttp_tus import setup_tus\n\n\n    app = setup_tus(\n        web.Application(),\n        upload_url=\"/uploads\",\n        upload_path=Path(__file__).parent.parent / \"uploads\",\n    )\n\nChunk Size\n==========\n\nPlease, make sure to configure ``client_max_size`` for ``aiohttp.web`` Application and\nsupply proper ``chunkSize`` for Uppy.io or other tus.io client.\n\n`Documentation \u003chttps://aiohttp-tus.readthedocs.io/en/latest/usage.html#understanding-tus-io-chunk-size\u003e`__\n\nCORS Headers\n============\n\nTo setup CORS headers you need to use `cors_middleware \u003chttps://aiohttp-middlewares.readthedocs.io/en/latest/usage.html#cors-middleware\u003e`_\nfrom `aiohttp-middlewares`_ package. `aiohttp-cors \u003chttps://pypi.org/project/aiohttp-cors/\u003e`_\nlibrary not supported cause of\n`aio-libs/aiohttp-cors#241 \u003chttps://github.com/aio-libs/aiohttp-cors/issues/241\u003e`_\nissue.\n\n`Documentation \u003chttps://aiohttp-tus.readthedocs.io/en/latest/usage.html#cors-headers\u003e`__\n\n.. _aiohttp-middlewares: https://pypi.org/project/aiohttp-middlewares/\n\nReverse proxy and HTTPS\n=======================\n\nWhen ``aiohttp`` application deployed under the reverse proxy (such as nginx) with HTTPS\nsupport, it is needed to use `https_middleware  \u003chttps://aiohttp-middlewares.readthedocs.io/en/latest/usage.html#https-middleware\u003e`_\nfrom `aiohttp-middlewares`_ package to ensure that ``web.Request`` instance has proper\nschema.\n\n`Documentation \u003chttps://aiohttp-tus.readthedocs.io/en/latest/usage.html#reverse-proxy-and-https\u003e`__\n\nExamples\n========\n\n`examples/ \u003chttps://github.com/pylotcode/aiohttp-tus/tree/master/examples\u003e`_ directory\ncontains several examples, which illustrate how to use ``aiohttp-tus`` with some tus.io\nclients, such as `tus.py \u003chttps://pypi.org/project/tus.py/\u003e`_ and\n`Uppy.io \u003chttps://uppy.io\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokumy%2Faiohttp-tus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokumy%2Faiohttp-tus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokumy%2Faiohttp-tus/lists"}