Python Banyan Has Been Released!
I am pleased to announce the initial release of the Python Banyan Framework. The Python Banyan User's Guide explains how to create and run a Python Banyan application. Many of the examples operate in a standalone fashion, without the need of a Raspberry Pi or Arduino, but there are also examples demonstrating GPIO control, such as the Raspberry Pi driven BCD Clock display, pictured above.
The framework is currently Python 3 compatible only, and will run on Windows, Linux and the Mac.
So What Is Python Banyan?
Python Banyan is a lightweight, reactive framework used to create flexible, non-blocking, event driven, asynchronous applications. It was designed primarily to implement physical computing applications for devices such as the Raspberry Pi and Arduino, but it is not limited to just that domain, and may be used to create application in any domain.
Most traditional physical computing libraries or frameworks use an object oriented model that results in a single, tightly coupled, monolithic executable image. Python Banyan uses an extension of the object oriented model, called the component based model. A component based application is comprised of a set of independent, loosely coupled modules. Functionality is easily added to a Python Banyan application, and in fact it may be added to a fully running system without the need to recompile or reboot.
Because each module is a self contained entity, applications can be created with a set of modules that use different versions of Python, and in fact, you can even add modules written in other computer languages.
In addition, the modules may be run on a single computer, or may be distributed across multiple computers running different operating systems, without having to change a single line of code.
Where Can You Find Python Banyan?
Python Banyan is located in its own Github repository and may be found here.