Timeflux is a free and open-source framework for the acquisition and real-time processing of biosignals. Use it to bootstrap your research, build brain-computer interfaces, closed-loop biofeedback applications, interactive installations, and more. Written in Python, it works on Linux, MacOS and Windows. Made for researchers and hackers alike.
Timeflux has BrainFlow plugin which uses BrainFlow API to get data from supported devices.