From 77c76b4e0407250fc0ba8ee0309a528a4a8f1f09 Mon Sep 17 00:00:00 2001 From: vg Date: Tue, 30 Aug 2022 09:57:12 +0200 Subject: git-sync on boo --- gamechestcli/structures.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gamechestcli/structures.py (limited to 'gamechestcli/structures.py') 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']) + -- cgit v1.2.3