1. 提交代码,初始化项目;

This commit is contained in:
2025-12-30 22:42:24 +08:00
parent c61b80f502
commit fad2bbae67
8 changed files with 215 additions and 0 deletions

33
confs/logging.conf Normal file
View File

@@ -0,0 +1,33 @@
# logging.conf
[loggers]
keys=root
[handlers]
keys=consoleHandler,fileHandler
[formatters]
keys=simpleFormatter,detailedFormatter
[logger_root]
level=INFO
handlers=consoleHandler
[handler_consoleHandler]
class=StreamHandler
level=INFO
formatter=simpleFormatter
args=(sys.stdout,)
[handler_fileHandler]
class=FileHandler
level=DEBUG
formatter=detailedFormatter
args=('app.log', 'a')
[formatter_simpleFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=%Y-%m-%d %H:%M:%S
[formatter_detailedFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(module)s:%(lineno)d - %(message)s
datefmt=%Y-%m-%d %H:%M:%S

4
confs/template.json Normal file
View File

@@ -0,0 +1,4 @@
{
"model_name": "What's your model name",
"file_path": "Where's your data file ptah"
}