peak/events/sources.py should probably have Not in its __all__ list, otherwise one can't use 'events.Not'. A "from peak.events.sources import Not" works, but this is probably not the intended usage.