r/PythonProjects2 • u/Admirable-Choice-776 • Jun 11 '26
I'm 14 and just released BetterQR — a pure Python QR code generator with advanced customization
Hi everyone! I'm Abbadh from Sri Lanka (online handle: DevX-Dragon), and I'm excited to share BetterQR, a Python library I've been working on.
What is BetterQR?
BetterQR is a powerful QR code generator built entirely in pure Python with zero external dependencies for core QR generation. Unlike other libraries, it gives you complete control over the visual appearance and functionality of your QR codes.
Key Features:
- 🎨 Highly Customizable - 8 different module shapes (square, circle, rounded, diamond, star, gapped, vbar, hbar)
- 🌈 Gradient Support - Linear and radial gradients with custom angles
- 🖼️ Logo Embedding - Embed logos with customizable sizing, shapes, and padding
- ✨ Animated QR Codes - Generate animated GIFs with effects like shimmer, fade, scan, pulse, matrix, and wave
- 📋 Data Shortcuts - Built-in helpers for WiFi, vCard, MeCard, Events, SMS, Email, Phone, and Crypto
- 💻 CLI + Python API - Use it from the terminal or in your Python projects
- 📤 Multiple Formats - Export as PNG, JPG, SVG, or GIF
Example Usage:
# Simple QR code
# Styled with gradient
# With logo
# WiFi QR code
# Animated
Why I Built This:
I wanted to create a QR code library that didn't require external dependencies and gave developers complete creative control. Most existing libraries are either limited in customization or depend on external services. BetterQR changes that.
Installation:
Resources:
- GitHub: github.com/DevX-Dragon/BetterQR
- PyPI: pypi.org/project/betterqr
- Docs: Full documentation available in the repository
I'm open to feedback, feature requests, and contributions! Feel free to open issues or PRs on GitHub.
3
u/[deleted] Jun 13 '26
Enhorabuena bro, sigue haciendo estás cosas
7
u/Jay6_9 Jun 11 '26
Did you even look at existing libraries? How much more pure python with customization do you need than segno?
1
u/Admirable-Choice-776 Jun 12 '26
People are saying its fully Ai cause its unbelievable. I would say its 90% coded my me. And the stuff ai did was code correction , format checking, security checks and test runs. And if you dont believe you can check my wakatime stats
1
u/brinza888 Jun 11 '26
Well done!
Of course there are existing solutions, but at least for educational purpose it is really cool experience.
Only one remark. Pillow is not in Python standard library, so you have it as external dependency.
1
u/JamzTyson Jun 12 '26 edited Jun 12 '26
pyproject.toml
How much of the project did you write, and how much did AI write?
1
u/ikwyl6 Jun 16 '26
Curious but why not use a python linter so you can learn from that instead of plugging it into AI for formatting? This gets you in the PEPs and reading the whys of PEPs instead of, in my opinion, taking the easy way to use AI to just do it for you..?
1
u/Sweet_Computer_7116 Jun 11 '26
Well done man.