🌾Get synonyms and antonyms of words from Thesaurus.com and other sources in your terminal, with rich output.
Project description
🌾 syn
Get synonyms and antonyms of words from Thesaurus.com, Datamuse API and AlterVista in your terminal, with rich output.
Install:
pip install synonym-cli
Usage:
syn <word>
Explore Mode
Returns more particular results about the given word. Uses Datamuse API.
for Web UI: https://wordwhisper.vercel.app
$ syn dominant -d
Other Languages
For other languages you can use --lang, -l command. To use this feature, you need to get an api key from here.
$ syn -l fr belle
$ syn -l ru фраза
AlterVista's Thesaurus API supports the following languages:
Czech:
cs, Danish:da, English (US):en, French:fr, German (Germany):de, German (Switzerland):de, Greek:el, Hungarian:hu, Italian:it, Norwegian:no, Polish:pl, Portuguese:pt, Romanian:ro, Russian:ru, Slovak:sk, Spanish:es.
Set Default Language
You can set the default language with the --setlang <lang_code> argument, so you don't have to give the -l argument every time.
$ syn --setlang fr
> default language is: fr
$ syn belle
> ...
Arguments
-h, --help show this help message and exit
-p, --plain returns plain text output
-l, --lang <language>
--setkey set apikey for altervista api
--setlang set default language (currently default is 'en')
--show show settings file
-v, --version show program's version number and exit
Contrubuting
Contributions are welcome. If you want to contribute to this list send a pull request or just open a new issue.
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 synonym_cli-0.3.2.tar.gz.
File metadata
- Download URL: synonym_cli-0.3.2.tar.gz
- Upload date:
- Size: 159.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 |
6b9b6bb139ac59b96d0173fb99f2f13932a34c9a207fc6cee31533c64c22dac3
|
|
| MD5 |
0ec0814912c30c1139b1dcee9e6624d0
|
|
| BLAKE2b-256 |
39d0a120bb2726eb87c8e22240ff76b1d8b4285b922fc4e96c5688b7e002361b
|
Provenance
The following attestation bundles were made for synonym_cli-0.3.2.tar.gz:
Publisher:
release.yml on agmmnn/syn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
synonym_cli-0.3.2.tar.gz -
Subject digest:
6b9b6bb139ac59b96d0173fb99f2f13932a34c9a207fc6cee31533c64c22dac3 - Sigstore transparency entry: 870355792
- Sigstore integration time:
-
Permalink:
agmmnn/syn@1e9a42a185bb5d4e9ea9123115c4ff07933274c2 -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/agmmnn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1e9a42a185bb5d4e9ea9123115c4ff07933274c2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file synonym_cli-0.3.2-py3-none-any.whl.
File metadata
- Download URL: synonym_cli-0.3.2-py3-none-any.whl
- Upload date:
- Size: 9.2 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 |
e98cccf61943e4a53022b167240d381e42ce88eb78ab54f49904c82a16bc61d0
|
|
| MD5 |
0a20e8c9c27042a43ec84b277701ea96
|
|
| BLAKE2b-256 |
05e5cec227b3bcd6ff6fd20c930ad9b050cd9d2fe8a2b632e814c11bb90356c4
|
Provenance
The following attestation bundles were made for synonym_cli-0.3.2-py3-none-any.whl:
Publisher:
release.yml on agmmnn/syn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
synonym_cli-0.3.2-py3-none-any.whl -
Subject digest:
e98cccf61943e4a53022b167240d381e42ce88eb78ab54f49904c82a16bc61d0 - Sigstore transparency entry: 870355800
- Sigstore integration time:
-
Permalink:
agmmnn/syn@1e9a42a185bb5d4e9ea9123115c4ff07933274c2 -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/agmmnn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1e9a42a185bb5d4e9ea9123115c4ff07933274c2 -
Trigger Event:
push
-
Statement type: