Add your description here
Project description
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)
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 eachread-0.1.2.tar.gz.
File metadata
- Download URL: eachread-0.1.2.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6712cb05bd324a3914de3268afd5f6d4c92b661835d8eeb6d677351327a452e5
|
|
| MD5 |
095d346641e66aa1609e8df5b7b69fbd
|
|
| BLAKE2b-256 |
f4581c8f45c996dac5ed337cf030fa97132bbb14e1959ed4496c78086a8022fb
|
File details
Details for the file eachread-0.1.2-py3-none-any.whl.
File metadata
- Download URL: eachread-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
252f5778b64c168b99e21641d937a852dd5bcdc9135eb7ab62dbb9427a5505cf
|
|
| MD5 |
43afaf3d01f5ab65fe86520b7ca3df70
|
|
| BLAKE2b-256 |
a855ff38c5da0a9fcc3d7f899108f668b6b7f18fae53c2f98b3b48f35f1eb84e
|