PyNetSim targets the generation of background traffic and anomaly generation for testing anomaly detection algorithms. It is written basically without simulation in terms of computer science, but it uses parts of simulation theory. Therefore, it is a generator of such traffic types. It deploys its full power when running on many virtual machines.