JavaScript is required to toggle light/dark mode..
The package is published on PyPI and can be installed with pip (or any equivalent):
pip
pip install tea-data-file-conversion
Next, see the section about usage to see how to use it.