ANSI Dynamic terminal state renderer
Project description
bytechroma
Bare-metal terminal renderer built entirely on ANSI escape codes. Designed for ultra-fast terminal updates where print() spam and heavy renderers become the bottleneck. Ideal for websocket feeds, market data, logs, telemetry, and realtime dashboards.
Features
- Pure ANSI rendering
- Minimal CPU overhead
- Zero UI framework dependency
- Optimized for high-frequency updates
- Key/value style rendering
- Optional batching for extreme throughput
Installation
pip install bytechroma
pip install git+https://github.com/GidTheGreat/bytechroma.git
Basic Usage
from bytechroma import ByteChroma
bc = ByteChroma()
bc.update("price", "104532")
bc.update("volume", "82.1")
High Frequency Streams
import threading
from bytechroma import ByteChroma
bc = ByteChroma(flush_interval=2)
t = threading.Thread(target=bc.auto_flush_loop)
t.daemon = True
t.start()
bc.update("btc", "104532")
bc.update("eth", "5921")
Why batching helps
without batching
update -> render -> flush
update -> render -> flush
update -> render -> flush
with batching
1000 updates -> single render -> single flush
+ less terminal I/0
+ less redraw pressure
+ smoother feeds
Use cases
- Crypto orderbooks
- Websocket feeds
- Realtime monitoring
- CLI dashboards
- Telemetry streams
- Low-overhead logging
Philosophy
Most terminal libraries optimize aesthetics. bytechroma optimizes throughput
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 bytechroma-0.1.0.tar.gz.
File metadata
- Download URL: bytechroma-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
858d881240e00cc7ef358f2858176ff47967d5b9cf2dc02ff9c98fdb4138c3e0
|
|
| MD5 |
721877e337462b741cb5b3747fc9adf7
|
|
| BLAKE2b-256 |
b303be24c1a9a13241d3d7f8e4b87abbe88e5c7dfea462197eb935c401d2f891
|
File details
Details for the file bytechroma-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bytechroma-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a20b86a92a89e20cf9f7d06aac038c6c31286139fb22e7b91a75bad2d03c5181
|
|
| MD5 |
114e2a33c832f9ea64b82d27c6e70cb9
|
|
| BLAKE2b-256 |
6f7183e39ff8f6ed34ad37081bcd47061cf7801a2006b1e2250306e50be2f67f
|