gitlab-generic 0.1.0__py3-none-any.whl
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.
- gitlab_generic/__init__.py +25 -0
- gitlab_generic/__main__.py +32 -0
- gitlab_generic/_version.py +1 -0
- gitlab_generic/argbuilder.py +1418 -0
- gitlab_generic/cli.py +321 -0
- gitlab_generic/common/__init__.py +91 -0
- gitlab_generic/common/api.py +369 -0
- gitlab_generic/common/config.py +164 -0
- gitlab_generic/common/output.py +202 -0
- gitlab_generic/delete/__init__.py +20 -0
- gitlab_generic/delete/run.py +94 -0
- gitlab_generic/download/__init__.py +20 -0
- gitlab_generic/download/run.py +193 -0
- gitlab_generic/list_cmd/__init__.py +20 -0
- gitlab_generic/list_cmd/run.py +108 -0
- gitlab_generic/py.typed +0 -0
- gitlab_generic/show/__init__.py +20 -0
- gitlab_generic/show/run.py +231 -0
- gitlab_generic/upload/__init__.py +20 -0
- gitlab_generic/upload/run.py +114 -0
- gitlab_generic/version.py +36 -0
- gitlab_generic-0.1.0.dist-info/METADATA +105 -0
- gitlab_generic-0.1.0.dist-info/RECORD +26 -0
- gitlab_generic-0.1.0.dist-info/WHEEL +4 -0
- gitlab_generic-0.1.0.dist-info/entry_points.txt +2 -0
- gitlab_generic-0.1.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# ────────────────────────────────────────────────────────────────────────────────────────
|
|
2
|
+
# gitlab-generic
|
|
3
|
+
# ──────────────
|
|
4
|
+
#
|
|
5
|
+
# GitLab Generic Package Registry tools.
|
|
6
|
+
#
|
|
7
|
+
# (c) 2026 Cyber Assessment Labs — MIT License; see LICENSE in the project root.
|
|
8
|
+
#
|
|
9
|
+
# Authors
|
|
10
|
+
# ───────
|
|
11
|
+
# bena (via Claude)
|
|
12
|
+
#
|
|
13
|
+
# Version History
|
|
14
|
+
# ───────────────
|
|
15
|
+
# Feb 2026 - Created
|
|
16
|
+
# ────────────────────────────────────────────────────────────────────────────────────────
|
|
17
|
+
|
|
18
|
+
# ────────────────────────────────────────────────────────────────────────────────────────
|
|
19
|
+
# Version
|
|
20
|
+
# ────────────────────────────────────────────────────────────────────────────────────────
|
|
21
|
+
|
|
22
|
+
from .version import VERSION_STR
|
|
23
|
+
|
|
24
|
+
__version__ = VERSION_STR
|
|
25
|
+
__all__ = ["__version__"]
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# ────────────────────────────────────────────────────────────────────────────────────────
|
|
2
|
+
# __main__.py
|
|
3
|
+
# ───────────
|
|
4
|
+
#
|
|
5
|
+
# Entry point for python -m gitlab_generic.
|
|
6
|
+
#
|
|
7
|
+
# (c) 2026 Cyber Assessment Labs — MIT License; see LICENSE in the project root.
|
|
8
|
+
#
|
|
9
|
+
# Authors
|
|
10
|
+
# ───────
|
|
11
|
+
# bena (via Claude)
|
|
12
|
+
#
|
|
13
|
+
# Version History
|
|
14
|
+
# ───────────────
|
|
15
|
+
# Feb 2026 - Created
|
|
16
|
+
# ────────────────────────────────────────────────────────────────────────────────────────
|
|
17
|
+
|
|
18
|
+
import sys
|
|
19
|
+
|
|
20
|
+
MIN_PYTHON = (3, 12)
|
|
21
|
+
if sys.version_info < MIN_PYTHON:
|
|
22
|
+
print(
|
|
23
|
+
f"Python {MIN_PYTHON[0]}.{MIN_PYTHON[1]}+ is required. "
|
|
24
|
+
f"You are using Python {sys.version_info.major}.{sys.version_info.minor}.",
|
|
25
|
+
file=sys.stderr,
|
|
26
|
+
)
|
|
27
|
+
sys.exit(1)
|
|
28
|
+
|
|
29
|
+
from gitlab_generic.cli import main # noqa: E402
|
|
30
|
+
|
|
31
|
+
if __name__ == "__main__":
|
|
32
|
+
raise SystemExit(main())
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.0"
|