rya 0.2.25__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.
- rya-0.2.25/LICENSE +21 -0
- rya-0.2.25/PKG-INFO +46 -0
- rya-0.2.25/README.md +6 -0
- rya-0.2.25/pyproject.toml +71 -0
- rya-0.2.25/src/rya/.DS_Store +0 -0
- rya-0.2.25/src/rya/__init__.py +7 -0
- rya-0.2.25/src/rya/_vendor/__init__.py +0 -0
- rya-0.2.25/src/rya/_vendor/haggis/LICENSE +661 -0
- rya-0.2.25/src/rya/_vendor/haggis/__init__.py +82 -0
- rya-0.2.25/src/rya/_vendor/haggis/logs.py +689 -0
- rya-0.2.25/src/rya/_vendor/haggis/version.py +40 -0
- rya-0.2.25/src/rya/cli/__init__.py +4 -0
- rya-0.2.25/src/rya/cli/__main__.py +12 -0
- rya-0.2.25/src/rya/cli/_app_util.py +36 -0
- rya-0.2.25/src/rya/cli/_cli_handler.py +179 -0
- rya-0.2.25/src/rya/cli/_cli_handler_utils.py +92 -0
- rya-0.2.25/src/rya/cli/_click_help.py +41 -0
- rya-0.2.25/src/rya/cli/_message_panel.py +107 -0
- rya-0.2.25/src/rya/cli/_plugin_handler.py +411 -0
- rya-0.2.25/src/rya/cli/_plugin_loader.py +214 -0
- rya-0.2.25/src/rya/cli/_venv_state_manager.py +54 -0
- rya-0.2.25/src/rya/cli/app.py +116 -0
- rya-0.2.25/src/rya/cli/doc.py +17 -0
- rya-0.2.25/src/rya/config/__init__.py +10 -0
- rya-0.2.25/src/rya/config/_config_handler.py +203 -0
- rya-0.2.25/src/rya/config/_model_handler.py +114 -0
- rya-0.2.25/src/rya/config/_models.py +5 -0
- rya-0.2.25/src/rya/config/_names.py +102 -0
- rya-0.2.25/src/rya/config/_pydantic_parser.py +69 -0
- rya-0.2.25/src/rya/core_validators/__init__.py +21 -0
- rya-0.2.25/src/rya/core_validators/base.py +36 -0
- rya-0.2.25/src/rya/loggers/__init__.py +34 -0
- rya-0.2.25/src/rya/loggers/base.py +71 -0
- rya-0.2.25/src/rya/loggers/handlers/__init__.py +4 -0
- rya-0.2.25/src/rya/loggers/handlers/file.py +50 -0
- rya-0.2.25/src/rya/loggers/log_file.py +42 -0
- rya-0.2.25/src/rya/names/__init__.py +21 -0
- rya-0.2.25/src/rya/names/names.py +110 -0
- rya-0.2.25/src/rya/plugins/.DS_Store +0 -0
- rya-0.2.25/src/rya/plugins/__init__.py +0 -0
- rya-0.2.25/src/rya/plugins/commons/__init__.py +11 -0
- rya-0.2.25/src/rya/plugins/commons/_names.py +60 -0
- rya-0.2.25/src/rya/plugins/commons/cli_helpers.py +83 -0
- rya-0.2.25/src/rya/plugins/commons/export.py +97 -0
- rya-0.2.25/src/rya/plugins/commons/parse_user_cli_input.py +169 -0
- rya-0.2.25/src/rya/pre_init/__init__.py +14 -0
- rya-0.2.25/src/rya/pre_init/_cache.py +49 -0
- rya-0.2.25/src/rya/pre_init/_utils.py +97 -0
- rya-0.2.25/src/rya/pre_utils/__init__.py +92 -0
- rya-0.2.25/src/rya/pre_utils/_basic_debug_mode.py +39 -0
- rya-0.2.25/src/rya/pre_utils/_callbacks.py +51 -0
- rya-0.2.25/src/rya/pre_utils/_data_list.py +62 -0
- rya-0.2.25/src/rya/pre_utils/_exit.py +32 -0
- rya-0.2.25/src/rya/pre_utils/_layer_loader.py +100 -0
- rya-0.2.25/src/rya/pre_utils/_log_state.py +27 -0
- rya-0.2.25/src/rya/pre_utils/_loggers/__init__.py +29 -0
- rya-0.2.25/src/rya/pre_utils/_loggers/base.py +117 -0
- rya-0.2.25/src/rya/pre_utils/_loggers/handlers/__init__.py +11 -0
- rya-0.2.25/src/rya/pre_utils/_loggers/handlers/base.py +9 -0
- rya-0.2.25/src/rya/pre_utils/_loggers/handlers/callback.py +35 -0
- rya-0.2.25/src/rya/pre_utils/_loggers/handlers/stderr.py +58 -0
- rya-0.2.25/src/rya/pre_utils/_missing.py +33 -0
- rya-0.2.25/src/rya/pre_utils/_name_containers.py +42 -0
- rya-0.2.25/src/rya/pre_utils/_utils.py +106 -0
- rya-0.2.25/src/rya/styles/__init__.py +18 -0
- rya-0.2.25/src/rya/styles/base.py +4 -0
- rya-0.2.25/src/rya/styles/colors.py +27 -0
- rya-0.2.25/src/rya/styles/formats.py +213 -0
- rya-0.2.25/src/rya/styles/highlight.py +24 -0
- rya-0.2.25/src/rya/styles/rich_utils.py +46 -0
- rya-0.2.25/src/rya/utils/__init__.py +45 -0
- rya-0.2.25/src/rya/utils/messages.py +24 -0
- rya-0.2.25/src/rya/utils/utils.py +114 -0
rya-0.2.25/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 University Computing Center Heidelberg
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
rya-0.2.25/PKG-INFO
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: rya
|
|
3
|
+
Version: 0.2.25
|
|
4
|
+
Summary: rya is a Python application bootstrapper.
|
|
5
|
+
Keywords: cli,bootstrap
|
|
6
|
+
Author: Alexander Haller, Mahadi Xion
|
|
7
|
+
Author-email: Alexander Haller, Mahadi Xion <elabftw@uni-heidelberg.de>
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
License-File: src/rya/_vendor/__init__.py
|
|
10
|
+
License-File: src/rya/_vendor/haggis/LICENSE
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Framework :: AnyIO
|
|
13
|
+
Classifier: Framework :: AsyncIO
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Intended Audience :: System Administrators
|
|
16
|
+
Classifier: Natural Language :: English
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Classifier: Topic :: System :: Systems Administration
|
|
21
|
+
Classifier: Topic :: Utilities
|
|
22
|
+
Requires-Dist: rich>=14.1.0,<14.2.0
|
|
23
|
+
Requires-Dist: dynaconf>=3.2.0,<4
|
|
24
|
+
Requires-Dist: typer>=0.17.4
|
|
25
|
+
Requires-Dist: pyyaml==6.0.2
|
|
26
|
+
Requires-Dist: click>=8.1.8,<8.2
|
|
27
|
+
Requires-Dist: colorama>=0.4.6
|
|
28
|
+
Requires-Dist: platformdirs>=4.4.0
|
|
29
|
+
Requires-Dist: pydantic>=2.11.10,<2.13
|
|
30
|
+
Requires-Dist: properpath>=0.2.9
|
|
31
|
+
Requires-Dist: rich-click>=1.9.4
|
|
32
|
+
Maintainer: Mahadi Xion
|
|
33
|
+
Maintainer-email: Mahadi Xion <mahadi.xion@urz.uni-heidelberg.de>
|
|
34
|
+
Requires-Python: >=3.12, <4
|
|
35
|
+
Project-URL: Changelog, https://github.com/uhd-urz/rya/blob/main/CHANGELOG.md
|
|
36
|
+
Project-URL: Homepage, https://www.urz.uni-heidelberg.de/
|
|
37
|
+
Project-URL: Issues, https://github.com/uhd-urz/rya/issues
|
|
38
|
+
Project-URL: Repository, https://github.com/uhd-urz/rya.git
|
|
39
|
+
Description-Content-Type: text/markdown
|
|
40
|
+
|
|
41
|
+
# Rya
|
|
42
|
+
|
|
43
|
+
Rya is a Python bootstrapper. Rya is made out of the internals of [elAPI](https://github.com/uhd-urz/elAPI). Rya has been generalized enough so any Python application can be bootstrapped that shares the same capabilities as elAPI.
|
|
44
|
+
|
|
45
|
+
> [!NOTE]
|
|
46
|
+
> Rya is currently in beta.
|
rya-0.2.25/README.md
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Rya
|
|
2
|
+
|
|
3
|
+
Rya is a Python bootstrapper. Rya is made out of the internals of [elAPI](https://github.com/uhd-urz/elAPI). Rya has been generalized enough so any Python application can be bootstrapped that shares the same capabilities as elAPI.
|
|
4
|
+
|
|
5
|
+
> [!NOTE]
|
|
6
|
+
> Rya is currently in beta.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "rya"
|
|
3
|
+
version = "0.2.25"
|
|
4
|
+
requires-python = ">=3.12,<4"
|
|
5
|
+
description = "rya is a Python application bootstrapper."
|
|
6
|
+
dependencies = [
|
|
7
|
+
"rich>=14.1.0,< 14.2.0",
|
|
8
|
+
"dynaconf>=3.2.0,<4",
|
|
9
|
+
"typer>=0.17.4",
|
|
10
|
+
"pyyaml==6.0.2",
|
|
11
|
+
"click>=8.1.8,<8.2",
|
|
12
|
+
"colorama>=0.4.6",
|
|
13
|
+
"platformdirs>=4.4.0",
|
|
14
|
+
"pydantic>=2.11.10,<2.13",
|
|
15
|
+
"properpath>=0.2.9",
|
|
16
|
+
"rich-click>=1.9.4",
|
|
17
|
+
]
|
|
18
|
+
readme = "README.md"
|
|
19
|
+
authors = [{ name = "Alexander Haller, Mahadi Xion", email = "elabftw@uni-heidelberg.de" }]
|
|
20
|
+
maintainers = [{ name = "Mahadi Xion", email = "mahadi.xion@urz.uni-heidelberg.de" }]
|
|
21
|
+
license-files = [
|
|
22
|
+
"LICENSE",
|
|
23
|
+
"src/rya/_vendor/*/LICENSE"
|
|
24
|
+
]
|
|
25
|
+
keywords = [
|
|
26
|
+
"cli",
|
|
27
|
+
"bootstrap",
|
|
28
|
+
]
|
|
29
|
+
classifiers = [
|
|
30
|
+
"Development Status :: 5 - Production/Stable",
|
|
31
|
+
"Framework :: AnyIO",
|
|
32
|
+
"Framework :: AsyncIO",
|
|
33
|
+
"Intended Audience :: Developers",
|
|
34
|
+
"Intended Audience :: System Administrators",
|
|
35
|
+
"Natural Language :: English",
|
|
36
|
+
"Operating System :: OS Independent",
|
|
37
|
+
"Topic :: Internet :: WWW/HTTP",
|
|
38
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
39
|
+
"Topic :: System :: Systems Administration",
|
|
40
|
+
"Topic :: Utilities",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
[project.urls]
|
|
44
|
+
Homepage = "https://www.urz.uni-heidelberg.de/"
|
|
45
|
+
Repository = "https://github.com/uhd-urz/rya.git"
|
|
46
|
+
Issues = "https://github.com/uhd-urz/rya/issues"
|
|
47
|
+
Changelog = "https://github.com/uhd-urz/rya/blob/main/CHANGELOG.md"
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
[tool.uv.build-backend]
|
|
51
|
+
module-name = "rya"
|
|
52
|
+
module-root = "src"
|
|
53
|
+
|
|
54
|
+
[project.scripts]
|
|
55
|
+
rya = "rya.cli.__main__:app"
|
|
56
|
+
|
|
57
|
+
[build-system]
|
|
58
|
+
requires = ["uv_build>=0.7.19,<0.8.0"]
|
|
59
|
+
build-backend = "uv_build"
|
|
60
|
+
|
|
61
|
+
[dependency-groups]
|
|
62
|
+
dev = []
|
|
63
|
+
|
|
64
|
+
[tool.vendy]
|
|
65
|
+
target = 'src/rya/' # vendy will auto-crate src/rya/_vendor
|
|
66
|
+
packages = [
|
|
67
|
+
"haggis==0.14.1",
|
|
68
|
+
]
|
|
69
|
+
|
|
70
|
+
[tool.mypy]
|
|
71
|
+
plugins = "pydantic.mypy"
|
|
Binary file
|
|
File without changes
|