PyCon Portugal 2026

Reverse-engineering the QR code generator and URL forwarder service
2026-09-04 , Auditorium

There are various websites and services that lets you generate QR codes. However, these services sometimes aren't free, or they might serve ads on the website. What's even worse, sometimes these services would mask your url with a their own url shortener or domain.
Do we really need to use these services in order to accomplish simple thing like generating an image?
Let's reverse engineer these services and see how we can build our own using Python and Django.


Sharing urls using QR code is a common use case nowadays.

You might have seen restaurants sharing links to their menu or loyalty programs using QR code. A conference speaker might have lots of links to share during their talk, and it's not always practical to share long links in their presentation slides. Using QR code would help, but QR code creation is a mysterious process.

There are various websites and services that lets you generate QR codes. However, these services sometimes aren't free, or they might serve ads on the website. What's even worse, sometimes these services would mask your url with a their own url shortener or domain. Users will hesitate to scan your QR code if it is not clear where it's taking them to.

Do we really need to use these services in order to accomplish simple thing like generating an image?

Let's reverse engineer these services and see how we can build our own using Python and Django.

Learn how to build your own version of QR code generator and URL forwarder service in this talk.


Audience Level: Intermediate What are the main topics of your talk?:

python, django, web app, personal projects

Mariatta is a Python Core Developer, open source maintainer, and community leader with over 15 years of experience in software development. She is passionate about workflow improvements and automation, as well as building inclusive developer communities.

As a serial conference organizer, Mariatta has helped kickstarted the PyCascades and PyLadiesCon conference.

For her contributions to the Python open source community, she has received the Python Software Foundation Community Service award and Google Open Source Peer Bonus award. She also appears in the official Python Documentary.

This speaker also appears in: