Minimal graph renderer for fixed size canvas
Project description
Minimal chart renderer for fixed size canvas for Python.
Installation
pip install tchart
Usage
simple way:
from tchart import Tchart t = Tchart(height=10, width=80) data = [12.1, -2, 100] chart = t.render(data) print('\n'.join(chart))extended way:
from tchart import Tchart from tchart.renderers import BoxRenderer from tchart.decorators import AxisDecorator t = Tchart(height=10, width=80, renderer=BoxRenderer(), decorators=[AxisDecorator(), ]) data = [12.1, -2, 100] chart = t.render(data) print('\n'.join(chart))
Examples
Please check the examples directory.
Bugs
Bugs or suggestions? Visit the issue tracker.
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
tchart-2.0.0.tar.gz
(18.3 kB
view details)
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 tchart-2.0.0.tar.gz.
File metadata
- Download URL: tchart-2.0.0.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1006525a573a11a0b0bd778d8a3079bd25df8c7f8a513f7e4d79d3f2cdb85fe5
|
|
| MD5 |
f9448aa6393f1f7e5afe3ac591880225
|
|
| BLAKE2b-256 |
f88622409ffa4d3d83a572c8ece374b90e75df37622826da6aa1f8d6f60df2c4
|
File details
Details for the file tchart-2.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: tchart-2.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57a3c304eeb7fc3b6bff1994a68df40cac0fb75c89929798736d5cba19500c5a
|
|
| MD5 |
a81b4e6aa3d0c49c7d3bcafb6aa39036
|
|
| BLAKE2b-256 |
5078642d89c1a65b8b02f4ea42fbef96d903112277eb9e2888125e728420b002
|