Skip to main content

a command line dictionary and wrapper for various dictionary APIs

Project description

urb

urb is a dank cli dictionary to quickly search up definitions from Urban Dictionary and Google

It is primarily supposed to be used from the terminal, and can also be used as a python module to use the Urban Dictionary and Google dictionay APIs and much more

The CLI offers a lot of fun amusing commands to fulfill your vocabulary needs from the convinience of the terminal.

These are the commands at your disposal

  • define

    Pulls up the definition for a word. the word to be searched is given as an argument to this command. Urb searches words on urban dicitonary by default (The -g or --google option can be used to search using google instead)

    example - urb define hello

    options -

    • -g | --google

      Define words form google instead of urban dictionary. This option takes no arguments. (defaults to false)

      usage -
      urb define -g hello
      urb define --google hello

    • -i | --index

      Specify the result to display out of multiple definitions fetched from the resources. There can be multiple definitions for a single word, use this option to choose which definition gets displayed. This option takes a number as an argument.

      usage -
      urb define -i 3 hello
      urb define --index 3 hello

  • random

    Get's the definition of a random word. This commands takes no arguments and has no options.

    example - urb random

  • spell

    use this commands to verify if a spelling is correct. urb offers corrections is a spelling is wrong. This commands takes a word as an argument and has no options.

    example - urb spell convinience

  • wotd

    Get a word of the day.

    example - urb wotd

    options -

    • -i | --index

      Specify the result to display out of multiple definitions fetched from the resource. There can be multiple multiple words of the day, use this option to choose which definition gets displayed. This option takes a number as an argument.

      usage -
      urb wotd -i 3
      urb wotd --index 3

  • quote

    fetch a random quote

    example - urb quote

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

urb-1.1.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

urb-1.1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file urb-1.1.0.tar.gz.

File metadata

  • Download URL: urb-1.1.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5

File hashes

Hashes for urb-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ef3caac088c567b6388ffba05e3e153fb97ff778052ffc1f5f9950093d999a2e
MD5 4e0451f10dd4d15a3183defa66cd8461
BLAKE2b-256 80184eb2fd7d0b8e011a2db9ef91e3c1a04b0f1d58ae57c49eba902ed012581f

See more details on using hashes here.

File details

Details for the file urb-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: urb-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5

File hashes

Hashes for urb-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 614d2d288434d3c10455cc03c5ee4207b5c6b817e2041d46ab3bc8bf75b890a7
MD5 50c90d88278a6953f01ec0041ec6a54e
BLAKE2b-256 1fa998821e4d0e205efa1f73e0939bbf76bff46e442d08a61f05cd6dae8c1ca8

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