Collection of common python utils
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file etils-1.13.0.tar.gz.
File metadata
- Download URL: etils-1.13.0.tar.gz
- Upload date:
- Size: 106.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5b60c71f95bcd2d43d4e9fb3dc3879120c1f60472bb5ce19f7a860b1d44f607
|
|
| MD5 |
c43314024a3838be084f14e9526e663e
|
|
| BLAKE2b-256 |
9ba0522bbff0f3cdd37968f90dd7f26c7aa801ed87f5ba335f156de7f2b88a48
|
File details
Details for the file etils-1.13.0-py3-none-any.whl.
File metadata
- Download URL: etils-1.13.0-py3-none-any.whl
- Upload date:
- Size: 170.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9cd4f40fbe77ad6613b7348a18132cc511237b6c076dbb89105c0b520a4c6bb
|
|
| MD5 |
c6195df69dcb685a374035acd182c24a
|
|
| BLAKE2b-256 |
e79887b5946356095738cb90a6df7b35ff69ac5750f6e783d5fbcc5cb3b6cbd7
|