#Define
Define is a terminal dictionary script that uses wordnik for definitions. Supports audio pronunciation
Example:
>$define love
>LOVE:
>A deep, tender, ineffable feeling of affection and solicitude toward >a person, such as that arising from kinship, recognition of >attractive qualities, or a sense of underlying oneness.
#INSTALLATION
Installing define is easy:
Using pip:
>$ sudo pip install define
On Arch:
>$ yaourt -S define
Manual Installation:
>$ sudo python setup.py install ~~You will need an api key from wordnik, get one from developer.wordnik.com and edit the “key” variable inside the script~~ API key is now included in the script
- Notes for Ubuntu 15.04 (may apply to other versions):
To enable pip you’ll need to add universe to your sources.
$ echo “deb http://archive.ubuntu.com/ubuntu/ vivid universe” | sudo tee -a “/etc/apt/sources.list”
$ sudo apt-get update
$ sudo apt-get install python-pip
To make use of audio feature if you install with pip. You’ll need to install the gstreamer pacakge.
$ sudo apt-get install gstreamer1.0-tools
Using Audio
Audio can be used in define with the -a or –audio flag.
$ define –audio love
LOVE:
A deep, tender, ineffable feeling of affection and solicitude toward a person, such as that arising from kinship, recognition of attractive qualities, or a sense of underlying oneness.
Would you like to hear audio pronunciation? [Y/N] n
FLAGS
Define has the following flags:
-h/–help - Display help and exit.
-a/–audio - Audio pronunciation of keyword.
-t/–thesaurus - Thesaurus results for keyword.
-u/–urban - Search Urban Dictionary for results instead of Wordnik.
-l/–local - Search keywords using local dict and dictd dictionary (NOTE: This currently only works with the gcide dictionary, no other dictionary will work at the moment)
Metadata
Release files for define 1.74
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| define-1.74.tar.gz | 6.9 kB | Without provenance | Details for define-1.74.tar.gz |
Release files / define-1.74.tar.gz
| Download URL | define-1.74.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f26d8264dbf72d50c1f939a0f618aa2abde9b7c8add0fdab0fbf3092dae9c666
|
|
BLAKE2b-256 checksum How to use checksums |
21a44ed79aa055494a32ee01723c47abf9af65d9241fdf2e06c9b2b191228c02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for define 1.74
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.