Skip to main content

tchart

Python Package Build Status Dependency Status Code Quality Test Coverage License

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.

  • examples/show_all_renderers.py

    Renderers

  • examples/show_all_decorators.py

    Decorators

  • examples/show_stacked_decorators.py

    StackedDecorators

Bugs

Bugs or suggestions? Visit the issue tracker.

Metadata

Release files for tchart 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tchart 2.0.0
File Size Uploaded Provenance Actions
tchart-2.0.0.tar.gz 18.3 kB Without provenance Details for tchart-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tchart 2.0.0
File Interpreter ABI Platform Actions
tchart-2.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for tchart-2.0.0-py2.py3-none-any.whl

Total release size: 26.5 kB

Release files / tchart-2.0.0.tar.gz

Download URL tchart-2.0.0.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1006525a573a11a0b0bd778d8a3079bd25df8c7f8a513f7e4d79d3f2cdb85fe5
BLAKE2b-256 checksum
How to use checksums
f88622409ffa4d3d83a572c8ece374b90e75df37622826da6aa1f8d6f60df2c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / tchart-2.0.0-py2.py3-none-any.whl

Download URL tchart-2.0.0-py2.py3-none-any.whl
Size 8.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
57a3c304eeb7fc3b6bff1994a68df40cac0fb75c89929798736d5cba19500c5a
BLAKE2b-256 checksum
How to use checksums
5078642d89c1a65b8b02f4ea42fbef96d903112277eb9e2888125e728420b002
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for tchart 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page