pyrig-runtime 2.2.0__tar.gz → 2.2.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.
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/PKG-INFO +1 -1
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/pyproject.toml +1 -1
- pyrig_runtime-2.2.1/src/pyrig_runtime/__init__.py +5 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/dependencies/subclass.py +1 -1
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/cli/cli.py +2 -2
- pyrig_runtime-2.2.0/src/pyrig_runtime/__init__.py +0 -5
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/LICENSE +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/README.md +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/__init__.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/constants.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/dependencies/__init__.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/dependencies/discovery.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/dependencies/graph.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/graph.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/__init__.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/classes.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/functions.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/inspection.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/modules.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/packages.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/strings.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/wrappers.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/py.typed +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/__init__.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/__init__.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/cli/__init__.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/commands/__init__.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/commands/version.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/main.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/shared_subcommands.py +0 -0
- {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/subcommands.py +0 -0
|
@@ -114,7 +114,7 @@ class DependencySubclass(metaclass=DependencySubclassMeta):
|
|
|
114
114
|
subclasses are found. May be abstract.
|
|
115
115
|
|
|
116
116
|
Raises:
|
|
117
|
-
RuntimeError: If more than one subclass is discovered across
|
|
117
|
+
RuntimeError: If more than one leaf subclass is discovered across
|
|
118
118
|
the dependent packages.
|
|
119
119
|
"""
|
|
120
120
|
subclasses = cls.subclasses()
|
|
@@ -257,10 +257,10 @@ class CLI(DependencySubclass):
|
|
|
257
257
|
return kebab_to_snake_case(self.project_name())
|
|
258
258
|
|
|
259
259
|
def project_name(self) -> str:
|
|
260
|
-
"""Return the
|
|
260
|
+
"""Return the stem of `sys.argv[0]` as the invoking project name.
|
|
261
261
|
|
|
262
262
|
When a project is invoked through a registered console-script entry point
|
|
263
263
|
(e.g. `uv run my-project`), `sys.argv[0]` is the path to that script, so
|
|
264
|
-
its
|
|
264
|
+
its stem is the project name as it was registered.
|
|
265
265
|
"""
|
|
266
266
|
return Path(sys.argv[0]).stem
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/dependencies/discovery.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/functions.py
RENAMED
|
File without changes
|
{pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/inspection.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/packages.py
RENAMED
|
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
|
|
File without changes
|