0-dependency CLI tool for reproducibly downloading random images.
Project description
# py-lorem-picsum [picsum.photos](https://picsum.photos) is a brilliant API written by David Marby & Nijiko Yonskai. This library/tool is a little helper for downloading images in a easy and experimentally reproducable way from their API.
I would use this in image labeling ML tasks to ensure that my model can adequately detects non-relevant data.
## Installation Assuming you have Python3 installed, simply use the package manager [pip](https://pip.pypa.io/en/stable/) to install py-lorem-picsum.
pip install lorempicsum
## Usage
- python -m lorempicsum
–folder myimages –number 100 –seed 42 –size 300
## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## Tests
Run via unittest module:
python -m unittest
## License [MIT](https://choosealicense.com/licenses/mit/)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lorempicsum-0.0.11.tar.gz.
File metadata
- Download URL: lorempicsum-0.0.11.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8368cfa73c263a55b90072e96c83aa719bb8d73911808efd9097e90d3b701ba9
|
|
| MD5 |
8df2aad4105c31a30056912ea0e1c446
|
|
| BLAKE2b-256 |
ff45a1a124ab8df7296074d9d67be993b475f1f21d6781c475b905c70bca24ce
|
File details
Details for the file lorempicsum-0.0.11-py3-none-any.whl.
File metadata
- Download URL: lorempicsum-0.0.11-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe75db3fd594b79c1b4bb1ae7e9e0260a5e398d0eedc6e6d6bf990deb1c7224e
|
|
| MD5 |
b5fd221db678de2a89d8ed7663ab89eb
|
|
| BLAKE2b-256 |
d6334599ee526901d03c6817715ba869d096c0f9cf03576018b0d7cbdb8ee72e
|