Collection of common python utils
Project Links
Meta
Author: Conchylicultor
Requires Python: >=3.10
Classifiers
Programming Language
- Python :: 3
- Python :: 3 :: Only
License
- OSI Approved :: Apache Software License
Intended Audience
- Developers
- Science/Research
Topic
- Software Development :: Libraries :: Python Modules
Etils
etils (eclectic utils) is an open-source collection of utils for python.
Each top-level submodule is a self-contained independent module (with its
own BUILD
rule), meant to be imported individually. To avoid collisions with
other modules/variables, module names are prefixed by e
(arbitrary
convention):
from etils import epath # Path utils
from etils import epy # Python utils
from etils import ejax # Jax utils
...
Becauses each module is independent, only the minimal required libraries are
imported (for example, importing epy
won't suffer the cost of importing TF,
jax,...)
Documentation
etils.epath
: pathlib-like API forgs://
,s3://
,...etils.etree
: Tree utils fortf.nest
,jax.tree_utils
, DeepMindtree
.etils.enp
: Numpy utils.etils.ecolab
: Colab utils.etils.array_types
: Typing annotations for jax, numpy,... arraysetils.edc
: Dataclasses utils.etils.epy
: Collection of generic python utils.etils.eapp
: Absl flags/app utils.- API design guide.
Installation
Because each module is independent and require different dependencies, you can select which modules deps to install:
pip install etils[array_types,epath,epy]
This is not an official Google product.
Jul 15, 2025
1.13.0
Mar 10, 2025
1.12.2
Mar 06, 2025
1.12.1
Feb 08, 2025
1.12.0
Nov 27, 2024
1.11.0
Oct 17, 2024
1.10.0
Sep 03, 2024
1.9.4
Aug 30, 2024
1.9.3
Jun 12, 2024
1.9.2
Jun 04, 2024
1.9.1
May 31, 2024
1.9.0
Mar 19, 2024
1.8.0
Feb 15, 2024
1.7.0
Dec 11, 2023
1.6.0
Oct 24, 2023
1.5.2
Oct 11, 2023
1.5.1
Sep 19, 2023
1.5.0
Jul 31, 2023
1.4.1
Jul 25, 2023
1.4.0
May 12, 2023
1.3.0
Apr 04, 2023
1.2.0
Mar 20, 2023
1.1.1
Mar 13, 2023
1.1.0
Jan 09, 2023
1.0.0
Oct 28, 2022
0.9.0
Sep 12, 2022
0.8.0
Aug 09, 2022
0.7.1
Aug 08, 2022
0.7.0
May 31, 2022
0.6.0
May 04, 2022
0.5.1
Mar 23, 2022
0.5.0
Feb 03, 2022
0.4.0
Jan 07, 2022
0.3.3
Jan 04, 2022
0.3.2
Jan 04, 2022
0.3.1
Dec 22, 2021
0.3.0
Dec 22, 2021
0.2.0
Dec 07, 2021
0.1.0