awslimitchecker.version module

class awslimitchecker.version.AWSLimitCheckerVersion(release, url, commit=None, tag=None)[source]

Bases: object

__dict__ = dict_proxy({'__module__': 'awslimitchecker.version', '__str__': <function __str__>, '__repr__': <function __repr__>, 'version_str': <property object>, '__dict__': <attribute '__dict__' of 'AWSLimitCheckerVersion' objects>, '__weakref__': <attribute '__weakref__' of 'AWSLimitCheckerVersion' objects>, '__doc__': None, '__init__': <function __init__>})
__init__(release, url, commit=None, tag=None)[source]
__module__ = 'awslimitchecker.version'

Return a representation of this object that is valid Python and will create an idential AWSLimitCheckerVersion object.

Return type:string

Human-readable string representation of this version object, in the format: “version_str <url>”

Return type:string

list of weak references to the object (if defined)


The version string for the currently-running awslimitchecker; includes git branch and tag information.

Return type:string

Returns the currently-installed awslimitchecker version, and a best-effort attempt at finding the origin URL and commit/tag if installed from an editable git clone.

Returns:awslimitchecker version
Return type:string