magpie.compat ============= .. py:module:: magpie.compat Classes ------- .. autoapisummary:: magpie.compat.VersionInterface magpie.compat.TupleVersion Module Contents --------------- .. py:class:: VersionInterface Bases: :py:obj:`object` .. py:property:: major :type: int :abstractmethod: .. py:property:: minor :type: int :abstractmethod: .. py:property:: patch :type: int :abstractmethod: .. py:class:: TupleVersion Bases: :py:obj:`NamedTuple` .. py:attribute:: epoch :type: int .. py:attribute:: release :type: Tuple[int, Ellipsis] .. py:attribute:: dev :type: Tuple[str, int] | None .. py:attribute:: pre :type: Tuple[str, int] | None .. py:attribute:: post :type: Tuple[str, int] | None .. py:attribute:: local :type: Tuple[int | str, Ellipsis] | None