This wraps @ThadHouse's picocolorsensor C++ WPILib side for Python.
Available on PyPI for desktop simulation.
Download for the roboRIO:
robotpy-installer download -- --extra-index-url https://m.devpi.net/auscompgeek/rio-2023/+simple picocolorsensor