Skip to main content

WeTransfer command line utility.

Project description

Build Status

Python script for uploading and downloading wetransfer files from the command line. Inspired by upload-wetransfer by kraynel and wetransfer-upload by Spencer Cree <>.


  • Upload files or directories of files with or without authentication
  • Download file from url
  • Show progress of upload and download


pip install wetransferpy


git clone


Authenticate upload:

from wetransferpy import WeTransfer

wt = WeTransfer(username="",
                message='Hello from python',

Anonymous upload:

from wetransferpy import WeTransfer
wt = Wetransfer()
url = wt.uploadFile('')
print url

Upload Shell script usage:

wetranfer-upload -h

usage: wetransfer-upload [-h] [-b] [-u USERNAME] [-p PASSWORD] [-e EXPIRE]
                     [-c CHANNEL] [-r [RECEIVER [RECEIVER ...]]]
                     [-s SENDER] [-m MESSAGE] [-R]
                     files [files ...]

Uploads files or folders to WeTransfer.

positional arguments:
  files                 files or directory to send

optional arguments:
  -h, --help            show this help message and exit
  -b, --no-progressbar  Hide progress bar
  -u USERNAME, --username USERNAME
                        WeTransfer user account name
  -p PASSWORD, --password PASSWORD
                        WeTransfer password
  -e EXPIRE, --expire EXPIRE
                        File expiration
  -c CHANNEL, --channel CHANNEL
                        WeTransfer channel
  -r [RECEIVER [RECEIVER ...]], --receiver [RECEIVER [RECEIVER ...]]
                        emails of the receivers
  -s SENDER, --sender SENDER
                        email of the sender
  -m MESSAGE, --message MESSAGE
                        message to send
  -R, --recursive       recursive send

Download shell script usage:

wetranfer-download -u

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wetransferpy, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size wetransferpy-0.2.3.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

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