labtools - A collection of common tools and objects for software development¶
License:
labtools is made available under the GNU GPL version 3 license
(http://www.gnu.org/copyleft/gpl.html) a text copy of which is available in
this bundle.
The module provides two pathetically stupid methods (implemented by an instance of the version_tool object) that allow identification and comparison of the current version of the tool.
version(aslist=False) returns a dot-separated version string. If aslist is True, returns the terms in the version as a list for comparison.
version_acceptable(version_list) returns True if this version of the library is compatible with the desired version
Modules are listed in approximate order of frequency of use.
Contents:
Special module-based methods¶
The module provides two methods (implemented by version_tool.py) that allow identification and comparison of the current version of the tool.
version(aslist=False) returns a dot-separated version string. If aslist is True, returns the terms in the version as a list for comparison.
version_acceptable(desired_version, upperbound=max_desired_version) returns True if the installed version of labtools is at least as high as desired_version, and below max_desired_version if provided.