awslimitchecker.version module

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

Bases: object

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

Initialize self. See help(type(self)) for accurate signature.

__module__ = 'awslimitchecker.version'

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

Return type:str

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

Return type:str

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:str

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:str