Skip to main content

ubiconfig

A Python library for accessing Universal Base Image configuration

Build Status) codecov Maintainability

Installation

Install the ubi-config package from PyPI.

pip install ubi-config

Usage Example

When there is DEFAULT_UBI_REPO set, user can load the config by passing the config file name to get_loader().load()

from ubiconfig import get_loader

config = get_loader().load('enterprise-linux-server-x86_64.yaml')
# config has been validated and is now a Python object with relevant properties
package_whitelist = config.packages.whitelist
print(package_whitelist)

Or, get all config files from the repo:

from ubiconfig import get_loader

configs = get_loader().load_all()
# returns a list of UbiConfig objects

Or, user can also load the config from local file:

from ubiconfig import get_loader

config = get_loader("/my/config/dir").load('enterprise-linux-server-x86_64.yaml')

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Metadata

Release files for ubi-config 3.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ubi-config 3.3.0
File Size Uploaded Provenance Actions
ubi_config-3.3.0.tar.gz 23.9 kB Without provenance Details for ubi_config-3.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ubi-config 3.3.0
File Interpreter ABI Platform Actions
ubi_config-3.3.0-py3-none-any.whl Python 3 none any Details for ubi_config-3.3.0-py3-none-any.whl

Total release size: 50.9 kB

Release files / ubi_config-3.3.0.tar.gz

Download URL ubi_config-3.3.0.tar.gz
Size 23.9 kB
Tags Source
SHA-256 checksum
How to use checksums
206bf9523a090f137afbee7508a60a0c3d419dbd1fc785228c1f742c49859621
BLAKE2b-256 checksum
How to use checksums
45ad79300e0164e07241da7c25367cb75a29cec308292123e360aa8315028d23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / ubi_config-3.3.0-py3-none-any.whl

Download URL ubi_config-3.3.0-py3-none-any.whl
Size 27.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5d4c916257435a50d1fcbe62b1c4992555b0009e62a137d13da59a1737dcbdf
BLAKE2b-256 checksum
How to use checksums
f091eb77c9d709f2ec53e0b1ea4040d21c792328ddc44fb3a3847f59535e86d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for ubi-config 3.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page