Documented dependencies on the PyPI colour module.

This commit is contained in:
facetoe 2014-10-11 18:54:12 +08:00
parent 31a6d91b25
commit d14e7ddadc
3 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,11 @@ from colour import Color
class ColorRangeModule(object): class ColorRangeModule(object):
"""
Class to dynamically generate and select colors.
Requires the PyPI package `colour`
"""
start_color = "#00FF00" start_color = "#00FF00"
end_color = 'red' end_color = 'red'

View File

@ -8,6 +8,8 @@ class CpuUsageGraph(CpuUsage, ColorRangeModule):
Shows CPU usage as a Unicode graph. Shows CPU usage as a Unicode graph.
The first output will be inacurate. The first output will be inacurate.
Depends on the PyPI colour module - https://pypi.python.org/pypi/colour/0.0.5
Linux only Linux only
Available formatters: Available formatters:

View File

@ -10,6 +10,8 @@ class NetworkGraph(NetworkTraffic, ColorRangeModule):
Linux only Linux only
Requires the PyPI packages `psutil` and `colour`.
Available formatters: Available formatters:
{kbs} Float representing kb\s {kbs} Float representing kb\s