Skip to content

Releases: google/etils

v1.14.0

Choose a tag to compare

@github-actions github-actions released this 04 Mar 17:41
  • epy:
    • Add a epy.classproperty
    • Add a epy.getuser, colab-friendly alias of getpass.getuser
    • Better error when epy.pretty_repr_top_level is miss-used.
    • Add support for dict subclasses to epy.pretty_repr.
    • Add epy.Lines.Repr to escape quotes '' when display
  • ecolab:
    • ecolab.inspect (or ;i) now display proto extensions.
    • adhoc:
      • Use the official DM colab backend.
      • inspect.getfile cache is correctly reset
      • Better error message when invalid reload value.
      • Fix error when reloading object with dynamic __getattr__.
    • Add ecolab.iter_tab(): Each element will be displayed in a new tab.
  • epath:
    • Add path.absolute()
    • Add path.listdir(), a convenience alias for list(path.iterdir())

v1.13.0

Choose a tag to compare

@github-actions github-actions released this 15 Jul 10:29
  • ecolab:
    • adhoc: Better error message for adhoc invalidate with epy.reraise
    • Fix Digraph patch_graphviz()
    • Fix pretty display with syntax-highlighting for ;l and ;h
    • adhoc.inspect: Cleaner display for protos
  • epath:
    • Fix error in path.is_file() when the file do not exists.
  • edc:
    • Add a edc.ContextStack() util for a thread-safe / contextvars-aware
      stack.
  • epy:
    • epy.pretty_repr supports collections.UserDict, pydantic,
      immutabledict objects.
    • epy.pretty_repr dict keys are pretty-printed.
    • Support __setattr__ and __delattr__ on LazyModules.
    • Fix epy.ContextVar descriptor that were sharing their state.
  • etree:
    • Add a etree.copy to copy a tree structure without modifying its leaves

v1.12.2

Choose a tag to compare

@github-actions github-actions released this 10 Mar 15:14
  • enp:
    • Fix orbax ArraySpec issue.

v1.12.1

Choose a tag to compare

@github-actions github-actions released this 06 Mar 23:54
  • enp:
    • Add enp.flatten / enp.unflatten to flatten batch shape using an
      einops-like syntax.

v1.12.0

Choose a tag to compare

@github-actions github-actions released this 08 Feb 22:43
  • epy:
    • Add experimental util for ml_python + multi-process compatibility
      for adhoc-imports (when using PyGrain).
    • epy.lazy_api_imports: Make lazy importing thread safe.
    • epy.StrEnum: Fix != operator.
  • epath:
    • Supports hf:// urls.
  • ecolab:
    • Make mediapy lazy

v1.11.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 16:01
  • enp:
    • Make enp.testing.parametrize_xnp() import only requested xnp modules.
    • Fix orbax error when inspecting specs of an orbax checkpoint.
  • ecolab:
    • ecolab.inspect: Proto are better displayed (hide attributes
      DESCRIPTOR, Extensions in sub-section)
  • epy:
    • epy.lazy_api_imports: Fix infinite recursion when importing sub-module
  • exm:
    • Add dummy implementation of the API to simplify open-sourcing.

v1.10.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 08:34
  • epy:
    • Add frozen dataclass support for epy.ContextManager
    • Make epy.StrEnum truly case-insensitive
    • Support adhoc import of proto files with hyphen.
    • Add fiddle supports to epy.pretty_repr
  • enp: Add ArraySpec support for grain.python.SharedMemoryArrays.

v1.9.4

Choose a tag to compare

@github-actions github-actions released this 03 Sep 08:05
  • Return Python 3.10 support.

v1.9.3

Choose a tag to compare

@github-actions github-actions released this 30 Aug 14:25
  • eapp:
    • Allow extra kwargs in eapp.make_flags_parser()
  • epath:
    • Fix epath.Path pydantic deserialization for URI-style paths
  • epy:
    • Add epy.is_test to check whether we're running in a test environment.
    • Add epy.typing.Json.
    • Add epy.ExitStack which allows setting the contextmanagers during init.
    • Add proto support for epy.binary_adhoc
    • Hide reraise from the traceback for cleaner error messages
  • exm:
    • Add exm.url_to_python_only_logs() and exm.curr_job_name() to add
      artifact to Python only logs (without all the verbose C++ junk ).
    • Fix a bug which makes exm.current_experiment crash

v1.9.2

Choose a tag to compare

@github-actions github-actions released this 12 Jun 10:22
  • epath:
    • Support pydantic serialization of epath.Path