Skip to main content

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.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

google_utils-1.0.3-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file google-utils-1.0.3.tar.gz.

File metadata

  • Download URL: google-utils-1.0.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for google-utils-1.0.3.tar.gz
Algorithm Hash digest
SHA256 597ba40ec6919dc9448680f60df92ea53bc36d917ea4a6d919dad81e4c825990
MD5 b09aa84665a63094e8f3fdb5cdaaddbe
BLAKE2b-256 fb958c69dbc9299769d38432892e792508a186d5e86b4d7426f2a38f03d28d8b

See more details on using hashes here.

File details

Details for the file google_utils-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: google_utils-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for google_utils-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eac230d796a29e4677fce46559a05de24f4b2682d6dd2cd75e0c6ab3e587c96e
MD5 2c074906213d597760d490946a07baef
BLAKE2b-256 21486e1de35b037f27b88405e1f69124b6f2c14e81002e95a86c849ebf59debc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page