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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dictionarpy-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2098ad25abb2147147fb86f98cc2321ad2c44b7a34d157295445e42535f4d761
MD5 c284b6970529df188c8f27fb891c6a68
BLAKE2b-256 9e65788ee00c0d3742487ac06536df646fae19e821a81b326e157d05fecc999d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dictionarpy-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dbd1155b010a251a395fcc8db97d0c5494bec84488ba94b6934d5cfe719c3a9e
MD5 eacdf818f4c167512b896880f74c8184
BLAKE2b-256 7856f41ce2b763b0d4a630ff330646cd9721dbaffd44a34a3062f9701bebe78f

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