backon is a modern evolution of backoff — a zero-dependency Python library for retry with exponential backoff. It provides decorator, functional, and context manager APIs for both sync and async code.
below is a use demo: Connect to SQL Server, create a table dbo.OrderDetail, and run some sql on this table.