Skip to main content

A simple python client that requests dictionary definitions from a server that implements Dictionary Server Protocol

Project description

Wordly

A python client to communicate with servers implementing the Dictionary Server Protocol

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]
.

Getting Started

pip install wordly

Usage

Once installed you may use wordly from the command line:

$ 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}]
.

Or you may import Word from wordly in your scripts.

from wordly import Word

w = Word("curious")

print(w.definition)

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

wordly-0.4.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wordly-0.4.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file wordly-0.4.0.tar.gz.

File metadata

  • Download URL: wordly-0.4.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wordly-0.4.0.tar.gz
Algorithm Hash digest
SHA256 2f499fd5ecfc210055584c7e0b50dfcf2a11f49456f6059f93de9cd37ebd84b3
MD5 77226dc7037be014cfde51b9252705e7
BLAKE2b-256 d0085bb708bcd9b9a4c3372f441751950442c06f669b18563e0585ae33e473d4

See more details on using hashes here.

File details

Details for the file wordly-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: wordly-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wordly-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5fb7e5153c246a051450028f93f09868c8c316edc8dc9defbc8a798d14bf85d0
MD5 cb2a869de22d3abed4ee9c370200d508
BLAKE2b-256 e9ea7dae3ba3b1d2c195a0798fc2c2a418776155eaddece4a21d4c05f027d841

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