zeushell 0.7.0__tar.gz → 1.0.1__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.1
2
2
  Name: zeushell
3
- Version: 0.7.0
3
+ Version: 1.0.1
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,14 @@ pip install zeushell
28
28
  ## Quick Start
29
29
 
30
30
  ```python
31
- from zeushell import function, name, run
32
-
33
- @function()
31
+ import zeushell
32
+ zeushell.start()
33
+ @zeushell.function()
34
34
  def hi(user):
35
- return f"Hello {user}"
35
+ return "Hello "+user
36
36
 
37
- name("zeushell")
38
- run()
37
+ zeushell.name("zeushell")
38
+ zeushell.run()
39
39
  ```
40
40
 
41
41
  Shell:
@@ -18,14 +18,14 @@ pip install zeushell
18
18
  ## Quick Start
19
19
 
20
20
  ```python
21
- from zeushell import function, name, run
22
-
23
- @function()
21
+ import zeushell
22
+ zeushell.start()
23
+ @zeushell.function()
24
24
  def hi(user):
25
- return f"Hello {user}"
25
+ return "Hello "+user
26
26
 
27
- name("zeushell")
28
- run()
27
+ zeushell.name("zeushell")
28
+ zeushell.run()
29
29
  ```
30
30
 
31
31
  Shell:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "zeushell"
3
- version = "0.7.0"
3
+ version = "1.0.1"
4
4
  description ="A small Python package published to PyPI"
5
5
  authors = [
6
6
  {name = "Zeus", email = "zeus@gmail.com"}
@@ -52,5 +52,8 @@ def run():
52
52
  s=s[1:]
53
53
  except:
54
54
  s=[]
55
- __main__.__dict__[aaaaa](*s, **kwargs)
55
+ try:
56
+ __main__.__dict__[aaaaa](*s, **kwargs)
57
+ except:
58
+ print("function wrong")
56
59
  return 1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zeushell
3
- Version: 0.7.0
3
+ Version: 1.0.1
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,14 @@ pip install zeushell
28
28
  ## Quick Start
29
29
 
30
30
  ```python
31
- from zeushell import function, name, run
32
-
33
- @function()
31
+ import zeushell
32
+ zeushell.start()
33
+ @zeushell.function()
34
34
  def hi(user):
35
- return f"Hello {user}"
35
+ return "Hello "+user
36
36
 
37
- name("zeushell")
38
- run()
37
+ zeushell.name("zeushell")
38
+ zeushell.run()
39
39
  ```
40
40
 
41
41
  Shell:
File without changes