Utility to build charts inside a terminal or assci document.
Streamline the way vulnerability management programs are created and run. This project is made to be modular so automation can be put into place at any program level.
This package is available on PyPi and can be installed with the following command:
$ TBA
TBA
from cmdchart import cmdchart
# Break down value for chart
value_slice = 100
# Chart data to display
data = {
"Jan": 100,
"Feb": 200,
"Mar": 100,
"Apr": 500,
"May": 400,
"Jun": 300,
"Jul": 200,
"Aug": 100,
"Sep": 100,
"Oct": 100,
"Nov": 900,
"Dec": 800
}
chart = chart.loader(data, value_slice, chart_type='bar')
print(chart)
900 | XXX
800 | XXX XXX
700 | XXX XXX
600 | XXX XXX
500 | XXX XXX XXX
400 | XXX XXX XXX XXX
300 | XXX XXX XXX XXX XXX
200 | XXX XXX XXX XXX XXX XXX XXX
100 | XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
------------------------------------------------------------
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
- Integrate with PyPi
- Document code
- Add other chart types
- Matt Ferreira - Developer - RackReaver
This project is licensed under the Apache License - see the LICENSE file for details