shadowshell 0.0.77__tar.gz → 0.0.81__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {shadowshell-0.0.77 → shadowshell-0.0.81}/PKG-INFO +1 -1
- {shadowshell-0.0.77 → shadowshell-0.0.81}/pyproject.toml +1 -1
- shadowshell-0.0.81/src/shadowshell/boot/starter.py +30 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/config/configurator.py +0 -1
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/logging/console_logger.py +1 -1
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell.egg-info/PKG-INFO +1 -1
- shadowshell-0.0.77/src/shadowshell/boot/starter.py +0 -11
- {shadowshell-0.0.77 → shadowshell-0.0.81}/README.md +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/setup.cfg +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/__init__.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/boot/__init__.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/bootstrap.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/config/__init__.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/configurator.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/console_logger.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/file/__init__.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/file/file_util.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/git_shell.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/logger.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/logger_factory.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/logging/__init__.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/logging/logger.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/logging/logger_factory.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/logging/logging_constants.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/monitor/__init__.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/monitor/monitor.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/serialize/__init__.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/serialize/serializer.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/serialize/serializer_factory.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/serialize/serializer_json.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/stock_trader.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/test/__init__.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell/test/test.py +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell.egg-info/SOURCES.txt +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell.egg-info/dependency_links.txt +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell.egg-info/requires.txt +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/src/shadowshell.egg-info/top_level.txt +0 -0
- {shadowshell-0.0.77 → shadowshell-0.0.81}/tests/tests.py +0 -0
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "shadowshell" # 全局唯一名称(检查PyPI是否被占用)
|
|
7
7
|
#version = "0.0.41" # 版本号(每次更新需递增)
|
|
8
|
-
version = "0.0.
|
|
8
|
+
version = "0.0.81" # 版本号(每次更新需递增)
|
|
9
9
|
authors = [{ name = "shadowshell", email = "shadowshellxyz@foxmail.com" }]
|
|
10
10
|
description = "www.shadowshell.xyz"
|
|
11
11
|
readme = "README.md"
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
|
|
4
|
+
"""
|
|
5
|
+
@author: shadowshell
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from shadowshell.logging import LoggingConstants, LoggerFactory
|
|
9
|
+
from shadowshell.config import Configurator
|
|
10
|
+
from shadowshell.monitor import function_monitor, performance_monitor
|
|
11
|
+
|
|
12
|
+
class_mame = "Starter"
|
|
13
|
+
|
|
14
|
+
class Starter:
|
|
15
|
+
|
|
16
|
+
@function_monitor(class_mame)
|
|
17
|
+
def __init__(self):
|
|
18
|
+
""" 初始化"""
|
|
19
|
+
# 日志
|
|
20
|
+
LoggingConstants.LEVEL_INFO = True
|
|
21
|
+
self.logger = LoggerFactory.get_logger()
|
|
22
|
+
# 配置
|
|
23
|
+
config_file_path = self.get_config_file_path()
|
|
24
|
+
if config_file_path is not None:
|
|
25
|
+
self.configurator = Configurator(config_file_path)
|
|
26
|
+
|
|
27
|
+
@function_monitor(class_mame)
|
|
28
|
+
def get_config_file_path(self):
|
|
29
|
+
""" 获取配置文件路径"""
|
|
30
|
+
return None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|