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:               53224
Definitions:         118657
IPA Transcriptions:  29812
Disk size:           10.49MB
──────────────────────────────────────────
Parts of speech:
    nom  auxiliary verb  intransitive verb
     nom masculin  conjuction  transitive
    verb  plural noun  preposition  nom
    féminin  adjective  pronoun  verb
    conjunction  phrase  article
    transitive/intransitive verb  verbe
    noun  interjection  idiom
    abréviation  adverb  abbreviation
    determiner  definite article

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.5.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.5-py3-none-any.whl (4.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dictionarpy-1.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 8a8fea7a51cce57faf29cbd2a6d7994892609c7901ed7031861804ffa7252773
MD5 83ac90d0462a533aa73880f71f517740
BLAKE2b-256 e5fda98639a63de7957f599fc208c2518849ed0b270449e3e45c4f6d92bef384

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dictionarpy-1.2.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 892ffb9a53208b186eeb6132f79308975f57cd3fad5919bc60bda560c6a98bef
MD5 cfd7c48930ffdcaa312b0dcab59bdab1
BLAKE2b-256 fe67910d426bb1997119ea7ceb82ea6c918759a18fcbb716e9dac6a5eaeda8ed

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