shadowshell 0.0.14__tar.gz → 0.0.15__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.14
3
+ Version: 0.0.15
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.14" # 版本号(每次更新需递增)
7
+ version = "0.0.15" # 版本号(每次更新需递增)
8
8
  authors = [{ name = "shadowshell", email = "shadowshell@foxmail.com" }]
9
9
  description = "shadowshell.xyz"
10
10
  readme = "README.md"
@@ -5,10 +5,10 @@
5
5
  @author: shadow shell
6
6
  """
7
7
 
8
- from .shadowshell import ShadowShell
8
+ from .shadowshell import ShadowShell, testserver, cnnserver
9
9
  from .logutil.logger import Logger
10
10
  from .logutil.logger_factory import LoggerFactory
11
11
 
12
12
  from .git_shell import GitShell
13
13
 
14
- __all__ = ['ShadowShell', 'Logger', 'LoggerFactory', 'GitShell']
14
+ __all__ = ['ShadowShell', 'Logger', 'LoggerFactory', 'GitShell', 'testserver', 'cnnserver']
@@ -14,4 +14,10 @@ class ShadowShell:
14
14
  print("Hello.")
15
15
 
16
16
  def request(self):
17
- requests.get("https://wwww.baidu.com")
17
+ requests.get("https://wwww.baidu.com")
18
+
19
+ def testserver():
20
+ os.system("ping shadowshell.xyz")
21
+
22
+ def cnnserver():
23
+ os.system("ssh admin@shadowshell.xyz")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: shadowshell
3
- Version: 0.0.14
3
+ Version: 0.0.15
4
4
  Summary: shadowshell.xyz
5
5
  Author-email: shadowshell <shadowshell@foxmail.com>
6
6
  License: MIT
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env python3
2
+ # -*- coding: utf-8 -*-
3
+
4
+ """
5
+ tests
6
+
7
+ @author: shadow shell
8
+ """
9
+
10
+ from ./src/shadowshell/shadowshell import ShadowShell, testserver
11
+
12
+ ShadowShell().hello()
13
+
14
+ testserver()
15
+
@@ -1,12 +0,0 @@
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()
File without changes
File without changes