Skip to main content

An English dictionary wrapper with voice-pronunciation enabled

Project description

DictionaryIO

DictionaryIO is an English Dictionary wrapper with voice-pronunciation.

Installation

Use the package manager pip to install dictionaryio.

pip install dictionaryio

Usage

from dictionaryio import DictionaryIO

word = DictionaryIO('happy') # replace `happy` with any word of your choice
word.wordie # returns a string of the word. eg: 'happy'

#GET MEANING:
word.meaning() # returns the meaning of the word

#GET VOICE PRONUNCIATION:
word.pronounce() # plays pronounciation of the word - requires exit with CTRL + C

#GET EXAMPLE:
word.example() # returns a string making an example of the word

#OTHERS:
word.synonyms() # returns a list of synonyms for the word
word.figure_of_speech() # returns the figure of speech for the word
word.phonetics() # returns the phonetics of the word

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

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

dictionaryio-0.0.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

dictionaryio-0.0.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file dictionaryio-0.0.2.tar.gz.

File metadata

  • Download URL: dictionaryio-0.0.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3

File hashes

Hashes for dictionaryio-0.0.2.tar.gz
Algorithm Hash digest
SHA256 91fade74bc71052cc94be1c2967082f0228c4fc89a3bf0722cfe6ec4bfe11092
MD5 929866767cc3c95a17fb2087e9734a21
BLAKE2b-256 870ee5e617bfe436987edfdbb39d1ea9021b1e38c4c78cf3db125d44decbde28

See more details on using hashes here.

File details

Details for the file dictionaryio-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: dictionaryio-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3

File hashes

Hashes for dictionaryio-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ea1134b1681262bff47faf2fdb0b17f82f8d9e4c0581d23377c110f10866b37
MD5 c0052ba5bcb638088488d3f51ca4823c
BLAKE2b-256 0950fdc83cd186bd65b7ad7832b50f07158c869e0da8620f7f5f8998b93efd07

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