epy#
from etils import epy
Python utils public API.
All symbols#
Module#
Python utils public API. |
|
|
Class#
ContextManager allows to define contextmanager class using yield-syntax. |
|
Util to build multi-line text. |
|
Like |
Function#
Raise a better error message in case of |
|
Unwrap the function to support colab module reload. |
|
Wrap the function to support colab module reload. |
|
Wrapper around |
|
Pretty diff between 2 objects. |
|
Class decorator which prevent mutating attributes after |
|
Similar to |
|
Returns |
|
Returns True if running in a notebook (Colab, Jupyter) environment. |
|
Like |
|
Lazy-import an API ( |
|
Context Manager which lazy loads packages. |
|
Context manager which reraise exceptions with an additional message. |
|
Pretty print |
|
Pretty |
|
Pretty |
|
Reraise an exception with an additional message. |
|
Reverse f-string. |
|
Split the iterable into 2 lists (false, true), based on the predicate. |
|
Equivalent of |
|
Iterate over items of dictionaries grouped by their keys. |