Set license to EUPL 1.1 + update code (python 2/3)