Installation¶
Install from GitHub¶
$ pip install git+https://github.com/ChadLin9596/python_utils.git
Custom Installation¶
python_utils is modular. Each submodule has its own optional
dependencies. You only need to install the dependencies for the parts you
use.
Check the full module-level dependency list here:
Examples¶
** Install only segmentation utilities:**
pip install numpy_reduceat_ext numpy
then use
import py_utils.utils_segmentation
Notes¶
Importing a submodule does not pull dependencies from other modules.
If you don’t import a heavy module (e.g.,
utils_torch), its dependencies are never loaded.Each module’s required dependencies are documented at the top of its API page and in the Dependencies page.