labops 0.1.4__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.
- labops-0.1.4.dist-info/METADATA +45 -0
- labops-0.1.4.dist-info/RECORD +19 -0
- labops-0.1.4.dist-info/WHEEL +4 -0
- labops-0.1.4.dist-info/entry_points.txt +2 -0
- labops-0.1.4.dist-info/licenses/LICENSE +674 -0
- labops_cli.py +257 -0
- models/inputConf/YamlRoot.py +9 -0
- models/inputConf/creds.py +26 -0
- models/inputConf/hosts.py +45 -0
- models/inputConf/settings.py +20 -0
- src/host/__init__.py +13 -0
- src/host/find.py +29 -0
- src/host/setup.py +74 -0
- src/host/update.py +52 -0
- src/utils/__init__.py +0 -0
- src/utils/ansible_runner.py +28 -0
- src/utils/yaml_validator.py +24 -0
- src/vm/__init__.py +11 -0
- src/vm/find.py +40 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: labops
|
|
3
|
+
Version: 0.1.4
|
|
4
|
+
Summary: YAML Based homeLAB
|
|
5
|
+
License-File: LICENSE
|
|
6
|
+
Requires-Python: >=3.14
|
|
7
|
+
Requires-Dist: ansible-core>=2.20.4
|
|
8
|
+
Requires-Dist: ansible-runner>=2.4.3
|
|
9
|
+
Requires-Dist: pydantic>=2.13.0
|
|
10
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
11
|
+
Requires-Dist: typer>=0.24.1
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
# Homelab Manager (lops)
|
|
15
|
+
|
|
16
|
+
YAML Based homelab Manager
|
|
17
|
+
|
|
18
|
+
## Development & Testing Locally
|
|
19
|
+
|
|
20
|
+
This project uses [uv](https://github.com/astral-sh/uv) for fast Python package and environment management.
|
|
21
|
+
|
|
22
|
+
### 1. Setup and Install Locally
|
|
23
|
+
|
|
24
|
+
To test the CLI locally, install the dependencies and the project itself into a virtual environment using `uv sync`:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Create the virtual environment and install dependencies + the lops CLI
|
|
28
|
+
uv sync
|
|
29
|
+
|
|
30
|
+
# Activate the virtual environment
|
|
31
|
+
source .venv/bin/activate
|
|
32
|
+
|
|
33
|
+
# Now you can run the CLI
|
|
34
|
+
lops --help
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### 2. Building the Package
|
|
38
|
+
|
|
39
|
+
To build the standard Python distribution files (Wheel `.whl` and Source Distribution `.tar.gz`) for publishing or CI/CD pipelines (such as GitHub Actions):
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
uv build
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
This will generate the artifacts inside the `dist/` directory.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
labops_cli.py,sha256=SJhkm85ZNSf1A1dKywoJDxmGlxJXLuOaq_pwe6tG4iI,9609
|
|
2
|
+
models/inputConf/YamlRoot.py,sha256=xP4Vi_uoqXhm7Yk7LWtxhrFEdtaxMlW_Zo43r6YkMIw,247
|
|
3
|
+
models/inputConf/creds.py,sha256=t4fdr47vPxZziBu7m1n8B86-lvsjdhO38B8FAk2a95o,943
|
|
4
|
+
models/inputConf/hosts.py,sha256=Di8siRo3nS-PX-YEzFhuKRGdXsnWGW8snlGhGKrY438,1317
|
|
5
|
+
models/inputConf/settings.py,sha256=X3_AKMAaZRi3BJNhfcrLGPC3C5L-VBQhNRD3D6c-VyQ,443
|
|
6
|
+
src/host/__init__.py,sha256=DkhL1dirNStg0px403Fp4GcTCg3h_8GWANVgrLO2Ems,384
|
|
7
|
+
src/host/find.py,sha256=WCYF5JibVfi_RuAMSmjl-388zkpg_cjtyByDc91yyeo,1006
|
|
8
|
+
src/host/setup.py,sha256=7BUWmeGssWTRE9sY0soYohdbiIkSLlqu_GRmBMq5OUU,2265
|
|
9
|
+
src/host/update.py,sha256=c78dg5Sk8izAaRD3GcYGNuKFSGF6dfvgqSRKO1PopFc,1940
|
|
10
|
+
src/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
src/utils/ansible_runner.py,sha256=Y1lW45_SMrHbMCaxkXYFc6QiueZBnsCUAJN4-XqQ_LU,870
|
|
12
|
+
src/utils/yaml_validator.py,sha256=7L4oPPMysA1VIsSHWDnAECnuQqo_q8SENccu_O6p_WY,602
|
|
13
|
+
src/vm/__init__.py,sha256=tKOBbm3qAHxnKy1xJVc1TcRBU3Z9-LyCh9gHXVVnAHk,392
|
|
14
|
+
src/vm/find.py,sha256=qgO9q3wmyfdrY4caTA98OYFNHlpSbgrl3p_oqwklx9Y,1248
|
|
15
|
+
labops-0.1.4.dist-info/METADATA,sha256=cF9-hrnlBiMeeAq7cK7klDBiGpd5XjXfS1oDZezq1lQ,1144
|
|
16
|
+
labops-0.1.4.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
17
|
+
labops-0.1.4.dist-info/entry_points.txt,sha256=HrlJMtB9Ay3l-VgQ8trGw7tTyS5CIX-_3-a0SSxvEWM,41
|
|
18
|
+
labops-0.1.4.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
19
|
+
labops-0.1.4.dist-info/RECORD,,
|