DowPy: An efficient way to download files via HTTP
Features
Ability to download any file type
Multi-threading to run parallel downloads, if supported
Resumable downloads on connection loss
Cross-platform support
Timed bench marks of each individual chunk/overall file
File verification, via hash check
Installation
To install DowPy, Use pip:
$ pip install dowpy
Usage
url = "https://gph.to/2BTy5xU"
# To create a single thread download
dow1 = SingleDow(url)
# To create a multi threaded download with 3 parallel downloads
dow2 = MultiDow(url, 3)
# To start the download
dow1.start()
Documentation
The following properties can be set BEFORE the download has started:
prop |
type |
Desc |
|---|---|---|
.url |
string |
The direct url to the file to request |
.chunks |
int |
The # of parallel threads to download the file with (MultiDow only) |
.writeLocation |
string |
File location to download the file |
.fileName |
string |
Name of the downloaded file |
.hash |
string |
Known hash to test the file with |
The following properties return information about the download:
prop |
type |
Desc |
|---|---|---|
.status |
string |
Returns the current status of the download (initialized, downloading, complete) |
.sizeInBytes |
string |
Returns the size of the file in bytes |
.startTime |
string |
Start time of the download |
.endTime |
string |
End time of the download |
.elapsedTime |
String |
Total time of download |
Metadata
Release files for dowpy 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| DowPy-0.1.6.tar.gz | 3.5 kB | Without provenance | Details for DowPy-0.1.6.tar.gz |
Release files / DowPy-0.1.6.tar.gz
| Download URL | DowPy-0.1.6.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cded7d7e020b214512bed4bee65c903c9037fc352044bfe31c78fb3cee56e92b
|
|
BLAKE2b-256 checksum How to use checksums |
640ce9f598ca3b22be6dc803eee08906fba1f1e77237a448b967a7fbb1ee4555
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.2
|
Security for dowpy 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.