This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Python client for https://github.com/robotice/robotice-control and https://github.com/robotice/robotice

Installation

pip install python-roboticeclient

roboticeclient
DEBUG (client) GET - http://127.0.0.1:8004/device - {}
INFO (connectionpool) Starting new HTTP connection (1): 127.0.0.1
DEBUG (connectionpool) "GET /device HTTP/1.1" 200 839
{u'control-single.robotice.dev.mjk.robotice.cz': {u'actuators': {u'dummy1': {u'device': u'dummy', u'metric': u'random', u'type': u'dummy', u'port': u'bcm18'}}, u'sensors': {u'dummy1': {u'device': u'dummy', u'metric': u'random', u'type': u'dummy', u'port': u'bcm18'}, u'hygro_case1_do':

roboticeclient -h
usage: robotice [-t TYPE] [--host HOST] [-p PORT] [-a ACTION] [-c COLLECTION]
                [--version] [-d] [-v]
Optional arguments:
  -t TYPE, --type TYPE  type robotice or control
  --host HOST           host
  -p PORT, --port PORT  port
  -a ACTION, --action ACTION
                        list, get, create, update
  -c COLLECTION, --collection COLLECTION
                        collection

Usage as Robotice Client

from roboticeclient import Client

# listings

client = Client(port=8004, host="127.0.0.1")

print client.devices.list()
print client.plans.list()
print client.systems.list()
print client.actions.list()

client.actions.save(id, action)

Usage as Robotice Control Client !

from roboticeclient import Client

# listings

client = Client(type="control", port=9753, host="127.0.0.1")

print client.devices.list()
print client.plans.list()
print client.systems.list()
print client.actions.list()

client.actions.save(id, action)

Advance usage with Django or Openstack Horizon Dashboard !

# local_settings.py

ROBOTICE_HOST default is localhost
ROBOTICE_PORT default is 9753
ROBOTICE_PROTOCOL default is http

from roboticeclient.common.horizon import HorizonClient
from roboticeclient.common.horizon import DjangoClient
from roboticeclient.control.v1.base import RoboticeControlClient

RoboticeControlClient.client_class = HorizonClient # or plain DjangoClient

robotice_client = RoboticeControlClient(type="control")

robotice_client.devices.list()
Release History

Release History

0.0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-roboticeclient-0.0.2.tar.gz (27.4 kB) Copy SHA256 Checksum SHA256 Source Jul 29, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting