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:               53081
Definitions:         118456
IPA Transcriptions:  29742
Disk size:           10.45MB
───────────────────────────────────────────────────────
Parts of speech:
    adjective  intransitive verb  nom masculin  noun
    article  transitive/intransitive verb  phrase
    definite article  adverb  idiom  auxiliary verb
    pronoun  abbreviation  conjunction  verb
    conjuction  preposition  transitive verb  nom
    féminin  determiner  nom  plural noun
    interjection  abréviation  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.0.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.0.1-py3-none-any.whl (4.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dictionarpy-1.0.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.0.1.tar.gz
Algorithm Hash digest
SHA256 1fb70854539b1c58addbc64716f977c0b1b7512acfe87887f5b0bbdf7e55407d
MD5 d6a3c3ec5c2809d7ad389b336ce556fd
BLAKE2b-256 9d1532a90e57ef741e65ca25becf1463baf672f0aec03011831cbe0c94a8dc27

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dictionarpy-1.0.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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c61f6517eb217ec3f89278f62f44fc3465434c727d9a73b6d8f2e2d0973d4fa
MD5 2a2d8792d748aa3d1809d5c0a707f00a
BLAKE2b-256 2598298bcf9d0d5a35aaed38edd86077203209385c7c02b034cd10c48b4d8309

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