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.1-py2-none-any.whl (5.4 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page