We are temporarily operating with limited features while we perform a website upgrade. Users cannot log in during this time.
We apologize for any inconvenience. We'll be back to full operation shortly.
The pastiche software framework brings a variety of technologies together, like semantic web, multi-agent and distributed systems. It is designed for ease of use and fun.
This is a continuation of previous work done on Spyse.
Still thinking about a number of ideas.
"""Hello World example program from the Spyse tutorial"""
from spyse.core.agents.agent import Agent
from spyse.core.behaviours.behaviours import Behaviour
from spyse.app.app import App
# Define a custom behaviour class
# Customize the Behaviour class by overriding action()
# The action:
print "Hello, world"
# Mark this behaviour as finished so that it will be removed
# from the agent's behaviour list.
# Define a custom agent class
# Customize the Agent class by overriding setup()
# Add the custom behaviour for the agent to perform.
# An agent will die as soon as all its behaviours are complete.
# Define a custom application class
# Customize it by overriding run()
def run(self, args):
# Instantiate and run MyApp
if __name__ == "__main__":
Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.