Identify the latest DD-DeCaF tag on a particular Docker image.
The package was designed to only depend on the standard library in order to not have any fast moving dependencies. It depends on Python 3.7+ for fromisoformat date parsing.
Usage
The main purpose of this package is to provide a command line interface (CLI) for retrieving the latest of all of a Docker image’s tags. The DD-DeCaF organization uses a particular tag format in order to manage dependencies between Docker images. Take dddecaf/wsgi-base:alpine_2020-04-28_24fe0a0 as an example, it consists of the base tag alpine, the date when it was built, and the short hash of the git commit from which the image was generated. The corresponding “latest” image is dddecaf/wsgi-base:alpine, however, child images should depend on the explicit tag. In order to manage this more easily, this package provides a script for retrieving the correct information. Sometimes, multiple images exist for the same date which is why the label for the exact build timestamp is required. The following command
tag-spy dddecaf/wsgi-base alpine dk.dtu.biosustain.wsgi-base.alpine.build.timestamp
may result in something like
alpine_2020-04-28_24fe0a0
For more information, also check out the help.
tag-spy --help
Install
It’s as simple as:
pip install tag-spy
Copyright
Copyright © 2020, DD-DeCaF.
Free software distributed under the Apache Software License 2.0.
Metadata
Release files for tag-spy 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tag-spy-0.5.0.tar.gz | 30.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tag_spy-0.5.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 51.1 kB
Release files / tag-spy-0.5.0.tar.gz
| Download URL | tag-spy-0.5.0.tar.gz |
|---|---|
| Size | 30.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2922c84907ff24ce7c24f1810dbdbd60dcb195a0adbd9bc6e68c6fb16f7edb0c
|
|
BLAKE2b-256 checksum How to use checksums |
29c399ea44bb2362967660a360d7b6686aa695c930ed37a2c8293038e8e10037
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Release files / tag_spy-0.5.0-py2.py3-none-any.whl
| Download URL | tag_spy-0.5.0-py2.py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5d463a485126714272e058269323ab3416eb3ed1966a54b88b2101f90ec52c04
|
|
BLAKE2b-256 checksum How to use checksums |
0371253c734bd1036533c9aea96ccfa515c3045526d6b548205bcf0194f490fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|