tus.io protocol implementation for aiohttp.web applications
Project description
tus.io 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
Quickstart
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(
web.Application(),
upload_url="/uploads",
upload_path=Path(__file__).parent.parent / "uploads",
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiohttp-tus-1.0.0b2.tar.gz
(10.3 kB
view hashes)
Built Distribution
Close
Hashes for aiohttp_tus-1.0.0b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeef17520cadd978ef5680320264d1c7a346d370fcc5afacda3d3fc096a65afe |
|
MD5 | 32abe2f4564e3d55e1d368f2ec788e30 |
|
BLAKE2b-256 | febcb739b57a65bad5b4bd781cb6722ef8f4cf113c84be15c30d6737d3f12aa0 |