Skip to main content

Framework para desenvolvimento de sistemas multiagentes em Python

Project description

Python Agent DEvelopment framework (PADE)

Join the chat at https://gitter.im/lucassm/Pade


PADE

PADE its a framework for developing, executing and mannaging multi-agent systems in distributed computing enviroments. PADE code is 100% Python and has its core in Twisted, a python package for implementing distributed applications.

PADE is also free software and licenced in terms of MIT licence. First it was developed in Federal University of Ceará (Brazil) by Electric Smart Grids Group (GREI) in Electric Engineering Department (DEE). Now everyone that has interest in developing PADE is welcome to dowload, install, test, use and send us feedback.

Documentation

PADE is well documented. You can access the documentation hear: PADE documentation

Dependencies

PADE is developed in Python 3.7 and has a Twisted core.

Install

Via Python Package Index (PyPI):

$ pip install pade

Via Github:

$ git clone https://github.com/greiufc/pade
$ cd pade
$ python setup.py install

That's all!

Example

Hello world in PADE:

from pade.misc.utility import display_message
from pade.misc.common import PadeSession
from pade.core.agent import Agent
from pade.acl.aid import AID


class AgenteHelloWorld(Agent):
    def __init__(self, aid):
        super(AgenteHelloWorld, self).__init__(aid=aid, debug=True)
        display_message(self.aid.localname, 'Hello World!')


def config_agents():

    agents = list()

    agente_hello = AgenteHelloWorld(AID(name='agente_hello'))
    agents.append(agente_hello)

    s = PadeSession()
    s.add_all_agents(agents)
    s.register_user(username='pade_user', email='user@pademail.com', password='12345')

    return s

if __name__ == '__main__':

    s = config_agents()
    s.start_loop()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pade-2.0.4-py3.7.egg (154.5 kB) Copy SHA256 hash SHA256 Egg 3.7 Sep 16, 2018
pade-2.0.4-py3-none-any.whl (116.2 kB) Copy SHA256 hash SHA256 Wheel py3 Sep 16, 2018
pade-2.0.4.tar.gz (26.2 kB) Copy SHA256 hash SHA256 Source None Sep 16, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page