Skip to content

Introduction

This site contains documentation for the wordly python package. Wordly makes it easy to retrieve definitions of words over the wire or locally.

Wordly will retrieve dictionary definitions from dict.org by default but you may configure your own server hostname and port.

If you are using uv, you may use wordly like so:

❯ uvx wordly recalcitrant
"Recalcitrant" gcide "The Collaborative International Dictionary of English v.0.48"
Recalcitrant \Re*cal"ci*trant\ (r[-e]*k[a^]l"s[i^]*trant), a.
   [L. recalcitrans, p. pr. of recalcitrare to kick back; pref.
   re- re- + calcitrare to kick, fr. calx heel. Cf.
   {Inculcate}.]
   Kicking back; recalcitrating; hence, showing repugnance or
   opposition; refractory.
   [1913 Webster]
.

To get started with Wordly you have to install the package and run a command from your console to retrieve a definition of a term.

$ pip install wordly

$ wordly programming
"programming" wn "WordNet (r) 3.0 (2006)"
programming
    n 1: setting an order and time for planned events [syn:
         {scheduling}, {programming}, {programing}]
    2: creating a sequence of instructions to enable the computer to
       do something [syn: {programming}, {programing}, {computer
       programming}, {computer programing}]
.

References

Dictionary Server Protocol