Gracefully download dataset from istockphoto
Project description
iStockPhoto Downloader
Introduction
Gracefully download dataset from iStockPhoto.
Quickstart
-
Download PyPI package
pip install -U istockphoto
-
Examples
- Download images about
panda
phrase.
import asyncio from istockphoto import Istock if __name__ == "__main__": istock = Istock.from_phrase("panda") asyncio.run(istock.mining())
- Similar mode
import asyncio from istockphoto import Istock # phrase, image_id name2similar = [ ("horse", "1280951754"), ("panda", "91781059"), ("cat", "1325997570") ] if __name__ == "__main__": for name, similar in name2similar: istock = Istock.from_phrase(name) istock.more_like_this(similar) asyncio.run(istock.mining())
- Download images about
What's more
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
istockphoto-0.1.0.tar.gz
(16.7 kB
view details)
Built Distribution
File details
Details for the file istockphoto-0.1.0.tar.gz
.
File metadata
- Download URL: istockphoto-0.1.0.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.0 CPython/3.10.11 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18ac23a1e3fe708563843b88eee439c61f7b2bca8b94b60617d7c0a0d26b915d |
|
MD5 | 15a81635009cdb72c28e617ff2b39ece |
|
BLAKE2b-256 | 2609351a146b05bd6192ebb946da85ada76e2373a261ea2a79dc144d76771d99 |
File details
Details for the file istockphoto-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: istockphoto-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.0 CPython/3.10.11 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 420b8602f43c0e9b61fd2d00b25a623ad47ad7977eacef3e581d7782ea03d0bf |
|
MD5 | 20d3833d8471fd488ccf91c8ac8fd75c |
|
BLAKE2b-256 | 3644b0f5b30f086786fece35f927a87ef8a5b1a7eb7e139c8afef2bb82a99f8c |