istockphoto


Nameistockphoto JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/QIN2DIM/istock_downloader
SummaryGracefully download dataset from istockphoto
upload_time2023-09-28 03:12:36
maintainer
docs_urlNone
authorQIN2DIM
requires_python>=3.8,<4.0
licenseApache-2.0
keywords istockphoto downloader spider istock
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # iStockPhoto Downloader

Gracefully download datasets from istock-photo.

## Quickstart

1. **Download PyPI package**

   ```bash
   pip install -U istockphoto
   ```

2. **Examples**

   - Download images about `panda` phrase. 

   ```python
   import asyncio
   
   from istockphoto import Istock
   
   if __name__ == "__main__":
       istock = Istock.from_phrase("panda")
       asyncio.run(istock.mining())
   ```
   ![image](https://github.com/QIN2DIM/istockphoto/assets/62018067/d203bf76-613f-481f-9473-ef6794a78dba)


   - Similar mode
   
   ```python
   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())
   ```
   ![similar drawio](https://github.com/QIN2DIM/istockphoto/assets/62018067/60a76700-1ed5-44b4-8316-c1346e78d116)

   

## What's more

[Home ยท QIN2DIM/istockphoto Wiki (github.com)](https://github.com/QIN2DIM/istockphoto/wiki)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/QIN2DIM/istock_downloader",
    "name": "istockphoto",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "istockphoto,downloader,spider,istock",
    "author": "QIN2DIM",
    "author_email": "yaoqinse@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/e6/b5/fa4b66054be05f687e47e2cfc37dcc4f972bf38a3038b84d5a8571c6bf0c/istockphoto-0.1.2.tar.gz",
    "platform": null,
    "description": "# iStockPhoto Downloader\n\nGracefully download datasets from istock-photo.\n\n## Quickstart\n\n1. **Download PyPI package**\n\n   ```bash\n   pip install -U istockphoto\n   ```\n\n2. **Examples**\n\n   - Download images about `panda` phrase. \n\n   ```python\n   import asyncio\n   \n   from istockphoto import Istock\n   \n   if __name__ == \"__main__\":\n       istock = Istock.from_phrase(\"panda\")\n       asyncio.run(istock.mining())\n   ```\n   ![image](https://github.com/QIN2DIM/istockphoto/assets/62018067/d203bf76-613f-481f-9473-ef6794a78dba)\n\n\n   - Similar mode\n   \n   ```python\n   import asyncio\n   \n   from istockphoto import Istock\n   \n   # phrase, image_id\n   name2similar = [\n       (\"horse\", \"1280951754\"),\n       (\"panda\", \"91781059\"),\n       (\"cat\", \"1325997570\")\n   ]\n   \n   if __name__ == \"__main__\":\n       for name, similar in name2similar:\n           istock = Istock.from_phrase(name)\n           istock.more_like_this(similar)\n           asyncio.run(istock.mining())\n   ```\n   ![similar drawio](https://github.com/QIN2DIM/istockphoto/assets/62018067/60a76700-1ed5-44b4-8316-c1346e78d116)\n\n   \n\n## What's more\n\n[Home \u00b7 QIN2DIM/istockphoto Wiki (github.com)](https://github.com/QIN2DIM/istockphoto/wiki)\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Gracefully download dataset from istockphoto",
    "version": "0.1.2",
    "project_urls": {
        "Documentation": "https://github.com/QIN2DIM/istock_downloader",
        "Homepage": "https://github.com/QIN2DIM/istock_downloader",
        "Repository": "https://github.com/QIN2DIM/istock_downloader"
    },
    "split_keywords": [
        "istockphoto",
        "downloader",
        "spider",
        "istock"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4038521ef6764f7e43d6fc93effcfad642351bb9c2c5dd3ceb1fbfe0ef23d502",
                "md5": "3b99c3fc30d813881b9dae636f0a0140",
                "sha256": "10741f7e75c6ccfbd9a721c48e25f24fe3471a7c5d7781e768bde75e57008ae4"
            },
            "downloads": -1,
            "filename": "istockphoto-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3b99c3fc30d813881b9dae636f0a0140",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 8649,
            "upload_time": "2023-09-28T03:12:34",
            "upload_time_iso_8601": "2023-09-28T03:12:34.830479Z",
            "url": "https://files.pythonhosted.org/packages/40/38/521ef6764f7e43d6fc93effcfad642351bb9c2c5dd3ceb1fbfe0ef23d502/istockphoto-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e6b5fa4b66054be05f687e47e2cfc37dcc4f972bf38a3038b84d5a8571c6bf0c",
                "md5": "2243f8a97afb617f6b0d70463b3c6b17",
                "sha256": "c112a8610f66ed040137194ff1ae5b56b9cebdb30dd4df00246f19b39f583bd3"
            },
            "downloads": -1,
            "filename": "istockphoto-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "2243f8a97afb617f6b0d70463b3c6b17",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 8261,
            "upload_time": "2023-09-28T03:12:36",
            "upload_time_iso_8601": "2023-09-28T03:12:36.629227Z",
            "url": "https://files.pythonhosted.org/packages/e6/b5/fa4b66054be05f687e47e2cfc37dcc4f972bf38a3038b84d5a8571c6bf0c/istockphoto-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-28 03:12:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "QIN2DIM",
    "github_project": "istock_downloader",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "istockphoto"
}
        
Elapsed time: 1.09686s