Skip to main content

InOrbit Python Edge SDK

Project description

InOrbit Python Edge SDK

Build Status Code Coverage

The InOrbit Edge SDK allows Python programs to communicate with InOrbit platform on behalf of robots - providing robot data and handling robot actions. It's goal is to ease the integration between InOrbit and any other software that handles robot data.


Features

  • Robot session handling through a RobotSessionPool.
  • Publish key-values.
  • Publish robot poses.
  • Publish robot odometry.

Quick Start

from inorbit_edge.robot import RobotSessionFactory, RobotSessionPool

robot_session_factory = RobotSessionFactory(api_key="<YOUR_API_KEY>")

robot_session_pool = RobotSessionPool(robot_session_factory)

robot_session = robot_session_pool.get_session(
    robot_id="my_robot_id_123", robot_name="Python SDK Quick Start Robot"
)

robot_session.publish_pose(x=0.0, y=0.0, yaw=0.0)

Installation

Stable Release: pip install edge-sdk-python
Development Head: pip install git+https://github.com/inorbit-ai/edge-sdk-python.git

Documentation

For full package documentation please visit InOrbit Developer Portal.

Development

See CONTRIBUTING.md for information related to developing the code.

The Three Commands You Need To Know

  1. pip install -e .[dev]

    This will install your package in editable mode with all the required development dependencies (i.e. tox).

  2. make build

    This will run tox which will run all your tests in both Python 3.7 and Python 3.8 as well as linting your code.

  3. make clean

    This will clean up various Python and build generated files so that you can ensure that you are working in a clean environment.

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

inorbit_edge-0.1.2.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

inorbit_edge-0.1.2-py2.py3-none-any.whl (18.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file inorbit_edge-0.1.2.tar.gz.

File metadata

  • Download URL: inorbit_edge-0.1.2.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for inorbit_edge-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1a3063a19ee8f3896c30add6b7161b2b1090761e994a4d24e845673380ca360f
MD5 4f8a4cc356eac104034a9e06a778425f
BLAKE2b-256 662b8b63c0fb9fc3214bbce497e2c826d578ed01c8fa924b00c388e281ff663c

See more details on using hashes here.

File details

Details for the file inorbit_edge-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: inorbit_edge-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for inorbit_edge-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 36363d96dc3f37bcc551fe56976fb1d9f6b9e0ebdf7334582e8e24ab9c10a267
MD5 772e39c092d77f4bef840bb99cc962d2
BLAKE2b-256 c2c813895f6e554924835795825facc839ad5a202fa8cf82df8556674ee5f3e3

See more details on using hashes here.

Supported by

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