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
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.0b0.tar.gz
(8.9 kB
view details)
Built Distribution
File details
Details for the file aiohttp-tus-1.0.0b0.tar.gz
.
File metadata
- Download URL: aiohttp-tus-1.0.0b0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3987490a6e90310a8dce63673e24f055587f6fe92181e6e221a646a02a90ed71 |
|
MD5 | 2594af246a39de6d6cd7a8126df42985 |
|
BLAKE2b-256 | 991eb5ca2600fc317f16aae56cfb12fb7ec5329866d896cf33c5648596e221aa |
File details
Details for the file aiohttp_tus-1.0.0b0-py3-none-any.whl
.
File metadata
- Download URL: aiohttp_tus-1.0.0b0-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4385208f083dc0a299bbeadf5ff34c0a4019fc768df43a344ae0443dd82ed0a1 |
|
MD5 | 3307a6e29cd275228f00bd2f6064e386 |
|
BLAKE2b-256 | 7937d1626cb12c883e3f83d329c7b456eaa3f86f7d504caa341ef6bf9aef8120 |