Susceptible Infected Recovered (SIR) model simulation on networks using "epidemic" and "networkx" libraries. Plot functions are included as well.
This is the source code of the medium blog post "Sur la configuration urbaine et la propagation épidémique" [FR]: https://medium.com/anthropocene2050/sur-la-configuration-urbaine-et-la-propagation-%C3%A9pid%C3%A9mique-5a2a61c67ab9.