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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

tusclient-0.2.0-py2-none-any.whl (5.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page