معرفی شرکت ها


docker-registry-client-0.5.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Client for Docker Registry V1 and V2
ویژگی مقدار
سیستم عامل -
نام فایل docker-registry-client-0.5.2
نام docker-registry-client
نسخه کتابخانه 0.5.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده John Downs
ایمیل نویسنده john.downs@yodle.com
آدرس صفحه اصلی https://github.com/yodle/docker-registry-client
آدرس اینترنتی https://pypi.org/project/docker-registry-client/
مجوز Apache License 2.0
Docker Registry Client ====================== |Build Status| |pypi| A Python REST client for the Docker Registry It's useful for automating image tagging and untagging .. |Build Status| image:: https://travis-ci.org/yodle/docker-registry-client.svg?branch=master :target: https://travis-ci.org/yodle/docker-registry-client :alt: Build status .. |pypi| image:: https://img.shields.io/pypi/v/docker-registry-client/0.5.1.svg :target: https://pypi.python.org/pypi/docker-registry-client :alt: Latest version released on PyPI Usage ----- The API provides several classes: ``DockerRegistryClient``, ``Repository``, and ``Image``. ``DockerRegistryClient`` has the following methods: - ``namespaces()`` -> a list of all namespaces in the registry - ``repository(repository_name, namespace)`` -> the corresponding repository object - ``repositories()`` -> all repositories in the registry ``Repository`` has the following methods: - ``tags()`` -> a list of all tags in the repository - ``data(tag)`` -> json data associated with ``tag`` - ``image(tag)`` -> the image associated with ``tag`` - ``untag(tag)`` -> remove ``tag`` from the repository - ``tag(tag, image_id)`` -> apply ``tag`` to ``image_id`` ``Image`` has the following methods: - ``get_layer()`` -> binary layer data for image - ``get_json()`` -> json metadata for image - ``get_data(field)`` -> single field from json data - ``ancestry()`` -> ids for image ancestors Alternatives ------------ * `python-dxf <https://pypi.python.org/pypi/python-dxf>`_ (only supports V2) 0.5.2 (2017-06-16) ------------------ - Fix for "AttributeError: 'list' object has no attribute 'keys'" (`Issue #41 <https://github.com/yodle/docker-registry-client/pull/41>`_) - Added usage docs inside README.rst (`Issue #39 <https://github.com/yodle/docker-registry-client/pull/39>`_) (`Issue #45 <https://github.com/yodle/docker-registry-client/pull/45>`_) - Remove error logging when exception raised. (`Issue #37 <https://github.com/yodle/docker-registry-client/pull/37>`_) 0.5.1 (2017-01-12) ------------------ - Fixes to release process with zest 0.5.0 (2017-01-12) ------------------ - First version of docker-registry-client with changelog - Support get and push manifest on protocol v2, schema v1. (`Issue #33 <https://github.com/yodle/docker-registry-client/pull/33>`_)


نحوه نصب


نصب پکیج whl docker-registry-client-0.5.2:

    pip install docker-registry-client-0.5.2.whl


نصب پکیج tar.gz docker-registry-client-0.5.2:

    pip install docker-registry-client-0.5.2.tar.gz