eachread
A Python tool for exploring WordNet synsets with a focus on animals and adjectives.
Installation
# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate # On Unix/macOS
# Or on Windows:
# .venv\Scripts\activate
# Install dependencies
pip install .
Commands
wordnet
Analyzes direct animal and physical adjective synsets. This provides first-level hyponyms of "animal" and "physical" synsets.
eachread wordnet [--limit N]
Example output:
Found 145 total animal synsets
Example animals:
Words with underscores:
- domestic_cat (domestic cat): small domesticated carnivorous mammal with soft fur
- wild_dog (wild dog): wild member of the dog family Canidae
Single word animals:
- bear: massive plantigrade carnivorous or omnivorous mammals
- lion: large gregarious predatory feline of Africa and India
Found 89 total physical adjective synsets
Example physical adjectives:
- muscular: having a robust muscular body-build characterized by predominance of structures (bone and muscle) developed from the embryonic mesodermal layer
wordnet-deep
Recursively analyzes all animal and physical adjective synsets, going beyond first-level hyponyms to include all descendants.
eachread wordnet-deep [--limit N]
adjectives
Lists and defines random adjective synsets from WordNet.
eachread adjectives [--limit N]
Example output:
Found 21435 total adjective synsets
Example adjectives:
- content: satisfied or showing satisfaction with things as they are
- bright: characterized by quickness and ease in learning
- flexible: capable of being changed or adjusted to meet circumstances
adj-animal
Generates random combinations of adjectives and animals. This can be useful for creative writing, generating character names, or just for fun.
eachread adj-animal [--limit N]
Example output:
Generating 5 adjective-animal combinations:
- valiant tiger
- sleepy koala
- mysterious owl
- playful dolphin
- elegant swan
Special Features
- Use
--limit 0withadj-animalto generate an infinite stream of combinations (press Ctrl+C to stop) - Filter combinations:
eachread adj-animal --limit 0 | grep -w coot
Options
All commands support the following option:
--limit N: Number of examples to show (default: 5)- Set to 0 for unlimited examples
- For
adj-animal, 0 means infinite generation mode
Development
The project uses several development tools:
- ruff for Python formatting and linting
- pre-commit for git hooks
- just for command running
- prettier for formatting other file types
To set up the development environment:
just pre-commit # Sets up pre-commit hooks
just fmt # Formats all files
just lint # Runs linters
Requirements
- Python 3.12.0
- NLTK (WordNet data will be downloaded automatically on first run)
Metadata
Release files for eachread 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eachread-0.1.2.tar.gz | 11.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eachread-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.7 kB
Release files / eachread-0.1.2.tar.gz
| Download URL | eachread-0.1.2.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6712cb05bd324a3914de3268afd5f6d4c92b661835d8eeb6d677351327a452e5
|
|
BLAKE2b-256 checksum How to use checksums |
f4581c8f45c996dac5ed337cf030fa97132bbb14e1959ed4496c78086a8022fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.11
|
Release files / eachread-0.1.2-py3-none-any.whl
| Download URL | eachread-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
252f5778b64c168b99e21641d937a852dd5bcdc9135eb7ab62dbb9427a5505cf
|
|
BLAKE2b-256 checksum How to use checksums |
a855ff38c5da0a9fcc3d7f899108f668b6b7f18fae53c2f98b3b48f35f1eb84e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.11
|