-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Michele Dolfi <[email protected]>
- Loading branch information
1 parent
455c9c9
commit c31aae7
Showing
4 changed files
with
33 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
from dataclasses import dataclass | ||
|
||
dashes = f"{'-'*86}" | ||
WELCOME = f"{dashes}\n{'':>26}Welcome to the Deep Search Toolkit\n{dashes}" | ||
ERROR_MSG = f"{dashes}\nSuggestion:\n(1) Check your input.\n(2) Contact Deep Search developers if problem persists.\n{dashes}" | ||
# setup for progress bars | ||
progressbar_length = 30 | ||
progressbar = { | ||
"padding": 22, | ||
"colour": "#0f62fe", | ||
"bar_format": "{l_bar}{bar:%d}{r_bar}{bar:-10b}" % (progressbar_length), | ||
} | ||
|
||
|
||
@dataclass | ||
class ProgressBarParameters: | ||
padding = 22 | ||
colour = "#0f62fe" | ||
bar_format = "{l_bar}{bar:%d}{r_bar}{bar:-10b}" % (progressbar_length) | ||
|
||
|
||
progressbar = ProgressBarParameters() | ||
success_message = "Whoa... it is done. Until next time, Ciao!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters