Managing Python Apps with systemd
This article walks through everything you need to know to manage Python applications with systemd: writing unit files, handling virtual environments, managing environment variables, logging, sandboxing, and running multiple instances of the same service.
Applying the CQRS Pattern in Python with Kafka and Docker
In this article we’ll see how to apply the CQRS (Command Query Responsibility Segregation) pattern in a small Python micro-project that uses Kafka as a message broker and Docker to run the services.
Generating a QR code in Python
QR Codes are two-dimensional codes that can contain information such as URLs, text, phone numbers, and much more. In this article, we’ll see how to generate them easily using Python.
Parsing PDF files in Python
Parsing PDF files in Python can be useful in many contexts, such as extracting data from documents or indexing content.
Date parsing in Python
Date parsing in Python is a common operation when working with temporal data coming from strings, such as timestamps in log files, form inputs, or data exported from external systems.
Implementing Two-Factor Authentication (2FA) in Python with pyotp and qrcode
This implementation is a useful starting point for adding 2FA to your Python applications, especially in web or CLI apps.