Skip to main content

A multiprotocol downloader

Project description

dwnld

dwnld.png

Motivation

A library to download stuff given urls with different protocols, like ftp://... or ssh://....

Usage

There is only one interesting module level function in this repo, it can download (or move) stuff from A to B:

from dwnld import download

download("file://stuff.txt", "somewhere_else.txt")
download("ssh://some-remote-server:/home/reptile/stuff.txt", "here.txt")
download("https://cool.com/nice.pdf", "here.pdf")
download("http://cool.com/nice.pdf", "here.pdf")
# supports tor via
download("onion://cool.onion/here.pdf", "here.pdf", proto="https")

Todos

  • Support ftp/sftp
  • Support torrent
  • Support non-default ports for tor/socks4/socks5 server

License

This project is licensed under the GPL-3 license.

Project details


Download files

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

Source Distribution

dwnld-0.2.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

dwnld-0.2.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file dwnld-0.2.1.tar.gz.

File metadata

  • Download URL: dwnld-0.2.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.5 Linux/5.11.0-37-generic

File hashes

Hashes for dwnld-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f089a4a6113cea4a8570fce1df1a2c396e93a1e7270004f18f2fde23286c7859
MD5 2661b70bf8dd3e0993cb42b069e95e55
BLAKE2b-256 03857b0f8e6df947f28d9790e667816c765e9491cb46c2b9ed1743029e930163

See more details on using hashes here.

File details

Details for the file dwnld-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: dwnld-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.5 Linux/5.11.0-37-generic

File hashes

Hashes for dwnld-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7bafbd7ab77ec9464ee928a41f7b3de5057b39aec6f02b401354d531a3f816cb
MD5 cbd9977cb9e97054bbdb3802a8875841
BLAKE2b-256 1ff6d7c79aaa00f4d852357d24ea672da7409c49e7e3316e7aa6eacc96513b05

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page