Skip to main content

🌾Get synonyms and antonyms of words from Thesaurus.com and other sources in your terminal, with rich output.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synonym_cli-0.3.2.tar.gz (159.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synonym_cli-0.3.2-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

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

Hashes for synonym_cli-0.3.2.tar.gz
Algorithm Hash digest
SHA256 6b9b6bb139ac59b96d0173fb99f2f13932a34c9a207fc6cee31533c64c22dac3
MD5 0ec0814912c30c1139b1dcee9e6624d0
BLAKE2b-256 39d0a120bb2726eb87c8e22240ff76b1d8b4285b922fc4e96c5688b7e002361b

See more details on using hashes here.

Provenance

The following attestation bundles were made for synonym_cli-0.3.2.tar.gz:

Publisher: release.yml on agmmnn/syn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for synonym_cli-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e98cccf61943e4a53022b167240d381e42ce88eb78ab54f49904c82a16bc61d0
MD5 0a20e8c9c27042a43ec84b277701ea96
BLAKE2b-256 05e5cec227b3bcd6ff6fd20c930ad9b050cd9d2fe8a2b632e814c11bb90356c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for synonym_cli-0.3.2-py3-none-any.whl:

Publisher: release.yml on agmmnn/syn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page