Skip to main content

List Docker hub Image Tags.

Project description

ldit

List Docker hub Image Tags.

Requirements

  • python>=3.2
  • requests

Installation

$ pip3 install -U ldit

Usage

  • CLI
ldit [-h] image [image ...]

positional arguments:
  image       image name, eg. fedora, google/debian etc.

optional arguments:
  -h, --help  show this help message and exit
  • As module
from ldit.ldit import list_tags

print(list_tags('image'))

Example

  • CLI
$ ldit google/debian fedora
The image 'google/debian' on Docker Hub got following tag(s):
jessie
wheezy
The image 'fedora' on Docker Hub got following tag(s):
31
rawhide
30
29
latest
26
27
28
branched
25
26-modular
modular
24
heisenbug
20
21
22
23
  • As module
>>> from ldit.ldit import list_tags
>>> print(list_tags('google/debian'))
['jessie', 'wheezy']
>>> print(list_tags('fedora'))
['31', 'rawhide', '30', '29', 'latest', '26', '27', '28', 'branched', '25', '26-modular', 'modular', '24', 'heisenbug', '20', '21', '22', '23']

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ldit, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ldit-0.0.1-py2-none-any.whl (3.6 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size ldit-0.0.1-py3-none-any.whl (3.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ldit-0.0.1.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page