No project description provided
Project description
VocabMaster
Master new languages with this user-friendly CLI tool, designed to help you record vocabulary, access translations and examples, and seamlessly import them into Anki for an optimized language learning experience.
Features
- Record vocabulary words with ease
- Automatic translation and usage examples via OpenAI GPT
- Anki integration for seamless language learning
- Supports multiple languages
Installation
Prerequisites
- Python 3.8 or higher
- Compatible with Windows, Linux, and macOS
Install via pip
You can install VocabMaster using pip. The package includes all the required dependencies. Simply run the following command:
pip install vocabmaster
Install via pipx
(recommended)
pipx
is an alternative package manager for Python applications. It allows you to install and run Python applications in isolated environments, preventing conflicts between dependencies and ensuring that each application uses its own set of packages. We recommend using pipx
to install VocabMaster.
First, install pipx
if you haven't already:
-
On macOS and Linux:
python3 -m pip install --user pipx python3 -m pipx ensurepath
-
On Windows:
py -m pip install --user pipx py -m pipx ensurepath
Once pipx
is installed, you can install VocabMaster using the following command:
pipx install vocabmaster
Shell Completion
You should have autocompletion after the installation. If that's not the case, you can follow the instructions below.
To enable shell completion for bash or zsh, source the completion file (see the completion
folder) related to your shell by adding the following line to your .bashrc
or .zshrc
file:
For bash:
source /path/to/vocabmaster/completion/vocabmaster.bash
For zsh:
source /path/to/vocabmaster/completion/vocabmaster.zsh
Remember to replace /path/to/vocabmaster
with the actual path where VocabMaster is installed.
Usage
Before using VocabMaster, you need to set up the OpenAI API key, which is required for the translations and usage examples. Follow the instructions provided within the CLI tool to configure the API key.
Below is an example of common commands and their usage:
Set up a new language pair:
vocabmaster setup
Add words to your vocabulary list:
vocabmaster add to have
Generate an Anki deck from your vocabulary list:
vocabmaster translate
For detailed help on each command, run:
vocabmaster <command> --help
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
Hashes for vocabmaster-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 190e36758bc932a41efb67a5b4ce73c2105d96fc1a2149c07b09ea0ca9cd50ce |
|
MD5 | 84d0b92cb5f712c1f8407fb51fe0c8ae |
|
BLAKE2b-256 | c1743f682e1509fe8aaa7f7a5f4345df78682e46b31f7bcb9553371d3d90e0a9 |