PyGran: An object-oriented library for DEM simulation and analysis