RowmaPy
The Rowma SDK for Python.
Usage
pip install rowmapy
Publish
from rowmapy import Rowma
rowma = Rowma()
rowma.connect()
robot_uuid = 'xxxx-xxxx-xxxx'
rowma.publish(robot_uuid, '/chatter', { "data": "topic from python" })
Subscribe
from rowmapy import Rowma
rowma = Rowma()
rowma.connect()
robot_uuid = 'xxxx-xxxx-xxxx'
# Transfer /chatter topic in xxxx-xxxx-xxxx to this script
rowma.set_topic_route(robot_uuid, 'application', rowma.uuid, '/chatter')
def on_chatter(msg):
print(msg)
rowma.subscribe('/chatter', on_chatter)
Development
$ python setup.py sdist
$ pip install -U .
Publish
rm -rf dist/*
python setup.py sdist
pip install wheel twine
twine upload dist/*
Release files for rowmapy 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rowmapy-1.0.6.tar.gz | 3.8 kB | Details |
Release files / rowmapy-1.0.6.tar.gz
| Download URL | rowmapy-1.0.6.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
585bc62bf7a2560921b11366bfbd6579498ebb602489c17eed618431d6b11cd7
|
|
BLAKE2b-256 checksum How to use checksums |
a085e40777e7c8b3537596d08d38e2e4b75e4e27aae12b543661a2e7a049e65d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4
|