Python 3.6+ interface to libheif library using CFFI
pip install pyheif
brew install libffi libheif
pip install git+https://github.com/david-poirier-csn/pyheif.git
apt install libffi libheif-dev libde265-dev x265-dev
or
yum install libffi libheif-devel libde265-devel x265-devel
then
pip install git+https://github.com/david-poirier-csn/pyheif.git
Sorry, not going to happen!