Quick Question (qq)
A command-line tool that suggests and executes terminal commands using various LLM providers. It prioritizes local LLM providers for privacy and cost efficiency, with fallback to cloud providers when configured. This tool is still under development and initally tested in MacOS, we'll continue expanding as we receive feedback, please feel free to reach out with ideas and feedback to cv@southbrucke.com
Features
- Multiple LLM provider support:
- Local providers (prioritized):
- LM Studio
- Ollama
- Cloud providers (requires API keys):
- OpenAI
- Anthropic
- Groq
- Local providers (prioritized):
- Interactive command selection
- Command history tracking
- Configurable settings
- Copy to clipboard or direct execution options
- macOS-optimized command suggestions
Installation
pip install qq2
Usage
Basic command:
qq "your question here"
Configure settings:
qq --settings
View command history:
qq
Provider Selection
The tool follows this priority order for LLM providers:
- Checks for running local providers (LM Studio or Ollama)
- If no local providers are available, checks for configured cloud provider API tokens
- Uses the first available provider unless a specific default is set in settings
Configuration
Use qq --settings to configure:
- Default provider selection
- Command action (execute or copy to clipboard)
- Default model for each provider
- API keys for cloud providers
Environment Variables
Cloud provider API keys can be set via environment variables:
OPENAI_API_KEY- for OpenAIANTHROPIC_API_KEY- for AnthropicGROQ_API_KEY- for Groq
Examples
Get file search commands:
qq "how do I search for files containing specific text"
Find process information:
qq "show me all running processes containing 'python'"
Requirements
- Python >= 3.6
- macOS (optimized for macOS terminal commands)
- Local LLM provider (LM Studio or Ollama) or cloud provider API key
License
Proprietary - All rights reserved
Author
Cristian Vyhmeister (cv@southbrucke.com)
For more information, visit https://southbrucke.com
Metadata
Release files for qq2 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| qq2-0.1.1.tar.gz | 11.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qq2-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.0 kB
Release files / qq2-0.1.1.tar.gz
| Download URL | qq2-0.1.1.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76e4d983d881e6511f486f4bd7a70c6ab13efcb5af064931f1517a4b39902cc4
|
|
BLAKE2b-256 checksum How to use checksums |
d5bc50e64368e46b5faf8a708c14d9e167b99afb037e4ef82468d15be26392d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / qq2-0.1.1-py3-none-any.whl
| Download URL | qq2-0.1.1-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
641a16a448dde9087c1c180d519aea84922942286a57621c62cbd0a3273961a7
|
|
BLAKE2b-256 checksum How to use checksums |
3bcbc25f9d587b183b262263e489e8263b6ab5e25eff996e2cd0a2a4d90ad4d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Security for qq2 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.