Introduction
Shellviz is a Python package that allows you to visualize and explore your data. It creates a local server that can receive and visualize data from your Python scripts. It's open source, has no dependencies, and doesn't require any configuration, sign-up, or API key to use. Just type something like:
from shellviz import log, table, json
log('my first shellviz command')
# Shellviz serving on http://192.168.86.124:5544
table([("Alice", 25, 5.6), ("Bob", 30, 5.9), ("Charlie", 22, 5.7)])
json({"name": "Alice", "age": 25, "height": 5.6})
Launch the local web server, and you'll see this:
It's great at displaying complex data, but there's a lot more you can do with Shellviz!
Features
- Free and Easy to Use: Shellviz is completely free and requires no configuration, sign-up, or API key. Just install the package, and you're ready to go!
- Dynamic Data Manipulation:
- Update Existing Values: Modify your data on the fly without cluttering your output.
- Append to Values: Add new data to your existing logs to keep everything organized.
- Clear Logs Programmatically: Reset your log with a single command for a fresh start.
- View Multiple Data Sources at Once: Visualize and manage multiple data sources side-by-side in the Shellviz canvas. Each source can be updated dynamically, allowing for easy comparison and analysis in real-time.
- Powerful Data Visualizations:
- Shellviz supports a variety of visualizations, including charts, tables, cards, maps, and more.
- Easily turn complex data structures (like JSON, dictionaries, or lists) into digestible visuals.
- Perfect for exploring and analyzing large datasets, such as big lists and dictionaries.
- Search, slice, and filter JSON objects or export your data as downloadable CSV files.
- Interactive Second Screen: Use your phone as a second screen for real-time data exploration. Simply scan the QR code generated by Shellviz to pair your phone and visualize data instantly.
- Simplified Data Analysis: Break down complex or hard-to-read terminal output and focus on insights. Shellviz makes data exploration intuitive and efficient.