python TUS client
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
config.py
tuspy.py

README.md

tuspy

TUS Protocol 1.0.0 Client Implementation

Installation

pip install requests
pip install pycurl

Configuration

Modify CREATE_ENDPT = "http://localhost:1080/files/" in  config.py

Run

Usage: tuspy.py [options]

Options:
  -h, --help            show this help message and exit
  -f FILENAME, --file=FILENAME
                        file to upload
  -u UPLOAD_SPEED, --upload_speed=UPLOAD_SPEED
                        upload speed in bytes per second

Example

wget http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_640x360.m4v
python tuspy.py -f BigBuckBunny_640x360.m4v

License

Apache License, Version 2.0.