Skip to main content

Offline dictionary in the terminal

Project description

DictionarPy

Offline dictionary application

Statistics regarding this version's included dictionary:

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dictionarpy-1.1.2.tar.gz
Algorithm Hash digest
SHA256 45a97d34608ce1f9f3658968a4244898f816251db789b4f48fe7cad4a0b4f47c
MD5 693121faa2db9ea91d1789bfe34377d6
BLAKE2b-256 4ca62db47e09e8a55d4587934c719097c2ccd5c55594b357963249b19b0a3c2e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dictionarpy-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 25a01f2f490d63bb01acb3f31d6071001218730e9600c3e224c10da9c111fc9f
MD5 d4069d1d10a8d1b9778f7032a8e1e901
BLAKE2b-256 5a58a9f99fb0a73bfd4d91b51cec5abccd14461c6a721edcdd084ca433bbea24

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