Twisted Extension for PursuedPyBear

Integrate PursuedPyBear with the Twisted event loop.

This module allows running the PursuedPyBear main loop inside of the Twisted loop.

In order to integrate with a foreign event loop it is possible to use Twisted’s native foreign event loop integration.

For example, to integrate with asyncio, the following needs to be done before importing twisted.internet.reactor:

import asyncio
from twisted.internet import asyncioreactor