An open API service indexing awesome lists of open source software.

https://github.com/agmmnn/datamuse-cli

A command line interface that displays results from the Datamuse API.
https://github.com/agmmnn/datamuse-cli

cli datamuse dictionary linguistics python3 rich thesaurus wordsearch

Last synced: 6 months ago
JSON representation

A command line interface that displays results from the Datamuse API.

Awesome Lists containing this project

README

          

![](https://user-images.githubusercontent.com/16024979/168290323-fa1fe5ee-2a4d-4e81-aee6-7faa6713e296.svg)

# datamuse-cli


GitHub release (latest by date)


PyPI

A command line interface that displays results from the Datamuse API.

## Install:

```
pip install datamuse-cli
```

## Usage:

```python
> datamuse sky
# Show results for "sky"

> datamuse sky:color
# Show results for the word "sky" related to the topic "color".

> datamuse sky:color,human
# Show results for the word "sky" related to the topics "color, human".
```

## Example Usage:

```
> datamuse thyme -m 7

๐Ÿ”กsynonyms/similars: ๐Ÿ’ญevocative:
โ•ถโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ดโ•ถโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ด
herb, oregano, rosemary, marjoram, marjoram, oregano, thymus, eyebright,
parsley, tarragon, fennel harebell, thymol, hyssop

๐Ÿ“ฃsound[saสŠnd]: ๐Ÿงฎsimilar spelling: ๐Ÿ‘‚rhymic:
โ•ถโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ดโ•ถโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ดโ•ถโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ด
them, theme, tham, thein, rhyme, theme, chyme, tyme, time, paradigm, sublime,
thiem, thieme thymy, thome rhyme, prime, crime, lime

___ + thyme: thyme + ___: thyme...:
โ•ถโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ดโ•ถโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ดโ•ถโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ด
wild, fresh, lemon, common, oil, leaved, mixture, thymectomy, thymene,
little, sweet, chopped sauce, leaf, blossoms, bank thymelaeaceae, thyme
camphor, thymes,
thyme-leaved speedwell
```

## Arguments

```
-h, --help show this help message and exit
-m, --max maximum number of words to display
-v, --version show program's version number and exit
```

## Dependencies

- [rich](https://pypi.org/project/rich/)
- [aiohttp](https://pypi.org/project/aiohttp/)