Gracefully download dataset from istockphoto
Project description
iStockPhoto Downloader
Gracefully download datasets from istock-photo.
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.2.tar.gz
(8.3 kB
view details)
Built Distribution
File details
Details for the file istockphoto-0.1.2.tar.gz
.
File metadata
- Download URL: istockphoto-0.1.2.tar.gz
- Upload date:
- Size: 8.3 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 | c112a8610f66ed040137194ff1ae5b56b9cebdb30dd4df00246f19b39f583bd3 |
|
MD5 | 2243f8a97afb617f6b0d70463b3c6b17 |
|
BLAKE2b-256 | e6b5fa4b66054be05f687e47e2cfc37dcc4f972bf38a3038b84d5a8571c6bf0c |
File details
Details for the file istockphoto-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: istockphoto-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.6 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 | 10741f7e75c6ccfbd9a721c48e25f24fe3471a7c5d7781e768bde75e57008ae4 |
|
MD5 | 3b99c3fc30d813881b9dae636f0a0140 |
|
BLAKE2b-256 | 4038521ef6764f7e43d6fc93effcfad642351bb9c2c5dd3ceb1fbfe0ef23d502 |