This release is a pre-release and may not be stable for production use.
mebo
Mebo is a python package to control the Mebo Robot with Python. It is currently in active development, so there might be breaking changes. Some basic usage is defined below, but more extensive documentation is available at ReadTheDocs.
Installation
pip install mebo
Quickstart
Some basic usage is below. The API will change and limited documentation exists, but it works for getting started.
from mebo import Mebo
m = Mebo(auto_connect=True) # discover and connect automatically!
m.move('n', speed=255, dur=1000) # move forward at max speed for 1 second
m.arm.up(dur=1000) # move the arm up for one second
m.claw.open(dur=1000) # open the claw for one second
Development
Requirements:
python >= 3.6
To get started with the project:
git clone https://github.com/crlane/python-mebo.git
python -m venv mebo-venv
. mebo-venv/bin/actvate
pip install -r requirements.txt
pip install -e .
To run the tests:
pip install -r test_requirements.txt
py.test
Todo
[ ] Cleaner API (better subclasses, kwargs for component methods, no metaprogramming)
[ ] Clean up kwargs inconsistency
[ ] Better documentation
[ ] Better tests
[ ] Media stream (multithreading or asyncio, http with <video> tag)
Release files for mebo 0.1.0b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mebo-0.1.0b1.tar.gz | 17.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mebo-0.1.0b1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.1 kB
Release files / mebo-0.1.0b1.tar.gz
| Download URL | mebo-0.1.0b1.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e32be34d6a665bbedd97f5ce3b19b45c126dc35a3aa7bc429daad197c40ce83d
|
|
BLAKE2b-256 checksum How to use checksums |
c79b7502c3214187fd45abb24524f9b51b3a7bad5cb5df5535bca1f6a5778e98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Release files / mebo-0.1.0b1-py3-none-any.whl
| Download URL | mebo-0.1.0b1-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8e519f0705348a081df1d3360bd593c73e9f6acc558de1ec4010a59cd78e1e8
|
|
BLAKE2b-256 checksum How to use checksums |
ff33ffb8d29d06bc0182a832e09b4873cfca1de316ec85d6bdcf096086d4f5d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|