summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2010-06-20 10:04:37 +1200
committerLars Wirzenius <liw@liw.fi>2010-06-20 10:04:37 +1200
commit52c0c627f507363afe8cb33cadd442922af2c355 (patch)
treeb10c092a151692c7ba107f3881f3cd76a88d2fee /README
parent10f41e7fccb701605d8c3ba00baa947dcd0a0dd0 (diff)
downloadttystatus-52c0c627f507363afe8cb33cadd442922af2c355.tar.gz
Add README.
Diffstat (limited to 'README')
-rw-r--r--README55
1 files changed, 55 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..c4b42af
--- /dev/null
+++ b/README
@@ -0,0 +1,55 @@
+Progress and status updates on terminals
+========================================
+
+ttystatus is a Python library for showing progress reporting and status
+updates on terminals, for (Unix) command line programs. Output is
+automatically adapted to the width of the terminal: truncated if it does
+not fit, and re-sized if the terminal size changes.
+
+Output is provided via widgets. Each widgets formats some data into
+a suitable form for output. It gets the data either via its initializer,
+or from key/value pairs maintained by the master object. The values are
+set by the user. Every time a value is updated, widgets get updated
+(although the terminal is only updated every so often to give user time
+to actually read the output).
+
+
+Installation
+------------
+
+* Use Python distutils (setup.py) as usual.
+* If possible, use the Debian packaging when you can.
+
+You will need some other stuff to run automatic tests:
+
+* http://liw.fi/coverage-test-runner/ for unit tests.
+* http://liw.fi/extrautils/ for Debian packaging
+ (setuppy-debian-versions-match).
+
+
+Legalese
+--------
+
+Copyright 2010 Lars Wirzenius
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+See also
+--------
+
+* http://pypi.python.org/pypi/progressbar/ is another library for this.
+ It is older and more well-established, but, I think, a bit less
+ flexible. For example, it seems to assume there is only one percentage
+ value that gets reported.