Recent studies describe bacterial division as a jump process triggered when it reaches a fixed number of stochastic discrete events at a rate depending on the cell-size. This theoretical approach enabled the computation of stochastic cell-size transient dynamics with arbitrary precision, with the possibility of being coupled to other continuous processes as gene expression. Here we synthesize most of this theory in the tool PyEcoLib, a python-based library to estimate bacterial cell size stochastic dynamics including continuous growth and division events. In this library, we include examples predicting statistical properties seen in experiments.