Pydict
Pydict is a simple command line dictionary, it lets you search the meanings of the word on the terminal. It refers to the online dictionary http://www.thefreedictionary.com It also pronouces the keywords.
Requirements
It requires a command line mp3 player - mpg123. To install it use the following command: $ sudo apt-get install mpg123
Usage
To search for a keyword:
>>> import pydict
>>> pydict.search('awesome', 2, 'uk')
It will search for the word ‘awesome’ and pronouce it 2 times and in ‘uk’ style. It will display the result of meaning of ‘awesome’. If a keyword is not found in the dictionary it reports error.
To just pronouce the word:
>>> import pydict
>>> pydict.speak('awesome', 2, 'us')
If pronouciation does not exist it reports error. It has three styles ‘normal’, ‘us’ and ‘uk’.
From command line:
$ pydict -q ‘awesome’ -s uk -p 2
options: -q –query: keyword -s –style: normal, US or UK -p –pronounce: repeat pronounciation -m –meaning: display search or not. (0 or 1)
Metadata
Release files for pydict 0.2
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 | |
|---|---|---|---|---|
| pydict-0.2.tar.gz | 3.7 kB | Without provenance | Details |
Release files / pydict-0.2.tar.gz
| Download URL | pydict-0.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85fa735ff254d5fbb00eb7102b7387137f6aa323ce494a7bb1071f9e86f5f7ad
|
|
BLAKE2b-256 checksum How to use checksums |
42cd9ae1f36cbd004e435f18422963883f37e2c8d8782da1f80e4da10c74141b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pydict 0.2
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.