zeushell 1.0.0__tar.gz → 1.0.2__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.
- {zeushell-1.0.0 → zeushell-1.0.2}/PKG-INFO +7 -6
- {zeushell-1.0.0 → zeushell-1.0.2}/README.md +6 -5
- {zeushell-1.0.0 → zeushell-1.0.2}/pyproject.toml +1 -1
- {zeushell-1.0.0 → zeushell-1.0.2}/zeushell/__init__.py +8 -7
- {zeushell-1.0.0 → zeushell-1.0.2}/zeushell.egg-info/PKG-INFO +7 -6
- {zeushell-1.0.0 → zeushell-1.0.2}/setup.cfg +0 -0
- {zeushell-1.0.0 → zeushell-1.0.2}/zeushell.egg-info/SOURCES.txt +0 -0
- {zeushell-1.0.0 → zeushell-1.0.2}/zeushell.egg-info/dependency_links.txt +0 -0
- {zeushell-1.0.0 → zeushell-1.0.2}/zeushell.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: zeushell
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: A small Python package published to PyPI
|
|
5
5
|
Author-email: Zeus <zeus@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -28,14 +28,15 @@ pip install zeushell
|
|
|
28
28
|
## Quick Start
|
|
29
29
|
|
|
30
30
|
```python
|
|
31
|
-
from zeushell import
|
|
31
|
+
from zeushell import Zeushell
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
z = Zeushell()
|
|
34
|
+
@z.function()
|
|
34
35
|
def hi(user):
|
|
35
|
-
return
|
|
36
|
+
return "Hello "+user
|
|
36
37
|
|
|
37
|
-
name("zeushell")
|
|
38
|
-
run()
|
|
38
|
+
z.name("zeushell")
|
|
39
|
+
z.run()
|
|
39
40
|
```
|
|
40
41
|
|
|
41
42
|
Shell:
|
|
@@ -18,14 +18,15 @@ pip install zeushell
|
|
|
18
18
|
## Quick Start
|
|
19
19
|
|
|
20
20
|
```python
|
|
21
|
-
from zeushell import
|
|
21
|
+
from zeushell import Zeushell
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
z = Zeushell()
|
|
24
|
+
@z.function()
|
|
24
25
|
def hi(user):
|
|
25
|
-
return
|
|
26
|
+
return "Hello "+user
|
|
26
27
|
|
|
27
|
-
name("zeushell")
|
|
28
|
-
run()
|
|
28
|
+
z.name("zeushell")
|
|
29
|
+
z.run()
|
|
29
30
|
```
|
|
30
31
|
|
|
31
32
|
Shell:
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
class Zeushell:
|
|
2
|
+
def __init__(self):
|
|
3
|
+
qqqqqqq=open("w.txt","w")
|
|
4
|
+
qqqqqqq.write("[]")
|
|
5
|
+
qqqqqqq.close()
|
|
6
|
+
def name(a):
|
|
6
7
|
global shellname
|
|
7
8
|
shellname=a
|
|
8
|
-
def function():
|
|
9
|
+
def function():
|
|
9
10
|
import ast
|
|
10
11
|
def dd(func):
|
|
11
12
|
try:
|
|
@@ -20,7 +21,7 @@ def function():
|
|
|
20
21
|
qqqqqqq.close()
|
|
21
22
|
return func
|
|
22
23
|
return dd
|
|
23
|
-
def run():
|
|
24
|
+
def run():
|
|
24
25
|
import __main__
|
|
25
26
|
import ast
|
|
26
27
|
kwargs = {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: zeushell
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: A small Python package published to PyPI
|
|
5
5
|
Author-email: Zeus <zeus@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -28,14 +28,15 @@ pip install zeushell
|
|
|
28
28
|
## Quick Start
|
|
29
29
|
|
|
30
30
|
```python
|
|
31
|
-
from zeushell import
|
|
31
|
+
from zeushell import Zeushell
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
z = Zeushell()
|
|
34
|
+
@z.function()
|
|
34
35
|
def hi(user):
|
|
35
|
-
return
|
|
36
|
+
return "Hello "+user
|
|
36
37
|
|
|
37
|
-
name("zeushell")
|
|
38
|
-
run()
|
|
38
|
+
z.name("zeushell")
|
|
39
|
+
z.run()
|
|
39
40
|
```
|
|
40
41
|
|
|
41
42
|
Shell:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|