k3shell 0.1.7__tar.gz → 0.1.8__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.
- {k3shell-0.1.7 → k3shell-0.1.8}/PKG-INFO +1 -1
- k3shell-0.1.8/__init__.py +29 -0
- {k3shell-0.1.7 → k3shell-0.1.8}/k3shell.egg-info/PKG-INFO +1 -1
- {k3shell-0.1.7 → k3shell-0.1.8}/pyproject.toml +1 -1
- k3shell-0.1.7/__init__.py +0 -22
- {k3shell-0.1.7 → k3shell-0.1.8}/LICENSE +0 -0
- {k3shell-0.1.7 → k3shell-0.1.8}/README.md +0 -0
- {k3shell-0.1.7 → k3shell-0.1.8}/command.py +0 -0
- {k3shell-0.1.7 → k3shell-0.1.8}/k3shell.egg-info/SOURCES.txt +0 -0
- {k3shell-0.1.7 → k3shell-0.1.8}/k3shell.egg-info/dependency_links.txt +0 -0
- {k3shell-0.1.7 → k3shell-0.1.8}/k3shell.egg-info/requires.txt +0 -0
- {k3shell-0.1.7 → k3shell-0.1.8}/k3shell.egg-info/top_level.txt +0 -0
- {k3shell-0.1.7 → k3shell-0.1.8}/setup.cfg +0 -0
- {k3shell-0.1.7 → k3shell-0.1.8}/synopsis.py +0 -0
- {k3shell-0.1.7 → k3shell-0.1.8}/test/test_doctest.py +0 -0
- {k3shell-0.1.7 → k3shell-0.1.8}/test/test_k3shell.py +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""
|
|
2
|
+
# Name
|
|
3
|
+
|
|
4
|
+
k3shell
|
|
5
|
+
|
|
6
|
+
# Status
|
|
7
|
+
|
|
8
|
+
The library is considered production ready.
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from .command import (
|
|
13
|
+
command,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
__all__ = [
|
|
17
|
+
"command",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def __getattr__(name: str) -> str:
|
|
22
|
+
# importlib.metadata takes about 20 ms to import, so it is loaded only
|
|
23
|
+
# when __version__ is read
|
|
24
|
+
if name != "__version__":
|
|
25
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
26
|
+
|
|
27
|
+
from importlib.metadata import version
|
|
28
|
+
|
|
29
|
+
return version("k3shell")
|
k3shell-0.1.7/__init__.py
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
# Name
|
|
3
|
-
|
|
4
|
-
k3shell
|
|
5
|
-
|
|
6
|
-
# Status
|
|
7
|
-
|
|
8
|
-
The library is considered production ready.
|
|
9
|
-
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
from importlib.metadata import version
|
|
13
|
-
|
|
14
|
-
__version__ = version("k3shell")
|
|
15
|
-
|
|
16
|
-
from .command import (
|
|
17
|
-
command,
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
__all__ = [
|
|
21
|
-
"command",
|
|
22
|
-
]
|
|
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
|