{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/5"}],"enrichment":{"capability":"Parses Docker image reference strings into their component parts (registry, repository, tag, digest) following Docker's distribution reference grammar and normalization rules.","skillfed_tags":["docker","container-registry","parsing"],"use_cases":["Normalize user-provided image names to ensure consistent registry and namespace handling.","Extract registry hostname and repository path from image strings for routing to custom registries.","Parse image digests and tags for validation or logging in deployment workflows.","Validate Docker image reference syntax before passing to container runtime APIs."],"what_it_does":"docker-image-py is a Python library for parsing Docker image reference strings into structured components. It implements the Docker distribution reference grammar, allowing you to extract and normalize registry hostnames, repository names, tags, and content digests from image strings.\n\nThe package provides two main parsing modes: parse_normalized_named() applies Docker CLI conventions (filling in docker.io for unqualified names, adding library/ for official images), while parse() performs raw grammar-level parsing without inference. It's useful in tools that need to validate, normalize, or decompose image references programmatically.","worth_installing":"Yes. The package solves a specific, well-defined problem (Docker image reference parsing) with low install friction, active maintenance, permissive licensing, and no known vulnerabilities. It's appropriate for any tool that needs to handle Docker image strings programmatically."},"id":"docker-image-py","links":{"html":"https://skillfed.io/packages/docker-image-py","md":"https://skillfed.io/packages/docker-image-py.md","pypi":"https://pypi.org/project/docker-image-py/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-29","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"docker-image-py","python_support":"supports_current","summary":"Parse docker image as distribution does."},"popularity":{"monthly_downloads":3169705,"position":2715,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.2.0"}
