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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for google_utils-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 673528967a0d434066f294fa616de7f8c61e749485d54e61046b83e1e6a0ebf3 |
|
MD5 | eb45b2c944fbf00d5c1570bbdf485e01 |
|
BLAKE2b-256 | d31fb723cdc9ee7e78ce1946dc873e2e1dd5278cd3648e84a4ffd6a82dac8824 |