Light exposure fundamentally influences human physiology and behavior, with light being the most important zeitgeber of the circadian system. Throughout the day, people are exposed to a variety of different scenes differing in light level, spectral composition and spatio-temporal properties. Personalized light exposure can be measured through wearable light loggers and dosimeters, including wrist-worn actimeters containing light sensors, yielding time courses of person-centric light exposure. There is a growing interest in relating light exposure patterns to health outcomes, requiring analytic techniques to summarize light exposure time courses. Building on the previously published pyActigraphy package, we introduce the package pyLight. pyLight allows users to extract light exposure data recordings from a wide range of devices, clean and filter the data, and compute common metrics for quantifying and summarising light exposure extracted from a literature survey. We demonstrate the use of the module in three examples: (1) loading, accessing and visually inspection a dataset, (2) truncation, masking, filtering and binarization of data set, (3) calculation of summary metrics, including time above threshold (TAT) and mean light timing above threshold (MLit). The pyLight package paves the way for the large-scale programmatic analysis of light-exposure data.