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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dictionarpy-1.1.3.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.1.3.tar.gz
Algorithm Hash digest
SHA256 f167848b42658da1c56a58a7a62bc3734a5f877400f8b0e54d058038b403b98e
MD5 81a792c09103b858bc7350ea5c1b6f7f
BLAKE2b-256 b38ad3f1081e2b70b3f077756f27d190c926d075768e6296838328e6c47f91d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dictionarpy-1.1.3-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.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 01352cec420b6e3ce67dd6a7d6b2f84600564844441c6a07d39b30fd3af890ed
MD5 6bb47441c4afdf271d0495af1a245d04
BLAKE2b-256 1f5a221489df83fce911b3be618788d2770ae7c8b67c320c2a87a37e22d63b04

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