etils
توضیحات
Collection of common python utils
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | etils-1.9.4 |
| نام | etils |
| نسخه کتابخانه | 1.9.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Conchylicultor <etils@google.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/etils/ |
| مجوز | - |
# Etils
[](https://github.com/google/etils/actions/workflows/pytest_and_autopublish.yml)
[](https://badge.fury.io/py/etils)
[](https://etils.readthedocs.io/en/latest/?badge=latest)
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):
```python
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`](https://etils.readthedocs.io/en/latest/epath.html): pathlib-like API for `gs://`, `s3://`,...
* [`etils.etree`](https://etils.readthedocs.io/en/latest/etree.html): Tree utils for `tf.nest`, `jax.tree_utils`, DeepMind `tree`.
* [`etils.enp`](https://etils.readthedocs.io/en/latest/enp.html): Numpy utils.
* [`etils.ecolab`](https://etils.readthedocs.io/en/latest/ecolab.html): Colab utils.
* [`etils.array_types`](https://etils.readthedocs.io/en/latest/array_types.html): Typing annotations for jax, numpy,... arrays
* [`etils.edc`](https://etils.readthedocs.io/en/latest/edc.html): Dataclasses utils.
* [`etils.epy`](https://etils.readthedocs.io/en/latest/epy.html): Collection of generic python utils.
* [`etils.eapp`](https://etils.readthedocs.io/en/latest/eapp.html): Absl flags/app utils.
* [API design guide](https://etils.readthedocs.io/en/latest/api-design.html).
## Installation
Because each module is independent and require different dependencies, you
can select which modules deps to install:
```sh
pip install etils[array_types,epath,epy]
```
*This is not an official Google product.*
نیازمندی
| مقدار | نام |
|---|---|
| xtr | etils[array-types]; |
| xtr | etils[eapp]; |
| xtr | etils[ecolab]; |
| xtr | etils[edc]; |
| xtr | etils[enp]; |
| xtr | etils[epath]; |
| xtr | etils[epath-gcs]; |
| xtr | etils[epath-s3]; |
| xtr | etils[epy]; |
| xtr | etils[etqdm]; |
| xtr | etils[etree]; |
| xtr | etils[etree-dm]; |
| xtr | etils[etree-jax]; |
| xtr | etils[etree-tf]; |
| xtr | etils[enp]; |
| xtr | pytest; |
| xtr | pytest-subtests; |
| xtr | pytest-xdist; |
| xtr | pyink; |
| xtr | pylint>=2.6.0; |
| xtr | chex; |
| xtr | fiddle; |
| xtr | torch; |
| xtr | optree; |
| xtr | tensorflow_datasets; |
| xtr | pydantic; |
| xtr | sphinx-apitree[ext]; |
| xtr | etils[all,dev]; |
| xtr | absl-py; |
| xtr | simple_parsing; |
| xtr | etils[epy]; |
| xtr | jupyter; |
| xtr | numpy; |
| xtr | mediapy; |
| xtr | packaging; |
| xtr | protobuf; |
| xtr | etils[enp]; |
| xtr | etils[epy]; |
| xtr | etils[etree]; |
| xtr | etils[epy]; |
| xtr | numpy; |
| xtr | einops; |
| xtr | etils[epy]; |
| xtr | fsspec; |
| xtr | typing_extensions; |
| xtr | zipp; |
| xtr | etils[epy]; |
| xtr | gcsfs; |
| xtr | etils[epath]; |
| xtr | s3fs; |
| xtr | etils[epath]; |
| xtr | typing_extensions; |
| xtr | absl-py; |
| xtr | tqdm; |
| xtr | etils[epy]; |
| xtr | etils[array-types]; |
| xtr | etils[epy]; |
| xtr | etils[enp]; |
| xtr | etils[etqdm]; |
| xtr | dm-tree; |
| xtr | etils[etree]; |
| xtr | jax[cpu]; |
| xtr | etils[etree]; |
| xtr | tensorflow; |
| xtr | etils[etree]; |
| xtr | etils[ecolab]; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11 | Python |
نحوه نصب
نصب پکیج whl etils-1.9.4:
pip install etils.whl
نصب پکیج tar.gz etils-1.9.4:
pip install etils.tar.gz