constantly API Documentation

Class Hierarchy

  • _ConstantsContainerType('', (object,), {})
    • constantly._constants._ConstantsContainer - _ConstantsContainer is a class with attributes used as symbolic constants. It is up to subclasses to specify what kind of constants are allowed.
      • constantly.Names - A Names subclass contains constants which differ only in their names and identities.
      • constantly.Values - A Values subclass contains constants which are associated with arbitrary values.
        • constantly.Flags - A Flags subclass contains constants which can be combined using the common bitwise operators (|, &, etc) similar to a bitvector from a language like C.
  • constantly._version.VersioneerConfig - Undocumented
  • Exception
    • constantly._version.NotThisMethod - Undocumented
  • object
    • constantly._constants._Constant -
      • constantly.FlagConstant - FlagConstant defines an attribute to be a flag constant within a collection defined by a Flags subclass.
      • constantly.NamedConstant - NamedConstant defines an attribute to be a named constant within a collection defined by a Names subclass.
      • constantly.ValueConstant - ValueConstant defines an attribute to be a named constant within a collection defined by a Values subclass.
  • type
    • constantly._constants._ConstantsContainerType - _ConstantsContainerType is a metaclass for creating constants container classes.