tuspy
A Python client for the tus resumable upload protocol -> http://tus.io
What it is and what it does
tuspy is a Python client library that implements the tus protocol, an HTTP-based standard for resumable file uploads. It wraps the mechanics of chunked uploads and server communication, letting you upload files in pieces that can survive network interruptions, user pauses, or server outages without losing progress. The package provides both a high-level client interface and a standalone uploader for direct use when you already know the upload endpoint.
It depends on requests, tinydb, and aiohttp to handle HTTP communication and local state. You instantiate a client with a server URL, create an uploader from a file path or stream, and call upload() to send the file in configurable chunks. You can pause mid-upload, resume later, or upload specific byte ranges—the server tracks what has arrived, so you never retransmit data unnecessarily.
Use it for:
- Upload large files through unstable networks where a single connection failure would restart the entire transfer
- Build web applications that let users pause and resume file uploads without losing progress
- Integrate with tus-compatible servers to offload resumable upload logic to a dedicated service
- Handle file uploads in mobile or IoT contexts where connectivity is intermittent
- Reduce bandwidth waste by resuming partial uploads instead of starting over after a connection drop
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client for uploading files to servers using the tus resumable upload protocol, which allows paused and resumed uploads without re-uploading previously sent data.
Yes, if you need resumable uploads to a tus-compatible server. The package has low install friction, active maintenance (last commit 2026-07-11), permissive MIT licensing, no known vulnerabilities, and proven adoption in top 5000 PyPI. The Alpha classifier warrants checking the project's current stability stance, but recent activity and download volume suggest it is production-ready for its intended use case.
Install
tuspy on PyPI
pip
pip install tuspyuv
uv add tuspypoetry
poetry add tuspyInstalling tuspy
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with last commit on 2026-07-11; marked Alpha status but in top 5000 PyPI packages by downloads.
License in practice
MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.
Quickstart
pip install tuspy
from tuspy import client
my_client = client.TusClient('http://tusd.tusdemo.net/files/')
uploader = my_client.uploader('path/to/file.ext', chunk_size=200)
uploader.upload()
Verify before relying
- Whether the package's Alpha status reflects active development or stability concerns
- Performance characteristics when uploading large files or over slow connections
- Specific use cases where requests, tinydb, and aiohttp are each required
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.5.3) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — requests, tinydb, aiohttp |
| Maintenance | actively maintained — 623 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,904,147/month — #2,204 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: tuspy-1.1.0-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
google-resumable-mediaHandles resumable uploads and downloads for…
permissive · top 1,000 on PyPI
tuspyserverA FastAPI router that implements the tus…
unclear · top 15,000 on PyPI
robust-downloaderProvides resumable downloads with retry logic,…
permissive · top 5,000 on PyPI
ftputilftputil provides a high-level FTP client…
permissive · top 15,000 on PyPI
python-multipartParses multipart form data from HTTP requests…
permissive · top 1,000 on PyPI
storage3Async Python client library for uploading,…
permissive · top 1,000 on PyPI
pysmbpysmb implements the SMB/CIFS protocol to let…
permissive · top 5,000 on PyPI
urllib3urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
twineTwine uploads Python source and binary…
permissive · top 1,000 on PyPI
vercel_blobA Python client for uploading, downloading,…
unclear · top 15,000 on PyPI