class asdf.versioning.AsdfVersion(version)[source]

Bases: AsdfVersionMixin, Version

This class adds features to the existing Version class from the semantic_version module. Namely, it allows Version objects to be constructed from tuples and lists as well as strings, and it allows Version objects to be compared with tuples, lists, and strings, instead of just other Version objects.

If any of these features are added to the Version class itself (as requested in, then this class will become obsolete.