by_get
by_get downloads all image files of a given text file of URLs and places them in the working directory.
Good URLs and the resulting image file names are written to STDOUT. Bad URLs and their error codes are written to STDERR. Images are saved to the working directory and named with the SHA256 hash of the (clean) source URL to avoid overwriting homonymous files from other URLs.
Redirects are handled transparently and non-image responses (e.g. HTML from domain parking servers) are filtered out. Existing connections are re-used where possible to reduce the overhead of connection negotiation when repeatedly requesting images from the same server.
Quick Start
Installing by_get
Download and install the current by_get package on your system by executing the following command as administrator:
pip3 install by_get
Previous versions will be uninstalled automatically. The installation can be tested with
by_get -h
If everything went fine you should see the program’s help text.
First Steps
A typical download is started by issuing the following command:
by_get my_urls.txt
where
Uninstalling by_get
To get rid of by_get simply execute the following command as administrator:
pip3 uninstall by_get
The Python utility pip3 will list all currently installed available versions for selective removal. Proceed similarly with any required packages (e.g. pytest) if you don’t need them anymore.
Metadata
Release files for by_get 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 | Provenance | |
|---|---|---|---|---|
| by_get-0.2.1.tar.gz | 150.0 kB | Without provenance | Details |
Release files / by_get-0.2.1.tar.gz
| Download URL | by_get-0.2.1.tar.gz |
|---|---|
| Size | 150.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a695ecabcb587416466b2815849782c9a35988d4e5c1b57717688a82f69d230
|
|
BLAKE2b-256 checksum How to use checksums |
1f1ce492919d2b07f437945ac33fb91d5c5f362a1dd0155cc0b722c4dc0aeacb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for by_get 0.2.1
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.