Name | yamager JSON |
Version |
1.1.1
JSON |
| download |
home_page | https://github.com/DedInc/yamager |
Summary | Yamager - Simple module for parsing images from Yandex and Google. |
upload_time | 2023-03-28 06:49:21 |
maintainer | |
docs_url | None |
author | Maehdakvan |
requires_python | >=3.6 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<h1 align="center">Yamager - Simple module for parsing images from Yandex and Google.</h1>
<br>
<h1 align="center"> -How to use?- </h1>
```python
from yamager import Yamager
import random
yamager = Yamager()
############Yandex Images############
images = yamager.search_yandex_images('anime') #get image previews
previews = random.choice(images) #get previews of random image
print(yamager.get_best_image(previews)) #get best image of previews with high resolution
#####################################
############Yandex Images with ZenRows bypasser############
images = yamager.search_yandex_images('anime', zenrows='API_KEY')
previews = random.choice(images)
print(yamager.get_best_image(previews))
#####################################
############Yandex Images pages############
images = yamager.search_yandex_images('anime', page=30)
previews = random.choice(images)
print(yamager.get_best_image(previews))
#####################################
############Google Images############
images = yamager.search_google_images('anime')
print(random.choice(images)) #get random image from search
#####################################
```
Raw data
{
"_id": null,
"home_page": "https://github.com/DedInc/yamager",
"name": "yamager",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Maehdakvan",
"author_email": "visitanimation@google.com",
"download_url": "https://files.pythonhosted.org/packages/f4/d7/7dad433bbf11619fe342bc31450e1c83dd05169265b3c58c920300350890/yamager-1.1.1.tar.gz",
"platform": null,
"description": "<h1 align=\"center\">Yamager - Simple module for parsing images from Yandex and Google.</h1>\r\n\r\n<br>\r\n\r\n<h1 align=\"center\"> -How to use?- </h1>\r\n\r\n```python\r\nfrom yamager import Yamager\r\nimport random\r\n\r\nyamager = Yamager()\r\n\r\n############Yandex Images############\r\nimages = yamager.search_yandex_images('anime') #get image previews\r\npreviews = random.choice(images) #get previews of random image\r\nprint(yamager.get_best_image(previews)) #get best image of previews with high resolution\r\n#####################################\r\n\r\n############Yandex Images with ZenRows bypasser############\r\nimages = yamager.search_yandex_images('anime', zenrows='API_KEY')\r\npreviews = random.choice(images)\r\nprint(yamager.get_best_image(previews))\r\n#####################################\r\n\r\n############Yandex Images pages############\r\nimages = yamager.search_yandex_images('anime', page=30)\r\npreviews = random.choice(images)\r\nprint(yamager.get_best_image(previews))\r\n#####################################\r\n\r\n############Google Images############\r\nimages = yamager.search_google_images('anime')\r\nprint(random.choice(images)) #get random image from search\r\n#####################################\r\n```\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Yamager - Simple module for parsing images from Yandex and Google.",
"version": "1.1.1",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dbab0c80a9beaed3f05604dfcd32a828faab3fc44e03fc917134b9b66c77ea07",
"md5": "d188325d7d297ba16a13583082c89df4",
"sha256": "7ccce9c716e18cf1228499c72a8e7a6fd1ac10cdaa7ba63fc917647253dae8a2"
},
"downloads": -1,
"filename": "yamager-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d188325d7d297ba16a13583082c89df4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 3716,
"upload_time": "2023-03-28T06:49:18",
"upload_time_iso_8601": "2023-03-28T06:49:18.609045Z",
"url": "https://files.pythonhosted.org/packages/db/ab/0c80a9beaed3f05604dfcd32a828faab3fc44e03fc917134b9b66c77ea07/yamager-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f4d77dad433bbf11619fe342bc31450e1c83dd05169265b3c58c920300350890",
"md5": "9ef9d5e9f6a17d1d3335b6ed6b322856",
"sha256": "5b3f2f5fa14fe9451ddf212d281e94fc6951fb0f6ac1bfdc1cd15066c94aa56b"
},
"downloads": -1,
"filename": "yamager-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "9ef9d5e9f6a17d1d3335b6ed6b322856",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3501,
"upload_time": "2023-03-28T06:49:21",
"upload_time_iso_8601": "2023-03-28T06:49:21.306245Z",
"url": "https://files.pythonhosted.org/packages/f4/d7/7dad433bbf11619fe342bc31450e1c83dd05169265b3c58c920300350890/yamager-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-28 06:49:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "DedInc",
"github_project": "yamager",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "yamager"
}