Skip to main content

gceimgutils

A collection of utilities for image management in Google Compute Engine

While the functionality provided by the utilities is more or less a duplication of functionality available with the gcloud CLI tools from the google-cloud-sdk the google-cloud-sdk does not provide consumable sources for packaging in a distribution nor is there a project for upstream contributions. This project focuses on image management only.

All utilities expect the service account credentials in ~/.config/gce. The name of the credentials file is expected to match the project name followed by the .json extension.

Installation

openSUSE and SUSE Linux Enterprise

> zypper in python3-gceimgutils

PyPI

> pip install gceimgutils

Utilities

gcedeprecateimg - TBI

=======

A command line utility to deprecate images in GCE.

The image set as the replacement is removed from the list of potential images to be deprecated before any matching takes place. Therefore, the deprecation search criteria specified with --image-name-frag or --image-name-match cannot match the replacement image.

Usage

> gcedeprecateimg --project example --image-name-match v15 --replacement-name exampleimage_v16

See the man pages for more information.

man gcedeprecateimg

gcelistimg - TBI

=======

A command line utility to list the images in a project.

Usage

> gcelistimg --project example --image-name-frag foo

See the man pages for more information.

man gcelistimg

gceremoveimg

A command line utility to remove images in GCE.

Usage

> gceremoveimg --project example --image-name-match v15

See the man pages for more information.

man gceremoveimg

Release files for gceimgutils 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gceimgutils 1.5.0
File Size Uploaded
gceimgutils-1.5.0.tar.gz 36.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gceimgutils 1.5.0
File Interpreter ABI Platform
gceimgutils-1.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 76.9 kB

Release files / gceimgutils-1.5.0.tar.gz

Download URL gceimgutils-1.5.0.tar.gz
Size 36.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d97c65cbe7d9e5f59b1673600276b7fab53fb850c59f02772ed266ba3be1f9ea
BLAKE2b-256 checksum
How to use checksums
dab4b94acaf9a06c9475fbf62022ef114c9c4357889fa530bf0c9e713ff5b84a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / gceimgutils-1.5.0-py3-none-any.whl

Download URL gceimgutils-1.5.0-py3-none-any.whl
Size 40.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ac30693769c49ba01c4d52ea5a82c58168c8a0c5bf754fdb9eabd7744e3af6e
BLAKE2b-256 checksum
How to use checksums
34591038711c1ba8e569fa2b2a4c17fbac3e29f4b10c059b8b43f15290420309
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.10.0

2 release files

0.9.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page