AsdfSpec

class asdf.versioning.AsdfSpec(*args, **kwargs)[source]

Bases: semantic_version.base.SimpleSpec

Methods Summary

filter(self, versions)

Filter an iterable of versions satisfying the Spec.

match(self, version)

Check whether a Version satisfies the Spec.

select(self, versions)

Select the best compatible version among an iterable of options.

Methods Documentation

filter(self, versions)[source]

Filter an iterable of versions satisfying the Spec.

match(self, version)[source]

Check whether a Version satisfies the Spec.

select(self, versions)[source]

Select the best compatible version among an iterable of options.