Skip to content

vayam/tuspy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

python TUS client

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages