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.1.tar.gz
(16.7 kB
view hashes)
Built Distribution
Close
Hashes for istockphoto-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7050768509cbe4f69fa1947b94b9e6290cc42781049b16f585b66f88a335f7a |
|
MD5 | 0380dd05b9b7e57e9a093ea3c7642eac |
|
BLAKE2b-256 | 976b5004973471f870106ecc2cefc9680fe129ce916418f1039ac2653d7ea9b5 |