memory-buffer (pypi): This module will let you write debug messages into a 500MB memory buffer which is Circular.
Keywords: memory-buffer