Python library lsd: Learning with Synthetic Data. The present lsd (Learning on Synthetic Data) package provides an easy framework to run learning experiments on synthetic datasets. In particular, it implements USV-layers to allow for entropy computation during learning, using the heuristics replica formula from statistical physics as proposed in [1]. The computation of entropies requires the installation of the dedicated package dnner (DNNs Entropy from Replicas).