Name | IconHound JSON |
Version |
0.0.5
JSON |
| download |
home_page | |
Summary | WebIconFinder : An unofficial API for scraping images off IconFinder.com for web development. |
upload_time | 2023-11-29 03:02:19 |
maintainer | |
docs_url | None |
author | Vishal |
requires_python | |
license | MIT |
keywords |
conversion
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<p align="center">WebIconFinder : An unofficial API for scraping images off <a href="https://www.iconfinder.com/" target="_blank">IconFinder</a> for web development.</p>
<div align="center">
<img src="https://uploads-ssl.webflow.com/5d9ba0eb5f6edb77992a99d0/5e1ef88d24ceb82897e14ec0_182503-512%20(1).png" style="border:1px solid white;" height="100" width="100">
</div>
## Initiate the Class
```python
#To scrape for normal icons , create an instance of the class IconFinder with the name of the image to search , for example :
from WebIconFinder import IconFinder # Import the class from the package
find_icon=IconFinder("mail")
```
### 1 : Scrape web links of images
```python
#To scrape for links of images , call the images() function from the initialized class , for example :
find_icon=IconFinder("mail")
find_icon.images()
```
### 2 : Get Links to download and edit images
```python
#To scrape for links of images to download locally , call the get_links() function from the initialized class , for example :
find_icon=IconFinder("mail")
find_icon.get_links()
```
### 3: Show/Display a particular Icon
```python
#To display an Icon , call the show_image(image_number:int) function from the initialized class , for example :
find_icon=IconFinder("mail")
find_icon.show_image(2) # Shows the second image from all scraped images
```
### 4 : Download an icon
```python
#To download an icon locally , call the save_image(path:str,image_number:int) function from the initialized class , for example :
find_icon=IconFinder("mail")
find_icon.save_image("/Users/myname/Desktop/x.jpeg",6) # Saves the 6th image in the Desktop as x.jpeg
```
<h2 align="center">There is also a class for 3D images.</h2>
<p></p>
```python
#To scrape for links of images , call the images() function from the initialized class , for example :
from WebIconFinder import IconFinder3D # Import the 3D class
find_icon=IconFinder3D("mail")
#All functions are the same as for the IconFinder Class.....
```
<p align="center">Examples : </p>
<div align="center">
<img src="examples.png" >
</div>
<div align="center">
<img src="bs4.png" height="130" width="300">
<p align="center">Made with Python and BeautifulSoup</p>
</div>
Raw data
{
"_id": null,
"home_page": "",
"name": "IconHound",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "conversion",
"author": "Vishal",
"author_email": "vishalvenkat2604@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/79/98/4a540c37465d2fb28ea89b5726adb549ae59f7388faf0a6f1f82ba673fbd/IconHound-0.0.5.tar.gz",
"platform": null,
"description": "\n\n<p align=\"center\">WebIconFinder : An unofficial API for scraping images off <a href=\"https://www.iconfinder.com/\" target=\"_blank\">IconFinder</a> for web development.</p>\n<div align=\"center\">\n<img src=\"https://uploads-ssl.webflow.com/5d9ba0eb5f6edb77992a99d0/5e1ef88d24ceb82897e14ec0_182503-512%20(1).png\" style=\"border:1px solid white;\" height=\"100\" width=\"100\">\n</div>\n\n\n\n## Initiate the Class \n\n```python\n\n#To scrape for normal icons , create an instance of the class IconFinder with the name of the image to search , for example :\n\nfrom WebIconFinder import IconFinder # Import the class from the package\nfind_icon=IconFinder(\"mail\")\n```\n\n### 1 : Scrape web links of images\n\n```python\n\n#To scrape for links of images , call the images() function from the initialized class , for example : \n\nfind_icon=IconFinder(\"mail\")\nfind_icon.images()\n```\n\n### 2 : Get Links to download and edit images\n\n```python\n\n#To scrape for links of images to download locally , call the get_links() function from the initialized class , for example : \n\nfind_icon=IconFinder(\"mail\")\nfind_icon.get_links()\n```\n\n### 3: Show/Display a particular Icon\n\n```python\n\n#To display an Icon , call the show_image(image_number:int) function from the initialized class , for example : \n\nfind_icon=IconFinder(\"mail\")\nfind_icon.show_image(2) # Shows the second image from all scraped images\n```\n\n### 4 : Download an icon\n\n```python\n\n#To download an icon locally , call the save_image(path:str,image_number:int) function from the initialized class , for example : \n\nfind_icon=IconFinder(\"mail\")\nfind_icon.save_image(\"/Users/myname/Desktop/x.jpeg\",6) # Saves the 6th image in the Desktop as x.jpeg\n```\n\n<h2 align=\"center\">There is also a class for 3D images.</h2>\n<p></p>\n\n```python\n\n#To scrape for links of images , call the images() function from the initialized class , for example : \n\nfrom WebIconFinder import IconFinder3D # Import the 3D class\nfind_icon=IconFinder3D(\"mail\")\n#All functions are the same as for the IconFinder Class.....\n\n```\n\n<p align=\"center\">Examples : </p>\n\n<div align=\"center\">\n<img src=\"examples.png\" >\n</div>\n\n<div align=\"center\">\n<img src=\"bs4.png\" height=\"130\" width=\"300\">\n <p align=\"center\">Made with Python and BeautifulSoup</p>\n</div>\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "WebIconFinder : An unofficial API for scraping images off IconFinder.com for web development.",
"version": "0.0.5",
"project_urls": null,
"split_keywords": [
"conversion"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "79984a540c37465d2fb28ea89b5726adb549ae59f7388faf0a6f1f82ba673fbd",
"md5": "268184ece8dd85deb445be5996fab44d",
"sha256": "e3ba16c9e08c86db64f2148d8e403a595f9cf06d9bdb2a81fc9f04edc50c6c9c"
},
"downloads": -1,
"filename": "IconHound-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "268184ece8dd85deb445be5996fab44d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2258,
"upload_time": "2023-11-29T03:02:19",
"upload_time_iso_8601": "2023-11-29T03:02:19.593452Z",
"url": "https://files.pythonhosted.org/packages/79/98/4a540c37465d2fb28ea89b5726adb549ae59f7388faf0a6f1f82ba673fbd/IconHound-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-29 03:02:19",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "iconhound"
}