Skip to main content

Set of libraries commonly used by multiple SRE projects

Project description

Set of libraries commonly used by multiple SRE projects:

  • container.Image: class for container image inspection.
  • container.Skopeo: wrapper around Skopeo.
  • utils.replace_values: deep replace of object values according to values map.
  • utils.retry: decorator to add resilience to function calls.


From PyPI:

$ pip install sretoolbox

From source:

$ python install


Just import the library you want. Example:

>>> from sretoolbox import container
>>> image = container.Image('fedora')
>>> if image:
...     print('Image exists!')
Image exists!


Install the development requirements:

$  make develop

Run the code checks and tests:

$  make check

Project details

Download files

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

Files for sretoolbox, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size sretoolbox-0.3.0-py3-none-any.whl (14.9 kB) File type Wheel Python version py3 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