
Security News
/Research
npm Phishing Email Targets Developers with Typosquatted Domain
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
plotting in the terminal
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.
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).
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
FAQs
plotting in the terminal
We found that bashplotlib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
Security News
Knip hits 500 releases with v5.62.0, refining TypeScript config detection and updating plugins as monthly npm downloads approach 12M.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.