QueueLogger and Python JSON Logger
Solutions for preserving exception tracebacks in JSON logs when using Python's multiprocessing QueueHandler.
Solutions for preserving exception tracebacks in JSON logs when using Python's multiprocessing QueueHandler.
A guide to effectively testing Django signals, covering decoupling, signal creation, and best practices for writing clean, maintainable tests.
Final part of a series on building a product classification API, covering the creation of a custom Python class and web app for categorizing product titles.
A guide on protecting API keys in Python applications by storing them in a separate config file and using .gitignore to prevent exposure on GitHub.
An introduction to two essential Python packaging tools: tox for testing and twine for secure PyPI uploads.
A developer builds and explains a reverse image search API for finding similar products, detailing its implementation and challenges.
A guide to building a robust Python API client for a payment gateway, covering error handling, logging, and best practices.
Part 2 of a series on building a product classification API, focusing on data cleaning, preparation, and measuring data purity for machine learning.
An introduction and tutorial for using the official Kubernetes Python client library, including installation and code examples.
Explains the unittest.subTest feature in Python for better test iteration reporting and debugging.
A data scientist shares a technical interview task on linear regression, covering data cleaning, model fitting, and assumption validation.
A guide on configuring FreeOTP as a 2FA authenticator for Battle.net using the command-line tool 'bna'.
A technical guide on analyzing personal Google Location History data using Python, Pandas, and visualization libraries to map and gain insights from location data.
A simple Python tutorial for sending emails using AWS SES with MIME formatting and helper functions.
A guide to identifying and reporting slow-running tests in Python's unittest framework by implementing custom timing logic and a custom TestRunner.
A tutorial on adding custom action buttons (deposit/withdraw) to the Django admin interface, including form handling and email notifications.
First post in a series on building a product classification API, covering the process of sourcing and formatting open-source Amazon product data for machine learning.
Analyzing the relationship between age and desired job roles among new coders using the 2016 Kaggle survey data.
Explores Python's functools.singledispatch for elegant, extensible JSON serialization of custom objects, moving beyond the standard json module's limitations.
A guide to using class-based tests in Python to make test suites more extensive, expressive, and maintainable, demonstrated with an API login endpoint.