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']
Release files for ldit 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ldit-0.0.1.tar.gz | 2.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ldit-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
| ldit-0.0.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 9.5 kB
Release files / ldit-0.0.1.tar.gz
| Download URL | ldit-0.0.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eac4e51e1a8eafde08a9fd43008834dc57bf70877f0b0a954ccdf68329ab8a83
|
|
BLAKE2b-256 checksum How to use checksums |
28bd81947accd9f7ec2dcc7f68243356d019e85e3d61b4e610bbd8d7b43a782d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / ldit-0.0.1-py3-none-any.whl
| Download URL | ldit-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a382e6f8c7051a26d8d2255e8d4f5f37518b758762af4bfd56a5ff62d239a62b
|
|
BLAKE2b-256 checksum How to use checksums |
5cbff6d046933a52f3776fbdac3365574372c5cb8eb2362d975ecd03292c88f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / ldit-0.0.1-py2-none-any.whl
| Download URL | ldit-0.0.1-py2-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
ef796c9095a957c3a2ade0e5367ec964e853df8799e91957fe8e6ded1f16d39e
|
|
BLAKE2b-256 checksum How to use checksums |
45b81eada9023c59b8663b1b2913a9e546266f482df80210f53754783d1b6805
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|