shadowshell 0.0.5__tar.gz → 0.0.7__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: shadowshell
3
- Version: 0.0.5
3
+ Version: 0.0.7
4
4
  Summary: shadowshell.xyz
5
5
  Author-email: shadowshell <shadowshell@foxmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "shadowshell" # 全局唯一名称(检查PyPI是否被占用)
7
- version = "0.0.5" # 版本号(每次更新需递增)
7
+ version = "0.0.7" # 版本号(每次更新需递增)
8
8
  authors = [{ name = "shadowshell", email = "shadowshell@foxmail.com" }]
9
9
  description = "shadowshell.xyz"
10
10
  readme = "README.md"
@@ -17,7 +17,7 @@ classifiers = [ # 分类标签(可选)
17
17
  dependencies = [] # 依赖库(如 ["requests>=2.25"])
18
18
 
19
19
  # 关键配置:指定包路径和自动发现规则
20
- [tool.setuptools]
21
- package-dir = { "" = "src" } # 所有包位于 src 目录下
20
+ # [tool.setuptools]
21
+ # package-dir = { "" = "src" } # 所有包位于 src 目录下
22
22
  # packages = ["gitshell", "logshell"]
23
- packages = { find = { where = ["src"] } }
23
+ # packages = { find = { where = ["src"] } }
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env python3
2
+ # -*- coding: utf-8 -*-
3
+
4
+ """
5
+ @author: shadow shell
6
+ """
7
+
8
+ from .shadowshell.shadowshell import ShadowShell
9
+ from .logutil.logger import Logger
10
+ from .logutil.logger_factory import LoggerFactory
11
+
12
+ from .git_shell import GitShell
13
+
14
+ __all__ = ['ShadowShell', 'Logger', 'LoggerFactory', 'GitShell']
@@ -5,10 +5,8 @@
5
5
  @author: shadow shell
6
6
  """
7
7
 
8
+ from .console_logger import ConsoleLogger
8
9
  from .logger import Logger
9
10
  from .logger_factory import LoggerFactory
10
11
 
11
-
12
- __version__ = "0.0.1"
13
-
14
- __all__ = ['Logger', 'LoggerFactory']
12
+ __all__ = ['ConsoleLogger', 'Logger', 'LoggerFactory']
@@ -7,8 +7,5 @@
7
7
 
8
8
  from .console_logger import ConsoleLogger
9
9
 
10
-
11
- __version__ = "0.0.1"
12
-
13
10
  __all__ = ['ConsoleLogger']
14
11
 
@@ -6,7 +6,7 @@ ConsoleLogger
6
6
  author: shadow shell
7
7
  """
8
8
 
9
- from logshell.logger import Logger
9
+ from logger import Logger
10
10
 
11
11
  class ConsoleLogger(Logger):
12
12
 
@@ -6,7 +6,7 @@ LoggerFactory
6
6
  @author: shadow shell
7
7
  """
8
8
 
9
- from logshell.adapter.console_logger import ConsoleLogger
9
+ from adapter.console_logger import ConsoleLogger
10
10
 
11
11
  class LoggerFactory:
12
12
 
@@ -2,12 +2,12 @@
2
2
  # -*- coding: utf-8 -*-
3
3
 
4
4
  """
5
+ Logger
5
6
  @author: shadow shell
6
7
  """
7
8
 
8
- from .git_shell import GitShell
9
+ class ShadowShell:
9
10
 
11
+ def hello(self):
12
+ print("Hello.")
10
13
 
11
- __version__ = "0.0.1"
12
-
13
- __all__ = ['GitShell']
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: shadowshell
3
- Version: 0.0.5
3
+ Version: 0.0.7
4
4
  Summary: shadowshell.xyz
5
5
  Author-email: shadowshell <shadowshell@foxmail.com>
6
6
  License: MIT
@@ -0,0 +1,14 @@
1
+ pyproject.toml
2
+ src/__init__.py
3
+ src/shadowshell/git_shell.py
4
+ src/shadowshell/shadowshell.py
5
+ src/shadowshell.egg-info/PKG-INFO
6
+ src/shadowshell.egg-info/SOURCES.txt
7
+ src/shadowshell.egg-info/dependency_links.txt
8
+ src/shadowshell.egg-info/top_level.txt
9
+ src/shadowshell/logutil/__init__.py
10
+ src/shadowshell/logutil/logger.py
11
+ src/shadowshell/logutil/logger_factory.py
12
+ src/shadowshell/logutil/adapter/__init__.py
13
+ src/shadowshell/logutil/adapter/console_logger.py
14
+ tests/tests.py
@@ -0,0 +1,2 @@
1
+ __init__
2
+ shadowshell
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env python3
2
+ # -*- coding: utf-8 -*-
3
+
4
+ """
5
+ tests
6
+
7
+ @author: shadow shell
8
+ """
9
+
10
+ from broker import GitBroker
11
+
12
+ GitBroker().config()
@@ -1,12 +0,0 @@
1
- pyproject.toml
2
- src/githshell/__init__.py
3
- src/githshell/git_shell.py
4
- src/logshell/__init__.py
5
- src/logshell/logger.py
6
- src/logshell/logger_factory.py
7
- src/logshell/adapter/__init__.py
8
- src/logshell/adapter/console_logger.py
9
- src/shadowshell.egg-info/PKG-INFO
10
- src/shadowshell.egg-info/SOURCES.txt
11
- src/shadowshell.egg-info/dependency_links.txt
12
- src/shadowshell.egg-info/top_level.txt
@@ -1,2 +0,0 @@
1
- githshell
2
- logshell
File without changes