Skip to main content

Asynchronous tus ( client library

Project description

aiotus implements the client side of the tus protocol.


  • Implements the core protocol as well as the creation extension.
  • Built-in retry support in case of communication errors.
  • Extensive test bench, including tests against the reference tusd server.


import aiotus

creation_url = ""

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 = aiotus.metadata(location)



Install aiotus from PyPi:

pip install aiotus

Development versions can be installed from TestPyPi:

pip install --index-url --extra-index-url aiotus


aiotus is licensed under the Apache 2.0 license.

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 aiotus, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size aiotus-0.1.6-py3-none-any.whl (14.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size aiotus-0.1.6.tar.gz (22.1 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