This package simplifies the calculations of the light polarization for arbitrary input polarizations and an unlimited amount of arbitrary optical elements. It can easily be installed via
pip install pyjones
The documentation is hosted under https://ntolazzi.github.io/pyjones/ or can be build from the docs folder via sphinx.