in-memory storage for python