Skip to main content

Offline dictionary in the terminal

Project description

DictionarPy

Extensible offline dictionary application

Statistics regarding this version's included dictionary:

$ dictionarpy -ns
Words:               53184
Definitions:         118613
IPA Transcriptions:  29804
Disk size:           10.48MB
────────────────────────────────────────────
Parts of speech:
    conjuction  verb  phrase  interjection
     transitive/intransitive verb  nom
    masculin  pronoun  verbe  nom  nom
    féminin  plural noun  auxiliary verb
    determiner  adjective  adverb  noun
    abbreviation  conjunction  intransitive
    verb  abréviation  article  transitive
    verb  preposition  definite article
    idiom

Examples

  • Add a word/definition to the database

    $ dictionarpy -a -w "my new word" -p "my part of speech" -d "my definition!"
    
  • Add or update the phonetic/phonemic transcription of a word

    $ dictionarpy -a -w "my new word" -i "/mj nu wɝd/"
    
  • Show the definitions for a word (use -n to avoid ansi escape sequences)

    $ dictionarpy -n "my new word"                                                
    ┌──────────────────────┐
    │     my new word      │
    │     /mj nu wɝd/      │
    ├──────────────────────┤
    │ 1. my part of speech │
    │    my definition!    │
    └──────────────────────┘
    
  • Remove a word/definition from the database

    $ dictionarpy -r 1 "my new word"
    
  • Learn a random word!

    $ dictionarpy "$(dictionarpy -z)"
    
  • Run dpy -h for help and additional functions

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

dictionarpy-1.2.4.tar.gz (4.7 MB view details)

Uploaded Source

Built Distribution

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

dictionarpy-1.2.4-py3-none-any.whl (4.7 MB view details)

Uploaded Python 3

File details

Details for the file dictionarpy-1.2.4.tar.gz.

File metadata

  • Download URL: dictionarpy-1.2.4.tar.gz
  • Upload date:
  • Size: 4.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dictionarpy-1.2.4.tar.gz
Algorithm Hash digest
SHA256 93251781022d4c0bb154773010f9a3febc9f9e55aa52b012dda8a4baa9c60cf0
MD5 fb6256c49268c52fe3a0267b8a9cea61
BLAKE2b-256 b746471304c39f3a31d955e63b21dad60cc33541a823c1edf0178775607ea08f

See more details on using hashes here.

File details

Details for the file dictionarpy-1.2.4-py3-none-any.whl.

File metadata

  • Download URL: dictionarpy-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dictionarpy-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dad8c503ce1a82d658123b13e6ac9389d406c3d775aef1377a02b73e5b049970
MD5 030c335da588e89ba0fc0f91c11b3271
BLAKE2b-256 713494645ad354741d56907ae7f48830cc3dcd3924d4a31343c8c3a6cd433277

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