Getting the Cython debugger running on macOS
A technical guide on setting up the Cython debugger (gdb extensions) on macOS, covering challenges with Python versions and compilation.
A technical guide on setting up the Cython debugger (gdb extensions) on macOS, covering challenges with Python versions and compilation.
Explores the challenges of testing date/time functions in Python and introduces dependency injection as a solution to mock time for reliable unit tests.
A guide explaining Python decorators, their syntax, and how they modify function behavior to keep code clean and DRY.
A developer's technical journey to self-host a private video sharing platform, evaluating ClipBucket and MediaGoblin with Docker and Ansible.
Explores various methods for waiting on concurrent coroutines in Python's asyncio, comparing await, tasks, gather(), wait(), and TaskGroup.
A discussion on Pythonic code design, focusing on abstractions, libraries, and best practices for writing clean and effective classes.
A beginner's guide to starting programming, recommending Python and outlining a learning path from basics to building small projects.
A developer uses Test Driven Development to fix a bug in a Django app, writing a test, fixing the code, and refactoring.
A student's blog about their Google Summer of Code 2020 project to improve the QuTiP quantum physics Python library's data layer.
Explains the importance of documenting unit tests with examples and best practices for writing clear test comments.
Using the Cerberus library in Python to validate configuration files and ensure data structure integrity.
A tutorial on writing automated tests for a Django and Twilio Interactive Voice Response (IVR) system using Python and Pytest.
A guide to using Cloud Custodian, an open-source tool, for AWS compliance tasks like resource tagging and identifying unused resources.
Learn how to automatically run Python unit tests on every commit and pull request using GitHub Actions.
A guide to 18 useful VS Code plugins that enhance the Python development experience, from core language support to framework-specific tools.
An introduction to Black, a Python code formatter that automatically formats code to eliminate debates and save time on manual formatting.
Explains how to implement custom collection-like objects in Python using the collections protocol, including slicing, iteration, and item access.
Explains how to detect and warn users of wildcard imports in Python, focusing on improving import times and namespace management in libraries like QuTiP.
Learn 4 practical debugging techniques for Django, including using pprint, pdb, assertions, and logging to find and fix bugs faster.
Learn how to use Python's built-in pdb debugger to quickly find and fix bugs in Django applications, replacing slow print statement debugging.