Installation
Note
ler supports Python 3.10+ (but 3.11 recommended) and utilizes multi-core CPUs and multi-threaded CPUs when available.
For package development and contribution refer here (ler for development).
uv add ler
pip install ler
This will also install the dependencies needed by the lastest ler version.
ler for development
To install ler for development purposes use github.ler. Use conda environment to avoid dependency error.
git clone https://github.com/hemantaph/ler.git
cd ler
conda env create -f ler.yml
conda activate ler
pip install -e .
git clone https://github.com/hemantaph/ler.git
cd ler
conda env update --file ler.yml
pip install -e .
Installation of numba with conda
conda install -c conda-forge numba
Note
For arm64 architecture processor (e.g. Apple Silicon) you might need to install some specific dependencies with conda. There can be errors related to multiprocessing on either arm64 or x86_64 architecture. This can be resolved by using the main() function as shown in this example.