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.
Files changed (31) hide show
  1. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/PKG-INFO +1 -1
  2. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/pyproject.toml +1 -1
  3. pyrig_runtime-2.2.1/src/pyrig_runtime/__init__.py +5 -0
  4. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/dependencies/subclass.py +1 -1
  5. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/cli/cli.py +2 -2
  6. pyrig_runtime-2.2.0/src/pyrig_runtime/__init__.py +0 -5
  7. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/LICENSE +0 -0
  8. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/README.md +0 -0
  9. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/__init__.py +0 -0
  10. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/constants.py +0 -0
  11. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/dependencies/__init__.py +0 -0
  12. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/dependencies/discovery.py +0 -0
  13. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/dependencies/graph.py +0 -0
  14. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/graph.py +0 -0
  15. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/__init__.py +0 -0
  16. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/classes.py +0 -0
  17. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/functions.py +0 -0
  18. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/inspection.py +0 -0
  19. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/modules.py +0 -0
  20. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/introspection/packages.py +0 -0
  21. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/strings.py +0 -0
  22. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/core/wrappers.py +0 -0
  23. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/py.typed +0 -0
  24. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/__init__.py +0 -0
  25. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/__init__.py +0 -0
  26. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/cli/__init__.py +0 -0
  27. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/commands/__init__.py +0 -0
  28. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/commands/version.py +0 -0
  29. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/main.py +0 -0
  30. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/shared_subcommands.py +0 -0
  31. {pyrig_runtime-2.2.0 → pyrig_runtime-2.2.1}/src/pyrig_runtime/rig/cli/subcommands.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyrig-runtime
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: Runtime dependency and library for projects built with pyrig.
5
5
  Keywords: pyrig
6
6
  Author: Winipedia
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pyrig-runtime"
3
- version = "2.2.0"
3
+ version = "2.2.1"
4
4
  description = "Runtime dependency and library for projects built with pyrig."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -0,0 +1,5 @@
1
+ """Runtime support library for pyrig.
2
+
3
+ Contains code that a project needs at runtime, such as CLI
4
+ invocation.
5
+ """
@@ -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 basename of `sys.argv[0]` as the invoking project name.
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 basename is the project name as it was registered.
264
+ its stem is the project name as it was registered.
265
265
  """
266
266
  return Path(sys.argv[0]).stem
@@ -1,5 +0,0 @@
1
- """Runtime support library for pyrig.
2
-
3
- Contains code that a project needs at runtime, such as automatic CLI
4
- invocation.
5
- """
File without changes
File without changes