summaryrefslogtreecommitdiffstats
path: root/gamechestcli/structures.py
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2022-08-30 09:57:12 +0200
committervg <vgm+dev@devys.org>2022-08-30 09:57:12 +0200
commit77c76b4e0407250fc0ba8ee0309a528a4a8f1f09 (patch)
treee07eced6c7a6fadbc5c12fb53ccd369c11674285 /gamechestcli/structures.py
parent7fe1ae0d26c3790ac81a0ee7b1bf01a383388575 (diff)
downloadgamechest-77c76b4e0407250fc0ba8ee0309a528a4a8f1f09.tar.gz
gamechest-77c76b4e0407250fc0ba8ee0309a528a4a8f1f09.tar.bz2
gamechest-77c76b4e0407250fc0ba8ee0309a528a4a8f1f09.zip
git-sync on boo
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'])
+