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 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"