partycls is a Python package for the analysis of systems of interacting particles using unsupervised machine learning methods. A paper on the code, written in collaboration with Daniele Coslovich, was just published in The Journal of Open Source Software.