Skip to main content

what should i eat?

Project description

welp

welp is a CLI Yelp! client

Features

  • Utilizes the Yelp! fusion API to search Yelp without visiting the web UI. Great for devs who want to look busy but are already thinking about lunch!
  • Curses menus for interactive CLI menus
  • Vim bindings for navigating menus without the keyboard
  • Scroll compatible on Termux and other mobile touch screen shell clients
  • Emojis for easily scannable food option results

Installation

Install using pip.

pip install welp

Usage

You will need a Yelp Fusion API key in order to use this application because this is my side project and im not going to fork over an api key for it. they key is free and is more than enough for personal queries or even dev on this project.

Once you have it, export it to your environment. Stick it into your bashrc to persist it.

export YELP_API_KEY=<key>

If you'd like to use Google Geolocation API for automated geolocated results, provide the environment with the Google Geolocation API Key also:

export GOOGLE_API_KEY=<key>

Both of these keys are basically free for to use individually. The Google API will require a form of payment, but has a free credit program.

Hotkeys

welp has general vim shotcuts.

  • j scrolls one selection down
  • k scrolls one selection up
  • h scrolls one page back
  • l scrolls one page forward
  • q quits or goes back to previous page
  • return opens detailed business information

Development

To build this project, use venv and python3.

Install dependencies using pip install -r requirements.txt and place keys in .env of the project root.

Start venv using the following is your venv is named "venv"

source env/bin/activate && set -a; source .env; set +a

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

welp-0.0.5.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

welp-0.0.5-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file welp-0.0.5.tar.gz.

File metadata

  • Download URL: welp-0.0.5.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.2

File hashes

Hashes for welp-0.0.5.tar.gz
Algorithm Hash digest
SHA256 1659f1556c748e27e2b89c4b7e44388d49dd0384468ba99a1f8a94a328fbc47f
MD5 a937342d3261e688bc3a0ab04d369a0a
BLAKE2b-256 abbb50b215a7b7df7bfec377cd459bf790a395849d9dea78465447cda6522262

See more details on using hashes here.

File details

Details for the file welp-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: welp-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.2

File hashes

Hashes for welp-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 078b682c97ee530f60407bd74b58ba2803253db98c61d931834fa77d1f32b85f
MD5 c1855ab9a5d531d52f46e4b7b76652f9
BLAKE2b-256 a955f4aab66aad953b476407b7368d4d5d7e37c779b831edd050d1a6fdb70d6a

See more details on using hashes here.

Supported by

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