bashplotlib
plotting in the terminal
what is it?
bashplotlib is a python package and command line tool for making basic plots in the terminal. It’s a quick way to visualize data when you don’t have a GUI. It’s written in pure python and can quickly be installed anywhere using pip.
installation
install with pip
$ pip install bashplotlib
install from source
$ git clone git@github.com:glamp/bashplotlib.git $ cd bashplotlib $ python setup.py install
Either method will install the bashplotlib python package and will also add hist and scatter to your python scripts folder. This folder should be on your path (add it if it’s not).
features
quick plotting from the command line
customize the color, size, title, and shape of plots
pipe data into plots with stdin
usage
command line
hist takes input from either stdin or specified using the -f parameter. Input should be a single column of numbers. scatter takes x and y coordinates as input form either a comma delimited file using -f or from 2 different files using -x and -y.
in python
If you want to use bashplotlib from python, just import histogram and scatterplot.
from bashplotlib.scatterplot import plot_scatter
from bashplotlib.histogram import plot_hist
examples
$ scatter --file data/texas.txt --pch .
$ hist --file data/exp.txt
$ scatter -x data/x_test.txt -y data/y_test.txt
todo
sideways numbers for x-axis of histograms
colors for individual points
line charts
trendlines
Metadata
Release files for bashplotlib 0.6.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bashplotlib-0.6.5.tar.gz | 6.2 kB | Without provenance | Details for bashplotlib-0.6.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bashplotlib-0.6.5-py2.7.egg | Legacy Egg format | - | - | Details for bashplotlib-0.6.5-py2.7.egg |
Total release size: 22.2 kB
Release files / bashplotlib-0.6.5.tar.gz
| Download URL | bashplotlib-0.6.5.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1b59be49d6254a5bd808919e0a23a75a703a02e7e84478edda765714e0bfaee
|
|
BLAKE2b-256 checksum How to use checksums |
aca7b0871fd1bcc38a3be7b6d0a188876e5a84c16c52f62dac9fe28418d12fe0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / bashplotlib-0.6.5-py2.7.egg
| Download URL | bashplotlib-0.6.5-py2.7.egg |
|---|---|
| Size | 16.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
9e92e968594436fd631d0ec21c7be45796b173979c07090a441774579baee000
|
|
BLAKE2b-256 checksum How to use checksums |
fa4a2368767076392aadff1963c2795097f16e9ec3d7e73b6246d440dfc2a867
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bashplotlib 0.6.5
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.