Hi Vesko,
Please find the script attached. It can be used with:
$ python pielou_e.py <your_biom_table> <name_of_output_file>
The script requires Python 3, BIOM-Format >= 2.1.5 and scikit-bio >= 0.5.0. If you've got conda, this environment can be created with:
$ conda create --name pielou_e -c bioconda python=3 biom-format scikit-bio
Best,
Daniel