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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ldit-0.0.1.tar.gz
(2.3 kB
view details)
Built Distributions
ldit-0.0.1-py3-none-any.whl
(3.6 kB
view details)
ldit-0.0.1-py2-none-any.whl
(3.6 kB
view details)
File details
Details for the file ldit-0.0.1.tar.gz
.
File metadata
- Download URL: ldit-0.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eac4e51e1a8eafde08a9fd43008834dc57bf70877f0b0a954ccdf68329ab8a83 |
|
MD5 | 680a7ecc847cb157c15123ce1da216de |
|
BLAKE2b-256 | 28bd81947accd9f7ec2dcc7f68243356d019e85e3d61b4e610bbd8d7b43a782d |
File details
Details for the file ldit-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: ldit-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a382e6f8c7051a26d8d2255e8d4f5f37518b758762af4bfd56a5ff62d239a62b |
|
MD5 | a22b7b060f25d9a75bb0d9a77b899e3a |
|
BLAKE2b-256 | 5cbff6d046933a52f3776fbdac3365574372c5cb8eb2362d975ecd03292c88f5 |
File details
Details for the file ldit-0.0.1-py2-none-any.whl
.
File metadata
- Download URL: ldit-0.0.1-py2-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef796c9095a957c3a2ade0e5367ec964e853df8799e91957fe8e6ded1f16d39e |
|
MD5 | 733865cd5b65d62bead66f48a3aca002 |
|
BLAKE2b-256 | 45b81eada9023c59b8663b1b2913a9e546266f482df80210f53754783d1b6805 |