0-dependency CLI tool for reproducibly downloading random images.
Project description
# py-lorem-picsum 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 py-lorem-picsum
## Usage
- python lorem_picsum.py
–folder myimages –number 100 –seed 42
## 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
Hashes for lorempicsum-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 919b7bfc9bff7d5f75c72c041b462cc59fa844c76ac2595289e0e9ef5f84c246 |
|
MD5 | 097b1ab0e9052c67a9e0cfd1e9afa90e |
|
BLAKE2b-256 | b96a6fc25f1f11296392740abfb7f0ce83c11f62a97c6be0ff4ecda65955afe5 |