sollu
Your Terminal Dictionary powered by AI
Overview
sollu is a simple yet powerful command-line utility designed to provide instant definitions and example sentences for words using the capabilities of the Google Gemini model. Built for anyone who wants to stay in the flow without distractions, tabs.
Features
- Fast Lookups: Get definitions and examples quickly.
- Multiple Words: Define several words in a single command.
Prerequisites
Before you can use Sollu, you need:
- Python 3.9+: Make sure you have a compatible Python version installed.
- Google Gemini API Key: Obtain a free API key from the Google AI Studio
Installation
It's highly recommended to install sollu within a virtual environment.
pip install sollu
Configuration
Sollu requires your Google Gemini API key to function. Configuration commands are grouped under sollu config
Your API key will be stored in a file named .env inside the directory ~/.config/sollu.
Set API key
Use the config set subcommand to save your API key:
sollu config set --key YOUR_API_KEY
Delete API key
To remove just the saved API key:
sollu config delete
Reset configuration
To delete the entire ~/.config/sollu/ directory and all its contents:
sollu config reset
Usage
Once installed and configured, you can use the define command to look up words:
sollu define <word1> <word2> ...
Examples
Defining a single word
sollu define work-ethic
Defining multiple words:
sollu define stoic healthy
License
This project is licensed under the Apache-2.0 License - see the LICENSE file for details
Metadata
Release files for sollu 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sollu-0.0.2.tar.gz | 11.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sollu-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.4 kB
Release files / sollu-0.0.2.tar.gz
| Download URL | sollu-0.0.2.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
695adf144680bf923744a37fb951093369508d612f5d60b1304cf3b7da861172
|
|
BLAKE2b-256 checksum How to use checksums |
6179fe6a0c97c2a5759c2826e7fe812cf50f790ba8d53f5595419a862cb0c562
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 May 11, 2025.
Transparency logRelease files / sollu-0.0.2-py3-none-any.whl
| Download URL | sollu-0.0.2-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e23d171cc0fb5f7c6c23ecf32ef8efede31fae0a4d1f41a4acd9e2b8cbf5265
|
|
BLAKE2b-256 checksum How to use checksums |
195530088af6eac50069908e297c4dedff3b0fac738ebe8d399a21682af5dace
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 May 11, 2025.
Transparency log