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.1.tar.gz (16.6 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.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shabd-1.1.tar.gz
Algorithm Hash digest
SHA256 7e48b509f4b7a9add94b6de8bf06813364ab3bdc375caa75899f417f89810718
MD5 6bf135e7851b0747c3b038384be3fb42
BLAKE2b-256 63a194a6f3f3dcf3ce24f3939537cd33659511adf9e87f77a84646ff11fbb92f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shabd-1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f0b8fb616072ef2da7e0ce8e451ecc9c906eee6b0a3c0ce52fbc22c01b10002
MD5 1ef71f2987d82a377d233553296a2dc3
BLAKE2b-256 ad7935c8fa6a3a19ec304a0451c114a5cfac47d90d25155eade5352be9c093c3

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