Skip to main content

WeTransferTool

Upload and download files/folders from wetransfer.com
You can upload a file/folder of max 2GB.

Installation:

pip install WeTransferTool

Terminal use:

$> wetransfertool -h
usage: wetransfertool [-h] [-dl DL] [-ul UL] [-mw MW]

options:
  -h, --help  show this help message and exit
  -dl DL      Wetransfer file URL
  -ul UL      File/Folder path
  -mw MW      Maximum number of workers (parallel uploads)

API use:

from WeTransferTool import We

wet = We()
# to upload a file/folder to the server
metadata = wet.upload('/path/to/file', 'file name', 'message')
print(metadata)

# to download a file/folder from the server
wet.download(metadata['url'])

upload() method will return json containing metadata of the uploaded file/folder.
response example:

{
    "id": "27f328599c99ca222222222222222222222222",
    "state": "processing",
    "transfer_type": 4,
    "shortened_url": "https://we.tl/t-222222222",
    "recommended_filename": "tomb.gif",
    "expires_at": "2022-07-10T23:01:11Z",
    "password_protected": False,
    "uploaded_at": None,
    "expiry_in_seconds": 604795,
    "size": None,
    "deleted_at": None,
    "account_id": None,
    "security_hash": "719ce3",
    "from": None,
    "creator": {
        "auth0_user_id": None,
        "email": None
    },
    "message": "test-folder-upload",
    "number_of_downloads": 0,
    "display_name": "tomb.gif",
    "files": [
        {
            "id": "b2c12c7c6fd93f1422222222222222222222222",
            "name": "tomb.gif",
            "retries": 0,
            "size": 5501922,
            "item_type": "file",
            "chunk_size": 15728640
        }
    ],
    "recipients": []
}

Release files for WeTransferTool 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for WeTransferTool 0.7
File Size Uploaded
WeTransferTool-0.7.tar.gz 5.4 kB Details

Release files / WeTransferTool-0.7.tar.gz

Download URL WeTransferTool-0.7.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
da190f5865b55e5084f69b39d1ff283cd0485382212801ee42e8ddfd3360b2f2
BLAKE2b-256 checksum
How to use checksums
ea9c410885a503235abd1234f49ab08d63165ef1dc82acf5ef4af558f0d96c30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Release history Release notifications | RSS feed

This release

0.7 This release

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page