Skip to main content

python client for tus protocol 1.0.0

Project description

python client for tus protocol 1.0.0 of the tus resumable upload standard.

install

pip install tusclient

arguments

fpath
str, required, path of upload file
upload_url
str, required, url for the resumable upload service
tmp_dir
str, optional, directory to store temporary files, default /tmp/upload
upload_metadata
dict, optional, Tus Upload-Metadata, default None

example

from tusclient import TusClient

tus = TusClient(fpath='upload_file.dat', upload_url='http://localhost/upload_resumable')
tus.run()

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 tusclient, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size tusclient-0.2.1-py2-none-any.whl (5.4 kB) File type Wheel Python version py2 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page