Skip to main content protocol implementation for aiohttp.web applications

Project description

CI Workflow pre-commit Latest Version Python versions BSD License Documentation server implementation for aiohttp.web applications.

For uploading large files, please consider using aiotus (Python 3.7+) library instead.

  • Works on Python 3.6+
  • Works with aiohttp 3.5+
  • BSD licensed
  • Latest documentation on Read The Docs
  • Source, issues, and pull requests on GitHub


Code belows shows how to enable tus-compatible uploads on /uploads URL for aiohttp.web application. After upload, files will be available at ../uploads directory.

from pathlib import Path

from aiohttp import web
from aiohttp_tus import setup_tus

app = setup_tus(
    upload_path=Path(__file__).parent.parent / "uploads",

Chunk Size

Please, make sure to configure client_max_size for aiohttp.web Application and supply proper chunkSize for or other client.



examples/ directory contains several examples, which illustrate how to use aiohttp-tus with some clients, such as and

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aiohttp-tus, version 1.0.0rc0
Filename, size File type Python version Upload date Hashes
Filename, size aiohttp_tus-1.0.0rc0-py3-none-any.whl (12.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size aiohttp-tus-1.0.0rc0.tar.gz (11.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page