osbuild-bpkit 0.2.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.
- bpkit/__init__.py +51 -0
- bpkit/audit.py +1008 -0
- bpkit/blueprint.py +395 -0
- bpkit/build.py +206 -0
- bpkit/cli.py +605 -0
- bpkit/composer.py +280 -0
- bpkit/hosted.py +514 -0
- bpkit/importer.py +542 -0
- bpkit/markers.py +92 -0
- bpkit/merge.py +749 -0
- bpkit/models.py +650 -0
- bpkit/overlay.py +267 -0
- bpkit/py.typed +0 -0
- bpkit/render.py +111 -0
- bpkit/sbom.py +220 -0
- osbuild_bpkit-0.2.0.dist-info/METADATA +392 -0
- osbuild_bpkit-0.2.0.dist-info/RECORD +19 -0
- osbuild_bpkit-0.2.0.dist-info/WHEEL +4 -0
- osbuild_bpkit-0.2.0.dist-info/entry_points.txt +2 -0
bpkit/__init__.py
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"""
|
|
2
|
+
.. include:: ../../docs/guide.md
|
|
3
|
+
:end-before: <!-- page: basics -->
|
|
4
|
+
|
|
5
|
+
## Guide
|
|
6
|
+
|
|
7
|
+
1. [Writing blueprints](guide/basics.html): classes, inheritance, removing and replacing values
|
|
8
|
+
2. [Overlays](guide/overlays.html): config files from a directory
|
|
9
|
+
3. [Instances and debugging](guide/instances.html): kwargs, `customize()`, `explain()`
|
|
10
|
+
4. [CLI, import and builds](guide/cli.html): render, diff, import, build images
|
|
11
|
+
5. [Auditing and SBOMs](guide/audit.html): checks, advisories, CycloneDX output
|
|
12
|
+
6. [Gotchas](guide/gotchas.html)
|
|
13
|
+
|
|
14
|
+
## API
|
|
15
|
+
|
|
16
|
+
`Blueprint` is the base class and the models (`Package`, `User`, `File`,
|
|
17
|
+
`Services`, …) are importable from `bpkit`. Each module has its own page:
|
|
18
|
+
`bpkit.blueprint`, `bpkit.models` (every field), `bpkit.overlay`, `bpkit.markers`,
|
|
19
|
+
`bpkit.merge`, `bpkit.render`, `bpkit.cli`, `bpkit.importer`, `bpkit.build`,
|
|
20
|
+
`bpkit.composer`, `bpkit.hosted`, `bpkit.audit` and `bpkit.sbom`.
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
from . import audit, build, cli, composer, hosted, importer, markers, models, overlay, sbom
|
|
24
|
+
from .blueprint import Blueprint, BlueprintError, kebab_case
|
|
25
|
+
from .markers import Remove, Replace, Unset
|
|
26
|
+
from .merge import KeyedList, MergeError, StrSet
|
|
27
|
+
from .models import (
|
|
28
|
+
AnacondaModules,
|
|
29
|
+
Container,
|
|
30
|
+
Directory,
|
|
31
|
+
EnabledModule,
|
|
32
|
+
File,
|
|
33
|
+
Filesystem,
|
|
34
|
+
Firewall,
|
|
35
|
+
FirewallServices,
|
|
36
|
+
FirewallZone,
|
|
37
|
+
Group,
|
|
38
|
+
Installer,
|
|
39
|
+
Kernel,
|
|
40
|
+
Kickstart,
|
|
41
|
+
Locale,
|
|
42
|
+
Package,
|
|
43
|
+
PackageGroup,
|
|
44
|
+
Repository,
|
|
45
|
+
Services,
|
|
46
|
+
SSHKey,
|
|
47
|
+
User,
|
|
48
|
+
)
|
|
49
|
+
from .overlay import Overlay, OverlayError
|
|
50
|
+
|
|
51
|
+
__version__ = "0.2.0"
|