| Shallow vs Deep Copies in Python, What You Think You Know (but Might Not) |
copy, shallow copy, deep copy |
| Trash Talk: Understanding Python’s Garbage Collector |
gc module, memory, performance |
The Power of yield from in Python Generators |
generators, yield from, fastapi |
| How Async/Await Evolved from Generator-Based Coroutines |
generators, async , asyncio |
| How Order Changes Behavior in Chained Decorators |
generators, async, decorators, order, auth, logging, retry |
| Creating Declarative APIs with Class Decorators in Python |
class, class decorators, declarative api, decorators, metaclass |
| Keys to Mastering Python Method Decorators |
class, method decorators, classmethod, staticmethod, property, factory methods, registry |
The Danger of Overusing is Instead of == in Python |
equality, comparison |
| Behind the Underscores EP01: Understanding Python’s Special Methods Conceptually |
class, oop, special methods, dunder methods |
Behind the Underscores EP02: Object Initialization and Construction Methods (__new__, __init__, __del__) |
class, oop, special methods, dunder methods, initialization, construction |
Behind the Underscores EP03: String Representation Methods (__str__, __repr__, __format__) |
class, oop, special methods, dunder methods, string, representation |
Behind the Underscores EP04: Arithmetic Methods (__add__, __sub__, __mul__) |
class, oop, special methods, dunder methods, math |
Behind the Underscores EP05: Comparison Methods (__eq__, __lt__, __gt__) |
class, oop, special methods, dunder methods, comparison |
Behind the Underscores EP06: Bitwise Methods (__and__, __or__, __xor__) |
class, oop, special methods, dunder methods, bitwise |
Behind the Underscores EP07: Container protocol (__getitem__, __setitem__, __delitem__) |
class, oop, special methods, dunder methods, container |
Behind the Underscores EP08: Length and iteration Methods (__len__, __iter__, __next__, __contains__) |
class, oop, special methods, dunder methods, iteration, length |
Behind the Underscores EP09: Attribute Access (__getattr__, __getattribute__, __setattr__, __delattr__) |
class, oop, special methods, dunder methods, attribute access |
Behind the Underscores EP10: Context Management (__enter__, __exit__) |
class, oop, special methods, dunder methods, context management |
Behind the Underscores EP11: Callable Objects: __call__ |
class, oop, special methods, dunder methods, callable |
Behind the Underscores EP12: Descriptor Protocol (__get__, __set__, __delete__) |
class, oop, special methods, dunder methods, descriptor protocol |
Behind the Underscores EP13: Metaprogramming Methods (__class__, __bases__, __mro__, __instancecheck__) |
class, oop, special methods, dunder methods, metaprogramming |
| Understanding Async Context Managers in Python |
async, context manager, asyncio, connection pool, contextlib, fastapi |
| Implementing Singleton with Async/Await in Python |
async, singleton, design pattern, fastapi |
| How the GIL Affects Real Python Workloads |
gil, performance, asyncio, threading, multiprocessing, fastapi |
Slotted classes with __slots__ in Python |
class, oop, special methods, dunder methods, memory, performance, dataclasses |
| The Art of Scope Management in Modular Python Design |
scope, sqlalchemy, fastapi, dependency injection |
| Designing Retryable Asynchronous APIs Using functools.partial and Custom Decorators |
rest api, async, fastapi, functools, decorators, retry, partial |
| Dataclasses vs Pydantic vs TypedDict vs NamedTuple in Python |
class, data model, dataclass, pydantic, typeddict, namedtuple, fastapi |
| Why Composition Beats Inheritance in Large-Scale Python Systems |
class, inheritance, composition, fastapi, payment |
| Encapsulation and Domain-Driven Design in Python Projects |
class, encapsulation, domain driven design (ddd), order |
| Instance vs Class vs Static Methods in Python |
class, instance, instance method, classmethod, staticmethod, function |
| Combining Abstract Classes with Factory and Strategy Patterns in Python |
class, abstract class, abc, abstractmethod, payment, notification, factory class |
| Architecting a Multithreaded Log Monitor in Python |
threading, gil, memory, performance, queue, logging |
| Advanced Shared State Management in Python Multiprocessing |
multiprocessing, shared states, context manager, shared memory |
| Mastering Task Lifecycle in Python’s asyncio |
asyncio, task, taskgroup, fastapi |