easygooglesearch.py
This tiny module allows access to some Google Search features which may not be easily accessible using the official Google APIs. Only the beautifulsoup4 and requests modules are required. Please note that Google may change how the Google Search websites work at any moment, or even ban those who are overusing/abusing their features, which this module will happily allow one to do. Use this module carefully at your own risk.
Documentation
Google Search
easygooglesearch.get_autocomplete_entry(query : str)
returns a list of strings, or None Takes a query and returns Google's autocompletes.
Google Images
easygooglesearch.reverse_gimage(imagelink : str)
returns string Takes the link to an image and returns what Google thinks the image is.
easygooglesearch.reverse_gimage_link(imagelink : str)
returns string Takes the link to an image and returns a link to a Google Search of that image.
Exceptions
easygooglesearch.Error(Exception)
This is the base class for exceptions in the easygooglesearch module.
easygooglesearch.NetworkError(Error)
This exception is raised when the data easygooglesearch is trying to access on the Internet can't be reached.
easygooglesearch.DecodeError(Error)
This exception is raised when easygooglesearch doesn't understand the data it got from the Internet. This may indicate that Google has blocked or ratelimited due to overuse/abuse. This can sometimes be fixed by accessing a Google webpage, upon which Google will try to see if you're a robot, and you can lie through your teeth. This error could also indicate that the webpage structure has changed and the module doesn't know what to do. If updating easygooglesearch doesn't fix this problem, see if there is an issue is open, and if not, submit your own.
Metadata
Release files for easygooglesearch 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| easygooglesearch-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for easygooglesearch-0.1.0-py3-none-any.whl |
Release files / easygooglesearch-0.1.0-py3-none-any.whl
| Download URL | easygooglesearch-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ee813981a5e5ce31b91dc763e85a9388c01ec693537893fd7abb4c5faa4c7c6
|
|
BLAKE2b-256 checksum How to use checksums |
c7d24cce91ff9836c6f366c9181628c1c4a0ba0752105a60aa4628f053281a59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Security for easygooglesearch 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.