Skip to main content

Gracefully download dataset from istockphoto

Project description

iStockPhoto Downloader

Introduction

Gracefully download dataset from iStockPhoto.

Quickstart

  1. Download PyPI package

    pip install -U istockphoto
    
  2. 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())
    

What's more

Home · QIN2DIM/istockphoto Wiki (github.com)

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 details)

Uploaded Source

Built Distribution

istockphoto-0.1.1-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file istockphoto-0.1.1.tar.gz.

File metadata

  • Download URL: istockphoto-0.1.1.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

Hashes for istockphoto-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e5fbaae7908c5ab709de2bce978f0afce8f2df84b37be86d179bdea69cc8ecd6
MD5 c6f49aad1dc4303bfab4c69db6df8241
BLAKE2b-256 04d8aa3ff1af28b6d4ad16e51f75d728f99827c06630d0065cb961646828a249

See more details on using hashes here.

File details

Details for the file istockphoto-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: istockphoto-0.1.1-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

Hashes for istockphoto-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d7050768509cbe4f69fa1947b94b9e6290cc42781049b16f585b66f88a335f7a
MD5 0380dd05b9b7e57e9a093ea3c7642eac
BLAKE2b-256 976b5004973471f870106ecc2cefc9680fe129ce916418f1039ac2653d7ea9b5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page