Skip to main content

Core MARAGI components; Stream of Consciousness server and client.

Project description

maragi

  • Microservices
  • Architecture for
  • Robotics and
  • Artificial
  • General
  • Intelligence

Server

Parameters

Parameter Default About
port 9999 Network port for maragi to accept messages on
fields ['time', 'uuid', 'service'] Additional fields to instantiate SOC
soc_file soc.json File name or full file path to SOC log

Methods

Method Usage
load_soc() Attempt to load SOC log from file
run() Start maragi SOC server

Usage

import maragi
server = maragi.Server(fields=['image', 'label'])
server.run()

Client

Parameters

Parameter Default About
ip 127.0.0.1 Network IP address of maragi server
port 9999 Network port of maragi server

Methods

Method Description
send(message=message) Send a message to the maragi server
fetch(field=field,keyword=keyword) Fetch messages from the maragi server

Usage

import maragi
client = maragi.Client()
client.get_fields()

Project details


Download files

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

Files for maragi, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size maragi-0.2-py3-none-any.whl (16.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size maragi-0.2.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

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