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.
Installation
pip install urb
commands
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
urb define hello
-
fetch search results from Google dictionary instead \
urb define -g hello urb define --google hello
-
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.
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.
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.
urb spell convinience
wotd
Get a word of the day.
urb wotd
-
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.
urb wotd -i 3 urb wotd --index 3
quote
fetch a random quote
urb quote
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file urb-1.2.3.tar.gz
.
File metadata
- Download URL: urb-1.2.3.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc514be16632a36cad2b4d0a280c5d821b113bc291969469d7aecfe3b88336bb |
|
MD5 | 0a10986f0489934602d898ef04207730 |
|
BLAKE2b-256 | 2db3e43b52aff34ae524e104fc8386198f51d547a880fb39caeb4ba1ff74e950 |
File details
Details for the file urb-1.2.3-py3-none-any.whl
.
File metadata
- Download URL: urb-1.2.3-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63a36312cedf6d4df3f1291a0a56b12920e052bdb6ac174fb1d68702df3b194b |
|
MD5 | fabee1d05bdda2012952b3dde8e00c35 |
|
BLAKE2b-256 | d703715a2c3602d8f0278e0bd303bcf02cf8be6b3b16cbedccc5b124fed40335 |