Skip to main content

Python client library for alfred mesh monitoring

Project description

Installation

python3 setup.py install

Usage

You can find an easy example in bin/pyalfred.

import pyalfred

ac = pyalfred.AlfredConnection()

# Send "Hello World" as id 64 (with the local mac as sender)
ac.send(64, "Hello World")

# Send "Wake up, Neo" as id 64 (with a custom mac as sender)
ac.send(64, "Wake up, Neo", mac="00:11:22:33:44:55")


# Receive all data with id 64 (returns a dict with mac keys)
data = ac.fetch(64)

Project details


Download files

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

Source Distribution

pyalfred-0.0.1.tar.gz (2.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page