Name | IconProwl JSON |
Version |
1.1.1
JSON |
| download |
home_page | |
Summary | IconProwl : An unofficial API for scraping images off IconFinder.com for web development. |
upload_time | 2023-12-07 16:27:41 |
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">IconProwl : 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://i.imgur.com/959PpxZ.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 IconProwl import IconProwl # Import the class from the package
find_icon=IconProwl.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=IconProwl.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=IconProwl.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=IconProwl.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=IconProwl.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 IconProwl import IconProwl # Import the 3D class
find_icon=IconProwl.IconFinder3D("mail")
#All functions are the same as for the IconFinder Class.....
```
<p align="center">Examples : </p>
<div align="center">
<img src="https://imgur.com/bOkhMVB.jpeg" >
</div>
<div align="center">
<img src="https://i.imgur.com/7zbXCS7.png" height="130" width="300">
<p align="center">Made with Python and BeautifulSoup</p>
</div>
Raw data
{
"_id": null,
"home_page": "",
"name": "IconProwl",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "conversion",
"author": "Vishal",
"author_email": "vishalvenkat2604@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/2f/ed/9651077dd8bc1b52621de48a5f8071f118215dfdb8520999f1c34e88fdd3/IconProwl-1.1.1.tar.gz",
"platform": null,
"description": "\n\n<p align=\"center\">IconProwl : 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://i.imgur.com/959PpxZ.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 IconProwl import IconProwl # Import the class from the package\nfind_icon=IconProwl.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=IconProwl.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=IconProwl.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=IconProwl.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=IconProwl.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 IconProwl import IconProwl # Import the 3D class\nfind_icon=IconProwl.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=\"https://imgur.com/bOkhMVB.jpeg\" >\n</div>\n\n<div align=\"center\">\n<img src=\"https://i.imgur.com/7zbXCS7.png\" height=\"130\" width=\"300\">\n <p align=\"center\">Made with Python and BeautifulSoup</p>\n</div>\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "IconProwl : An unofficial API for scraping images off IconFinder.com for web development.",
"version": "1.1.1",
"project_urls": null,
"split_keywords": [
"conversion"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2fed9651077dd8bc1b52621de48a5f8071f118215dfdb8520999f1c34e88fdd3",
"md5": "864c90530084aa9624b8e66961327180",
"sha256": "2ffcb4da267f7676910dfe087ec1f5681a8c0fca2f7e2a70601adfb9ab1f3a63"
},
"downloads": -1,
"filename": "IconProwl-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "864c90530084aa9624b8e66961327180",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2806,
"upload_time": "2023-12-07T16:27:41",
"upload_time_iso_8601": "2023-12-07T16:27:41.042404Z",
"url": "https://files.pythonhosted.org/packages/2f/ed/9651077dd8bc1b52621de48a5f8071f118215dfdb8520999f1c34e88fdd3/IconProwl-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-07 16:27:41",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "iconprowl"
}