Changed custom_lib

This commit is contained in:
2026-05-07 17:25:33 +09:00
parent 2c36b000a1
commit d0bee3e749
6 changed files with 488 additions and 4 deletions
+10 -4
View File
@@ -1,21 +1,27 @@
__version__ = "1.0.0"
__version__ = "1.0.2"
# --- custom ---
from custom_lib import my_file_config
from custom_lib import my_logger
from custom_lib import my_uuid
# 20260527 tak add my image
from custom_lib import my_image
MODULES = [
my_file_config,
my_logger,
my_uuid,
my_image,
]
def print_versions():
for module in MODULES:
version = getattr(module, "__version__", "unknown")
print(f"[MODULE] {module.__name__} v{version}")
print(f"# [MODULE] {module.__name__} v{version}")
def init():
print(f"Custom_Lib v{__version__}")
print_versions()
print("\n" + "#" * 60)
print(f"# Custom_Lib v{__version__}")
print("=" * 60)
print_versions()
print("#" * 60)