k3shell 0.1.6__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: k3shell
3
- Version: 0.1.6
3
+ Version: 0.1.8
4
4
  Summary: Shell command dispatcher with nested subcommand support
5
5
  Author-email: Zhang Yanpo <drdr.xp@gmail.com>
6
6
  License-Expression: MIT
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
18
19
  Requires-Python: >=3.10
19
20
  Description-Content-Type: text/markdown
20
21
  License-File: LICENSE
@@ -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")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: k3shell
3
- Version: 0.1.6
3
+ Version: 0.1.8
4
4
  Summary: Shell command dispatcher with nested subcommand support
5
5
  Author-email: Zhang Yanpo <drdr.xp@gmail.com>
6
6
  License-Expression: MIT
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
18
19
  Requires-Python: >=3.10
19
20
  Description-Content-Type: text/markdown
20
21
  License-File: LICENSE
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "k3shell"
7
- version = "0.1.6"
7
+ version = "0.1.8"
8
8
  description = "Shell command dispatcher with nested subcommand support"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -22,6 +22,7 @@ classifiers = [
22
22
  "Programming Language :: Python :: 3.11",
23
23
  "Programming Language :: Python :: 3.12",
24
24
  "Programming Language :: Python :: 3.13",
25
+ "Programming Language :: Python :: 3.14",
25
26
  ]
26
27
  dependencies = [
27
28
  "k3dict",
k3shell-0.1.6/__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