Skip to main content

A command-line English dictionary tool

Project description

Shabd

A command-line English dictionary tool for quick word lookups.

Features

  • Lookup English word meanings directly from your terminal
  • Caches previously looked up words for offline access
  • Simple and straightforward command-line interface

Installation

You can install Shabd from PyPI:

pip install shabd

Or install directly from the repository:

git clone https://github.com/spignelon/shabd.git
cd shabd
pip install .

Usage

Basic usage:

# Look up a single word
shabd apple

# Look up a phrase
shabd "machine learning"

Options:

# Display help
shabd --help

# Display version
shabd --version

On first run, Shabd will create a database file .shabd.db in your home directory to cache word lookups.

How It Works

Shabd fetches word definitions from the Cambridge Dictionary website and stores them locally for faster future lookups. The tool stores all looked-up words in a SQLite database located at ~/.shabd.db in your home directory.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

This project is the continuation of the cambridge-dictionary project.

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

shabd-1.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

shabd-1.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file shabd-1.0.tar.gz.

File metadata

  • Download URL: shabd-1.0.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for shabd-1.0.tar.gz
Algorithm Hash digest
SHA256 040fc3d343a2ba050bee2d43e96f22e1b7f15065a3b0dcf1e18702efcd0cdf9a
MD5 4f19884a3a51a68221703b7fb8fc1e14
BLAKE2b-256 d1372c8c372795eb845f9f14ff19713d0575f6a0087e945bd1ab27a0344e4f49

See more details on using hashes here.

File details

Details for the file shabd-1.0-py3-none-any.whl.

File metadata

  • Download URL: shabd-1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for shabd-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 101e36bf3f0a4d94ef800aa30f4f101966597fafebb56fbaf194d8106599383f
MD5 5a677c682173c22f9470ba2459eb1e9a
BLAKE2b-256 e1250936a64a9bd9f7a45cab86364715ec453bcd9c5e7b761cc430663e102200

See more details on using hashes here.

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