Set of scripts used for operating with Pyxis service.
Requirements
Python 3.7+
Features
pubtools-pyxis-get-operator-indices - get a list of index images satisfying the specified conditions pubtools-pyxis-get-repo-metadata - get metadata of a Comet repo pubtools-pyxis-upload-signatures - upload container signatures to Pyxis
Setup
$ pip install -r requirements.txt $ pip install . or $ python setup.py install
Usage
Get operator indices:
pubtools-pyxis-get-operator-indices \ --pyxis-server https://pyxis-server-url/ \ --pyxis-krb-principal lgallovi@REDHAT.COM \ --ocp-versions-range 4.6 \ --pyxis-insecure pubtools-pyxis-get-operator-indices \ --pyxis-server https://pyxis-server-url/ \ --pyxis-krb-principal iib-stage@REDHAT.COM \ --pyxis-krb-ktfile /path/to/file.keytab \ --ocp-versions-range 4.5-4.7 pubtools-pyxis-get-operator-indices \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --ocp-versions-range 4.6
Get repository metadata:
pubtools-pyxis-get-repo-metadata \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --repo-name some-repo/name pubtools-pyxis-get-repo-metadata \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --repo-name some-repo/name \ --only-internal-registry pubtools-pyxis-get-repo-metadata \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --repo-name some-repo/name \ --only-partner-registry
Upload signatures:
pubtools-pyxis-upload-signatures \
--pyxis-server https://pyxis-server-url/ \
--pyxis-ssl-crtfile /path/to/file.crt \
--pyxis-ssl-keyfile /path/to/file.key \
--signatures '[{"foo": "bar"}]'
pubtools-pyxis-upload-signatures \
--pyxis-server https://pyxis-server-url/ \
--pyxis-ssl-crtfile /path/to/file.crt \
--pyxis-ssl-keyfile /path/to/file.key \
--signatures @signatures.json
Get signatures:
pubtools-pyxis-get-signatures \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --manifest-digest sha256-digest-of-manifest,sha256-digest-of-other-manifest pubtools-pyxis-get-signatures \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --manifest-digest sha256-digest-of-manifest --reference pull-reference-of-image,pull-reference-of-image2
ChangeLog
1.3.8 (2026-02-05)
Unpin unsafe urllib3 version
Add Python 3.11 and 3.14 to CI
1.3.7 (2025-05-06)
python3.9 compatibility fixes
1.3.6 (2025-03-06)
Splitted entrypoitnts to console_scripts and mod.
1.3.5 (2023-03-14)
Delete signatures in parallel
1.3.4 (2023-03-01)
Fix request threads
Drop Python 2 support
1.3.3 (2022-11-09)
Tolerate 409 of signature upload
Add Bandit checks and resolve Bandit findings
1.3.2 (2021-10-15)
Modified the retry requests approach
1.3.1 (2021-08-19)
Fixed building with Python 2.6 distutils
1.3.0 (2021-08-18)
Added documentation
Added support for parallel uploading of signatures
1.2.0 (2021-06-10)
Added the ability to add file as input type for –manifest_digests and –reference for get-signatures
Added entrypoint for removing signatures
1.1.0 (2021-03-29)
Added upload-signatures, get-signatures to interact with pyxis sigstore
Added get-repository-metadata to fetch repository data from pyxis
Fixed py2.6 pip url
1.0.0 (2020-11-27)
Set version to 1.0.0 to indicate stable release
0.2.0 (2020-11-23)
Fix module path
0.1.0 (2020-11-20)
Initial release.
Metadata
Release files for pubtools-pyxis 1.3.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pubtools_pyxis-1.3.8.tar.gz | 26.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pubtools_pyxis-1.3.8-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 42.9 kB
Release files / pubtools_pyxis-1.3.8.tar.gz
| Download URL | pubtools_pyxis-1.3.8.tar.gz |
|---|---|
| Size | 26.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c5c53f70884ac46c3759b5604776c8cf00807b47b91fed5dda9cb37d7266282
|
|
BLAKE2b-256 checksum How to use checksums |
86655fe5337e8e8585d56ffbe4841fb3af932822a236a2bbc4d3299ef99de7fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / pubtools_pyxis-1.3.8-py2.py3-none-any.whl
| Download URL | pubtools_pyxis-1.3.8-py2.py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
214940768c3b22e4b61a2a4142df365d543507a6c30b1711f040f8753daa3592
|
|
BLAKE2b-256 checksum How to use checksums |
ec7c861c17a333869e798394106f82f2f633b44ead3d009eb240ea1e3f08defa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|