Enhanced CLI wrapper for Claude with beautiful JSON formatting
Project description
supaclaude
Enhanced CLI wrapper for Claude with beautiful JSON formatting using Rich.
Features
- Beautiful JSON formatting with Rich panels
- Drop-in replacement for the
claudeCLI - Zero configuration required
- Automatic detection of
--output-format stream-json - Preserves all original Claude CLI functionality
Installation
pip install supaclaude
Usage
Simply use supaclaude as a drop-in replacement for the claude command:
# Regular usage - passes through as normal
supaclaude "What is the weather today?"
# JSON stream formatting - automatically formats with Rich
supaclaude -p "Create a Python hello world" --output-format stream-json --verbose
# All claude flags and options work as expected
supaclaude --help
supaclaude --version
JSON Formatting
When using --output-format stream-json, supaclaude automatically:
- Parses each JSON object in the stream
- Formats it with syntax highlighting
- Wraps it in a beautiful panel with rounded borders
- Uses cyan borders for valid JSON and yellow for non-JSON output
Requirements
- Python 3.8+
claudeCLI installed and available in PATH- Rich library (automatically installed)
Development
# Clone the repository
git clone https://github.com/yourusername/supaclaude.git
cd supaclaude
# Install with uv
uv pip install -e .
# Run tests
uv run supaclaude --help
Building and Publishing
# Build the package
uv build
# Upload to PyPI
uv publish
License
MIT License - see LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Acknowledgments
- Built on top of Anthropic's Claude CLI
- Beautiful formatting powered by Rich
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file supaclaude-0.1.0.tar.gz.
File metadata
- Download URL: supaclaude-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
564aea90f724777611688eb4854146e779cb199f4427c8de70d269913c0f8fcd
|
|
| MD5 |
64e0eb824ec4ceaef90a92252bc3314b
|
|
| BLAKE2b-256 |
4bc6e4b4b0f7cae7dd62e0d9af62d9230817726b3604dc300378c4a2e7c7ef44
|
File details
Details for the file supaclaude-0.1.0-py3-none-any.whl.
File metadata
- Download URL: supaclaude-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89d3c960de46cc4496e709314d1d5d4fc0885b1eddbfac90f2c1ea9a0df12a08
|
|
| MD5 |
df319dd626183e5a3f142662fe6553ba
|
|
| BLAKE2b-256 |
9fe18098c2b1e1582b5d5f52521684317f651484201709a70d0b4e8b4bc986e1
|