Simulating Web Events


Simulating Web Events

Why do we use it?

Sometimes we want to generate fake events to test our pipelines and dashboards. Random events don’t do the job. That’s why I built this Python package.

You want to implement a new streaming pipeline on your workplace and need to show your managers a Proof Of Concept. This POC should allow you to demonstrate some of the functionalities, in this case, generate real-time metrics. However, there is a limitation: you can’t use production data on a POC. How do you solve that?

If your answer was to generate fake events, then you are right. It will probably be the best solution. Then you create some random events and push then to the pipeline. You’ll soon realize that random is not the same as fake. You certainly don’t want to show a chart like this to your managers:

Where can I get some?

Now let’s say you want to build your portfolio for an Analytics Engineer position. You possibly need to show that you are capable of creating web sessions, measuring conversion rate and splitting metrics by campaign or source. How do you build your damn portfolio if you don’t have data? And again, generating random data won’t allow you to measure anything.

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Where does it come from?

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of “de Finibus Bonorum et Malorum” (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, “Lorem ipsum dolor sit amet..”, comes from a line in section 1.10.32.

  • Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  • Proin dapibus eros sed orci aliquam eleifend.
  • Sed finibus purus eu risus aliquet, vitae aliquet purus porta.
  • Aenean mollis arcu a enim euismod, non consequat diam lobortis.
  • Nam sed tellus pellentesque, mattis lacus id, vulputate ex.
  • Donec non massa aliquam, ultricies tortor vel, tincidunt odio.
  1. Pellentesque faucibus magna eu quam molestie, at laoreet sapien ultrices.
  2. Nam sed sem eu massa malesuada ultrices nec vitae elit.
  3. Curabitur semper ante vel turpis hendrerit semper.
  4. Ut tempus felis et leo vulputate, at lobortis urna viverra.


If you are going to use a passage of Lorem Ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words,