aiotus - Asynchronous tus client library
aiotus implements the client-side of the tus protocol.
Features
- Implements the core protocol as well as the creation and concatenation extensions.
- Built-in retry support in case of communication errors.
- Extensive test bench, including tests against the reference tusd server.
Usage
import aiotus
creation_url = "http://example.com/files"
metadata = {
"Filename": "image.jpeg".encode(),
"Content-Type": "image/jpeg".encode()
}
# Upload a file to a tus server.
with open("image.jpeg", "rb") as f:
location = await aiotus.upload(creation_url, f, metadata)
# 'location' is the URL where the file was uploaded to.
# Read back the metadata from the server.
metadata = await aiotus.metadata(location)
Requirements
Installation
Install aiotus from PyPi:
pip install aiotus
Development versions can be installed from TestPyPi:
pip install --index-url https://test.pypi.org/simple --extra-index-url https://pypi.org/simple aiotus
Documentation
The documentation can be found at aiotus.readthedocs.io.
License
aiotus is licensed under the Apache 2.0 license.
Release files for aiotus 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiotus-1.1.0.tar.gz | 31.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiotus-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.0 kB
Release files / aiotus-1.1.0.tar.gz
| Download URL | aiotus-1.1.0.tar.gz |
|---|---|
| Size | 31.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75f3bd46455e7f221794b9d224105e3d7595e653ce2a73270dcc076ec72f42e7
|
|
BLAKE2b-256 checksum How to use checksums |
b7c1c60f4296cc468478c3b325a066e8b26553dd5c867e2383f5df636604346d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 19, 2025.
Transparency logRelease files / aiotus-1.1.0-py3-none-any.whl
| Download URL | aiotus-1.1.0-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff473aabb50159e847b99490183485f5f50a033799cbbc260da1f739e6542e6e
|
|
BLAKE2b-256 checksum How to use checksums |
555ff9d88788b3bf607ff40c0f414422b60ecbe7dee5bcd9a01bd512e16c756d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 19, 2025.
Transparency log