Skip to main content

Enhanced CLI wrapper for Claude with beautiful JSON formatting

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supaclaude-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

supaclaude-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for supaclaude-0.1.0.tar.gz
Algorithm Hash digest
SHA256 564aea90f724777611688eb4854146e779cb199f4427c8de70d269913c0f8fcd
MD5 64e0eb824ec4ceaef90a92252bc3314b
BLAKE2b-256 4bc6e4b4b0f7cae7dd62e0d9af62d9230817726b3604dc300378c4a2e7c7ef44

See more details on using hashes here.

File details

Details for the file supaclaude-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for supaclaude-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89d3c960de46cc4496e709314d1d5d4fc0885b1eddbfac90f2c1ea9a0df12a08
MD5 df319dd626183e5a3f142662fe6553ba
BLAKE2b-256 9fe18098c2b1e1582b5d5f52521684317f651484201709a70d0b4e8b4bc986e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page