summaryrefslogtreecommitdiffstats
path: root/gamechestcli/structures.py
diff options
context:
space:
mode:
Diffstat (limited to 'gamechestcli/structures.py')
-rw-r--r--gamechestcli/structures.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/gamechestcli/structures.py b/gamechestcli/structures.py
new file mode 100644
index 0000000..22b0e7e
--- /dev/null
+++ b/gamechestcli/structures.py
@@ -0,0 +1,9 @@
+#!/usr/bin/python3
+
+import collections
+
+Progress = collections.namedtuple(
+ 'CurrentProgress',
+ 'bytes percent speed eta',
+ defaults=[0, 0, 0, 'infinite'])
+