Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 803 Bytes

README.md

File metadata and controls

36 lines (28 loc) · 803 Bytes

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.