pydistsim.utils.helpers
Functions
Return the first item in an iterable, or a default value if the iterable is empty. |
|
Returns true if the iterable has at least one element without consuming it entirely. |
|
Returns true if the iterable has one element without consuming it entirely. |
|
Measure the sortedness of a sequence. |
|
Compare two objects and their attributes, but allow for non immutable attributes to be equal up to their class. |
|
Useful function to make mixins with baseclass typehint without actually inheriting from it. |