Registry / devops / olot
library0.1.17pypypiunverified

OCI layers on top — a Python library for building and manipulating OCI container images at the layer level. Current version 0.1.17, active development, monthly releases.

pip install olot
INSTALL
IMPORT
SIG · OLOT
O
olot
devopspythonv0.1.17
Install
3.5s avg
Import
Disk
27MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.1.17 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 29MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.5s · import 0.000s · 29MB
27MB installed
● package 27MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RegistryClient
from olot import RegistryClient
from olot import RegistryClient

Initialize a registry client for OCI operations.

import os from olot import RegistryClient # Use environment variables for auth registry = os.environ.get('REGISTRY_URL', 'https://index.docker.io/v1/') username = os.environ.get('REGISTRY_USERNAME', '') password = os.environ.get('REGISTRY_PASSWORD', '') client = RegistryClient(registry, username, password) print('Connected to registry:', registry)
Debug
Known issues
breakingRegistryClient constructor changed signature in 0.1.15: removed `insecure` parameter, added `tls_verify`.
fix
Replace `insecure=True` with `tls_verify=False`.
affects: >=0.1.15
deprecatedolot.push_layer() is deprecated since 0.1.16, use RegistryClient.push() instead.
fix
Migrate to RegistryClient.push(manifest, blobs).
affects: >=0.1.16
gotchaBlob.content is a generator by default; calling it multiple times yields empty after first iteration. Always consume or convert to bytes once.
fix
Use `content = b''.join(blob.content)` for reliable reuse.
affects: all
Upgrade
Version history
0.1.17latest on PyPI · released Apr 6, 2026
Audit
Dependencies
requestsrequiredHTTP requests to container registries
pyyamlrequiredYAML parsing for OCI manifests
Agent activity
4 hits · last 30 days
node
4
Resources
olot — pip install olot · libregistry