Skip to main content
clc (command line charts)
=========================

Simple charts on the commandline (bar charts only for now). Read from stdin or
from a file.

install
-------

`pip install clc`. Done.

usage
-----

Give `clc` data on stdin or a filename, and see a command line chart.

> cat ./fixtures/sample1.dat | clc
Paris ****************************** 12
Tokyo ******* 3
London *********************************** 14
Washington ***************** 7

Adjust the width of the chart, and the symbol for the bars:

> clc ./fixtures/sample1.dat -w30 --tick='~'
Paris ~~~~~~~~~~~~ 12
Tokyo ~~~ 3
London ~~~~~~~~~~~~~~~ 14
Washington ~~~~~~~ 7

Data should be formatted as in ./fixtures:

Paris 12
Tokyo 3
London 14
Washington 7

help
----

Via `--help`:

usage: clc [-h] [--verbose] [--width WIDTH] [--tick TICK] [infile]

clc: simple charts on the command line.

positional arguments:
infile data file (or stdin)

optional arguments:
-h, --help show this help message and exit
--verbose, -v
--width WIDTH, -w WIDTH
--tick TICK, -t TICK

future
------

- better handle non-integer values
- use csv.Sniffer()
- tests
- colors
- vertical bar charts

Metadata

Release files for clc 0.0.1

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

Source distribution (sdist)

Source distribution for clc 0.0.1
File Size Uploaded Provenance
clc-0.0.1.tar.gz 2.2 kB Without provenance Details

Release files / clc-0.0.1.tar.gz

Download URL clc-0.0.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
42f65f523bc8d07238017dd037a8448a6b51008779f30bcaa88b110492f2c9f2
BLAKE2b-256 checksum
How to use checksums
dbaaa0048483f46dca8926db861ddca940605ba9c578f8df7ab01fd6a3ebb2fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for clc 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

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