-
Notifications
You must be signed in to change notification settings - Fork 0
/
masstools_logo.py
32 lines (28 loc) · 1.15 KB
/
masstools_logo.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import datetime
from termcolor import colored
# Define version and update date
masstools_version = "1.0.0" # Replace with the actual version if dynamic versioning is needed
update_date = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
def masstools_logo():
"""
Prints the masstools logo, version information, and a URL for more details.
"""
# Print messages
print("Thank you for using masstools!")
print(f"Version {masstools_version} ({update_date})")
print("More information: masstools.tidymass.org")
# Print ASCII logo
logo = [
" _______ _ ",
" |__ __| | | ",
" _ __ ___ __ _ ___ ___| | ___ ___ | |___ ",
" | '_ ` _ \\ / _` / __/ __| |/ _ \\ / _ \\| / __|",
" | | | | | | (_| \\__ \\__ \\ | (_) | (_) | \\__ \\",
" |_| |_| |_|\\__,_|___/___/_|\\___/ \\___/|_|___/",
" ",
" "
]
for line in logo:
print(colored(line, 'blue')) # Adjust colors if needed
# Example usage
masstools_logo()