No project description provided
Project description
Shellviz
.
Shellviz is a zero-hassle Python tool that transforms your data into dynamic, real-time visualizations you can explore right in your browser. It's lightweight, free, and has no dependencies — just install and start visualizing!
🚀 Features
- Free & Easy to Use: No configuration, sign-up, or API key needed.
- Dynamic Data Manipulation:
- Update or append to existing values seamlessly.
- Clear logs programmatically for a fresh start.
- View and manage multiple data sources side-by-side.
- Powerful Visualizations:
- Visualize tables, charts, JSON, and more.
- Search, slice, and filter data with ease.
- Export data as CSV files.
- Interactive Second Screen: Use your phone as a second screen with QR code pairing.
- Simplified Data Analysis: Break down complex terminal output for quick insights.
🛠️ Installation
Install Shellviz with pip:
pip install shellviz
🔧 Getting Started
Basic Usage
from shellviz import log, table, json
log('my first shellviz command')
# Shellviz serving on http://127.0.0.1:5544
table([("Alice", 25, 5.6), ("Bob", 30, 5.9)])
json({"name": "Alice", "age": 25, "height": 5.6})
Open the generated URL in your browser, and you’ll see your data visualized instantly.
Advanced Usage
Update Existing Values
from shellviz import progress
progress(0.0, id='migration')
progress(1.0, id='migration') # Update data dynamically
Append Data
from shellviz import table
table([('Joe', 10)], id='users')
table([('Jane', 12)], id='users', append=True)
Clear Logs
from shellviz import clear
clear()
Second-Screen via QR Code Install the optional qrcode package for QR code support:
pip install qrcode
from shellviz import show_qr_code
show_qr_code()
🏗️ Contributing
We welcome contributions! If you encounter issues or have ideas, feel free to submit an issue or pull request on GitHub.
Developing client side code
Client-side code is written in React using the create-react-app boilerplate. To set up the client side environment, run the following
cd client
npm install
npm start
This should launch a live-updating browser window that will listen for traffic on the default Shellviz websocket port
Build
Bundling and deploying Shellviz is straightforward. Run the following command to build a compiled version of the Shellviz client that will be placed in the package's build folder:
cd client
npm run build
Once this is done, you can compile the package using poetry:
cd .. # jump to project root
poetry build
To install into a local python environment, run the following command:
poetry add --no-cache ~/[path-to-repo]/dist/shellviz-0.x.x-py3-none-any.whl
⚖️ License
Shellviz is open source and licensed under the MIT License.
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 shellviz-0.4.1.tar.gz.
File metadata
- Download URL: shellviz-0.4.1.tar.gz
- Upload date:
- Size: 415.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.9.17 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67766d82771172ab2b0897066df1fc8c1f0000cefe2387dbcf13c03ba3a7709c
|
|
| MD5 |
62f34ce2615bb5e39eae93e8a0582699
|
|
| BLAKE2b-256 |
e120e2d233a722a64aeaadfa92a36c442b6937ed63ba38d3c9a67cc8942fd140
|
File details
Details for the file shellviz-0.4.1-py3-none-any.whl.
File metadata
- Download URL: shellviz-0.4.1-py3-none-any.whl
- Upload date:
- Size: 418.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.9.17 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81f82fb01937f9db73f74f9628e5510e8bc70b72cafef89e34d236adcca4a551
|
|
| MD5 |
430037d628d9ec8d844bbdc3ffd75211
|
|
| BLAKE2b-256 |
2684c55632ab7ce941c1a4354d9517cba6343a202fa24179cfefd0003137e89f
|