google-utils

A utility package to interact with google.com


License
GPL-3.0
Install
pip install google-utils==1.0.3

Documentation

google-utils

Use google from the convenience of a python script!

Installation

Install from pip:

pip install google-utils

Usage

Fetching links:

from google_utils import Google

results = Google.search("Minecraft")
for result in results:
    print(result.link)

Calculator:

from google_utils import Google

response = Google.calculate("64 to the power of six")
print(f"{response.question}\n{response.answer}")

Weather checking:

from google_utils import Google

response = Google.weather("san francisco in celcius")
print(f"{response.weather} {response.temperature}")

Definition:

from google_utils import Google

response = Google.define("splendid")
print(f"{response.phrase}, {response.type}\n{response.pronunciation}\n{response.meaning}")