hey-py
Python port of hey, a command-line interface for DuckDuckGo's AI Chat with enhanced features.
✨ Features
🤖 AI Models
- Multiple model support:
- Claude 3 Haiku (default)
- GPT-4o Mini
- Mistral 8x7B
- Llama 3.1 70B
- Customizable system prompts
💬 Chat Experience
- Rich markdown support in responses
- Conversation memory with auto-expiry
- Stores last 10 messages
- 24-hour automatic expiration
- Manual clearing with
hey --clear - Persistent storage in
~/.cache/hey
- Real-time streaming responses
🛠️ Configuration
- Easy configuration via
hey config - HTTP and SOCKS proxy support
- Persistent settings in
~/.config/hey - Verbose mode for debugging
🚀 Installation
pip install hey-py
📖 Usage
Basic Usage
# Ask a question
hey What is Python?
# Clear conversation history
hey --clear
# Configure settings
hey config
Configuration Options
- Select AI model
- Set system prompt
- Configure proxy settings
- Accept Terms of Service
Environment Variables
HEY_CONFIG_PATH: Custom config directory (default:~/.config/hey)HEY_CACHE_PATH: Custom cache directory (default:~/.cache/hey)HEY_CONFIG_FILENAME: Custom config filename (default:conf.toml)HEY_CACHE_FILENAME: Custom cache filename (default:messages.json)
📝 License
GPLv3
Metadata
Release files for hey-py 0.1.3
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 | Actions |
|---|---|---|---|---|
| hey_py-0.1.3.tar.gz | 10.8 kB | Without provenance | Details for hey_py-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hey_py-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for hey_py-0.1.3-py3-none-any.whl |
Total release size: 22.1 kB
Release files / hey_py-0.1.3.tar.gz
| Download URL | hey_py-0.1.3.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37e011be00cde2efe6a659c8a2dadc7d8a8827497ad6d9a0b6125388fdd37e51
|
|
BLAKE2b-256 checksum How to use checksums |
e0ddc7d57d36aeaddedcf846467e5df00018297ac1ea0cfccfdb3b152a0d4acd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / hey_py-0.1.3-py3-none-any.whl
| Download URL | hey_py-0.1.3-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b9b0bc1457e93b13c3daec81fe72ed0a187e52a545412d9e925554ebc521636d
|
|
BLAKE2b-256 checksum How to use checksums |
ad1ed57f1285a00e4d38009ab29f61c018bb23e0483826552668239b9c680cdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for hey-py 0.1.3
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.