multireadline (pypi): A wrapper around Python's readline module which makes it easy to have an arbitrary number of 'inputs', each with its own history
Keywords: console|readline