Skip to main content
synGitHub release PyPI PyPI

🌾 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.

Metadata

Release files for synonym-cli 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for synonym-cli 0.3.2
File Size Uploaded
synonym_cli-0.3.2.tar.gz 159.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for synonym-cli 0.3.2
File Interpreter ABI Platform
synonym_cli-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 168.5 kB

Release files / synonym_cli-0.3.2.tar.gz

Download URL synonym_cli-0.3.2.tar.gz
Size 159.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6b9b6bb139ac59b96d0173fb99f2f13932a34c9a207fc6cee31533c64c22dac3
BLAKE2b-256 checksum
How to use checksums
39d0a120bb2726eb87c8e22240ff76b1d8b4285b922fc4e96c5688b7e002361b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 29, 2026.

Transparency log

Release files / synonym_cli-0.3.2-py3-none-any.whl

Download URL synonym_cli-0.3.2-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e98cccf61943e4a53022b167240d381e42ce88eb78ab54f49904c82a16bc61d0
BLAKE2b-256 checksum
How to use checksums
05e5cec227b3bcd6ff6fd20c930ad9b050cd9d2fe8a2b632e814c11bb90356c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page