DISROPT: a python framework for distributed optimization. DISROPT is a Python package developed within the excellence research program ERC in the project OPT4SMART. The aim of this package is to provide an easy way to run distributed optimization algorithms that can be executed by a network of peer computing systems. A comprehensive guide to DISROPT can be found in the documentation. The package is equipped with some commonly used objective functions and constraints which can be directly used. DISROPT currently supports MPI in order to emulate peer-to-peer communication. However, custom communication protocols can be also implemented.