Skip to main content

supaclaude

Enhanced CLI wrapper for Claude with beautiful JSON formatting using Rich.

PyPI version Python Support License: MIT

Features

  • Beautiful JSON formatting with Rich panels
  • Drop-in replacement for the claude CLI
  • 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+
  • claude CLI 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

Metadata

Release files for supaclaude 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for supaclaude 0.1.0
File Size Uploaded
supaclaude-0.1.0.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for supaclaude 0.1.0
File Interpreter ABI Platform
supaclaude-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / supaclaude-0.1.0.tar.gz

Download URL supaclaude-0.1.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
564aea90f724777611688eb4854146e779cb199f4427c8de70d269913c0f8fcd
BLAKE2b-256 checksum
How to use checksums
4bc6e4b4b0f7cae7dd62e0d9af62d9230817726b3604dc300378c4a2e7c7ef44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.8

Release files / supaclaude-0.1.0-py3-none-any.whl

Download URL supaclaude-0.1.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89d3c960de46cc4496e709314d1d5d4fc0885b1eddbfac90f2c1ea9a0df12a08
BLAKE2b-256 checksum
How to use checksums
9fe18098c2b1e1582b5d5f52521684317f651484201709a70d0b4e8b4bc986e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page