0
I Use This!
Activity Not Available
Analyzed about 1 year ago. based on code collected about 1 year ago.

Project Summary

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.

#!/usr/bin/env python

"""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
class HelloBehaviour(Behaviour):
# Customize the Behaviour class by overriding action()
def action(self):
# The action:
print "Hello, world"
# Mark this behaviour as finished so that it will be removed
# from the agent's behaviour list.
self.set_done()

# Define a custom agent class
class HelloAgent(Agent):
# Customize the Agent class by overriding setup()
def setup(self):
# Add the custom behaviour for the agent to perform.
# An agent will die as soon as all its behaviours are complete.
self.add_behaviour(HelloBehaviour())

# Define a custom application class
class MyApp(App):
# Customize it by overriding run()
def run(self, args):
self.start_agent(HelloAgent)

# Instantiate and run MyApp
if __name__ == "__main__":
MyApp()

Tags

agents artificial_intelligence collaborative_game computational_creativity dada deconstruction distributed_intelligence information_space interactive_art liquid_architecture mediashelf multi-agent_systems python search_browse semantic_web

In a Nutshell, pastiche...

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    by exploring contributors within projects, you can view details on every commit they have made to that project
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    data presented on the Open Hub is available through our API

Languages

Languages?height=75&width=75
CSS
40%
Python
44%
HTML
15%

30 Day Summary

Apr 9 2016 — May 9 2016

12 Month Summary

May 9 2015 — May 9 2016

Ratings

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!