Skip to main content

A textual user interface to google.com

Project description

google-tui

A textual user interface for google.com

Prerequisites (❗Read carefully❗)

Firstly, you'll need to install the package

pip install google-tui

Secondly, you'll need to get google search api key(s)

  1. Go to developers.google.com/custom-search/v1/overview
  2. Scroll down
  3. Click the big blue Get a key button (screenshot])
  4. Make a app if you haven't already, the name doesn't matter
  5. Click the NEXT button
  6. You'll get an api key

You can do the above process as many times as you want. Each api key has a 100 request limit per day, which is plenty for normal use but if you ever run out of uses you can just create more api keys

Thirdly, you'll need to provide the token(s) to the package. You can use a environment variable named GOOGLE_API_KEY or you can pass the token(s) directly with the --token/-t flag. The environment variable/flag value should be comma separated without spaces (e.g. a,b,c) for multiple tokens or just a singe token (a).

Then you can go in a terminal and run

google-tui

And that should work, otherwise try

python -m google_tui

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-tui-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

google_tui-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file google-tui-0.1.0.tar.gz.

File metadata

  • Download URL: google-tui-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for google-tui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f035b37e86acb7aadb3f7ca72ab102286c724182e52ad124cc60f58c58f6fcc7
MD5 462120a38f81c08fc014ae71c150748f
BLAKE2b-256 d121b581feab46bbc88c31def5537fe945bf65c16d5e7974b60cc3cb5415102b

See more details on using hashes here.

File details

Details for the file google_tui-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: google_tui-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for google_tui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15f155c3cd1837b60ab34ae790a3d92281acf277ce677fa15fbc0dad6f591ddc
MD5 ed70445267e1af874ed31d64f297255b
BLAKE2b-256 7d6510422baeb58bfff6f8564b2f698b7ff19c5a450bac8f6d68f8eb173e2e81

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