August'24: Kamaelia is in maintenance mode and will recieve periodic updates, about twice a year, primarily targeted around Python 3 and ecosystem compatibility. PRs are always welcome. Latest Release: 1.14.32 (2024/3/24)
To transform a single core application like this:
from Kamaelia.Chassis.Pipeline import Pipeline
from Kamaelia.Util.Console import ConsoleEchoer
from Kamaelia.UI.Pygame.Text import Textbox, TextDisplayer
Pipeline(
Textbox(size = (800, 300), position = (0,0)),
TextDisplayer(size = (800, 300), position = (0,340))
).run()
Into a multicore application, you do this:
from Axon.experimental.Process import ProcessPipeline
from Kamaelia.Chassis.Pipeline import Pipeline
from Kamaelia.Util.Console import ConsoleEchoer
from Kamaelia.UI.Pygame.Text import Textbox, TextDisplayer
ProcessPipeline(
Textbox(size = (800, 300), position = (0,0)),
TextDisplayer(size = (800, 300), position = (0,340))
).run()
And that's pretty much it. A very visual difference between these two
examples is that the first of these will use just one Pygame window, and
the latter will use two.