This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Python script for uploading and downloading wetransfer files from the command line. Inspired by upload-wetransfer by kraynel and wetransfer-upload by Spencer Cree <https://github.com/creemerica>.

Features

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

Installation

pip install wetransferpy

or

git clone https://github.com/predat/wetransferpy

Usage

Authenticate upload:

from wetransferpy import WeTransfer

wt = WeTransfer(username="name@example.com",
                password="thepassword",
                sender="sender@example.com",
                receivers=["receiver1@example.com","receiver2@example.com"],
                channel='',
                message='Hello from python',
                expire_in='3m',
                progress=True,
)
wt.uploadFile('thefile.mov')

Anonymous upload:

from wetransferpy import WeTransfer
wt = Wetransfer()
url = wt.uploadFile('thefile.mov')
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 http://we.tl/XV4MmuqPRd
Release History

Release History

0.2.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.6

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
wetransferpy-0.2.3.tar.gz (6.3 kB) Copy SHA256 Checksum SHA256 Source Nov 18, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting