A utility package to interact with google.com
Project description
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}")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
google-utils-1.0.1.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for google_utils-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ba1786271e2bf74cdc3d74ff45f06f972ecc632b569f3dd550a755625f4328c |
|
MD5 | 12e0fc0558799ecf7b0c73cb3945d8ae |
|
BLAKE2b-256 | 081df159df9a58585b0d932a4c929dabadaebf084caeaa28b595a6713b66a785 |