mirror of
https://github.com/Nanaloveyuki/py-logiliteal.git
synced 2025-09-05 19:16:22 +00:00
🚀 发布了Beta0.1.0测试版
This commit is contained in:
28
src/logiliteal/utils/__init__.py
Normal file
28
src/logiliteal/utils/__init__.py
Normal file
@ -0,0 +1,28 @@
|
||||
"""
|
||||
工具函数
|
||||
Utility functions
|
||||
"""
|
||||
# encoding = utf-8
|
||||
# python 3.13.5
|
||||
|
||||
from .configs import get_config, set_config, reset_config
|
||||
from .time import get_asctime, get_date, get_time, get_weekday
|
||||
from .fmt import fmt_console, fmt_placeholder, fmt_message, fmt_level_name
|
||||
from .styles import set_color, set_bg_color, set_style
|
||||
|
||||
__all__ = [
|
||||
"get_config",
|
||||
"set_config",
|
||||
"reset_config",
|
||||
"get_asctime",
|
||||
"get_date",
|
||||
"get_time",
|
||||
"get_weekday",
|
||||
"fmt_console",
|
||||
"fmt_placeholder",
|
||||
"fmt_message",
|
||||
"fmt_level_name",
|
||||
"set_color",
|
||||
"set_bg_color",
|
||||
"set_style"
|
||||
]
|
Reference in New Issue
Block a user