{"id":15792847,"url":"https://github.com/dd-decaf/tag-spy","last_synced_at":"2026-05-05T17:31:38.654Z","repository":{"id":57473205,"uuid":"259931394","full_name":"DD-DeCaF/tag-spy","owner":"DD-DeCaF","description":"Identify the latest DD-DeCaF tag on a particular Docker image.","archived":false,"fork":false,"pushed_at":"2020-05-29T14:17:41.000Z","size":98,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-11T23:18:55.813Z","etag":null,"topics":["docker","docker-image","docker-tags","tag"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/tag-spy/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DD-DeCaF.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":".github/CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-29T13:22:57.000Z","updated_at":"2020-05-29T14:12:32.000Z","dependencies_parsed_at":"2022-09-26T17:40:50.510Z","dependency_job_id":null,"html_url":"https://github.com/DD-DeCaF/tag-spy","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DD-DeCaF%2Ftag-spy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DD-DeCaF%2Ftag-spy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DD-DeCaF%2Ftag-spy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DD-DeCaF%2Ftag-spy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DD-DeCaF","download_url":"https://codeload.github.com/DD-DeCaF/tag-spy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523874,"owners_count":20791444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","docker-tags","tag"],"created_at":"2024-10-04T23:05:33.767Z","updated_at":"2026-05-05T17:31:38.608Z","avatar_url":"https://github.com/DD-DeCaF.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==============\nDocker Tag Spy\n==============\n\n.. image:: https://img.shields.io/pypi/v/tag-spy.svg\n   :target: https://pypi.org/project/tag-spy/\n   :alt: Current PyPI Version\n\n.. image:: https://img.shields.io/pypi/pyversions/tag-spy.svg\n   :target: https://pypi.org/project/tag-spy/\n   :alt: Supported Python Versions\n\n.. image:: https://img.shields.io/pypi/l/tag-spy.svg\n   :target: https://www.apache.org/licenses/LICENSE-2.0\n   :alt: Apache Software License Version 2.0\n\n.. image:: https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg\n   :target: https://github.com/dd-decaf/tag-spy/blob/master/.github/CODE_OF_CONDUCT.md\n   :alt: Code of Conduct\n\n.. image:: https://github.com/DD-DeCaF/tag-spy/workflows/CI/badge.svg\n   :target: https://github.com/DD-DeCaF/tag-spy/workflows/CI\n   :alt: GitHub Actions\n\n.. image:: https://codecov.io/gh/dd-decaf/tag-spy/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/dd-decaf/tag-spy\n   :alt: Codecov\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :target: https://github.com/ambv/black\n   :alt: Black\n\n.. image:: https://readthedocs.org/projects/tag-spy/badge/?version=latest\n   :target: https://tag-spy.readthedocs.io/en/latest/?badge=latest\n   :alt: Documentation Status\n\n.. summary-start\n\nIdentify the latest DD-DeCaF tag on a particular Docker image.\n\nThe package was designed to only depend on the standard library in order to not have\nany fast moving dependencies. It depends on Python 3.7+ for ``fromisoformat`` date\nparsing.\n\nUsage\n=====\n\nThe main purpose of this package is to provide a command line interface (CLI) for\nretrieving the latest of all of a Docker image's tags. The DD-DeCaF organization uses a\nparticular tag format in order to manage dependencies between Docker images. Take \n``dddecaf/wsgi-base:alpine_2020-04-28_24fe0a0`` as an example, it consists of the base\ntag ``alpine``, the date when it was built, and the short hash of the git commit from\nwhich the image was generated. The corresponding \"latest\" image is\n``dddecaf/wsgi-base:alpine``, however, child images should depend on the explicit tag.\nIn order to manage this more easily, this package provides a script for retrieving the\ncorrect information. Sometimes, multiple images exist for the same date which is why\nthe label for the exact build timestamp is required. The following command\n\n.. code-block:: console\n\n    tag-spy dddecaf/wsgi-base alpine dk.dtu.biosustain.wsgi-base.alpine.build.timestamp\n\nmay result in something like\n\n.. code-block:: console\n\n    alpine_2020-04-28_24fe0a0\n\nFor more information, also check out the help.\n\n.. code-block:: console\n\n    tag-spy --help\n\nInstall\n=======\n\nIt's as simple as:\n\n.. code-block:: console\n\n    pip install tag-spy\n\nCopyright\n=========\n\n* Copyright © 2020, DD-DeCaF.\n* Free software distributed under the `Apache Software License 2.0\n  \u003chttps://www.apache.org/licenses/LICENSE-2.0\u003e`_.\n\n.. summary-end\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdd-decaf%2Ftag-spy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdd-decaf%2Ftag-spy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdd-decaf%2Ftag-spy/lists"}