dwnld
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.
Metadata
Release files for dwnld 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dwnld-0.2.1.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dwnld-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / dwnld-0.2.1.tar.gz
| Download URL | dwnld-0.2.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f089a4a6113cea4a8570fce1df1a2c396e93a1e7270004f18f2fde23286c7859
|
|
BLAKE2b-256 checksum How to use checksums |
03857b0f8e6df947f28d9790e667816c765e9491cb46c2b9ed1743029e930163
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.5 Linux/5.11.0-37-generic
|
Release files / dwnld-0.2.1-py3-none-any.whl
| Download URL | dwnld-0.2.1-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7bafbd7ab77ec9464ee928a41f7b3de5057b39aec6f02b401354d531a3f816cb
|
|
BLAKE2b-256 checksum How to use checksums |
1ff6d7c79aaa00f4d852357d24ea672da7409c49e7e3316e7aa6eacc96513b05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.5 Linux/5.11.0-37-generic
|