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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wordly-0.3.0.tar.gz.
File metadata
- Download URL: wordly-0.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3361d3b5229a62feaf84b5269d152741f2c984ff498c9b9f2fe5a80d11f4f23e
|
|
| MD5 |
7a51600e4cc83bdf21373ceb15f399b8
|
|
| BLAKE2b-256 |
ca4f7f004b338329419d77be5f622c8199418a18d951ab3c3cf859b15cb61c3c
|
File details
Details for the file wordly-0.3.0-py3-none-any.whl.
File metadata
- Download URL: wordly-0.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
daf72d229655dff4365474735a43b495a535757e39898cae2c66a7c2d44f5d76
|
|
| MD5 |
cad94ddea7f4737f77a3c534b5b92849
|
|
| BLAKE2b-256 |
684c4d75efe358c60a8ff0b611404e64794e08926e96a7087126742f1f8fcff8
|