Python library for Marty the Robot V1 and V2
Project description
martypy
Python library to communicate with Marty the Robot V1 and V2 by Robotical
To regenerate documentation:
- pip install -r dev-requirements.txt
- pydoc-markdown --server --open
How to run example scripts
If you cloned the repository or downloaded the source code to try the example scripts, you will need to make sure you have MartyPy installed before you can run the examples.
The easiest way to install MartyPy is with the pip install martypy
script as explained in
step 2 here.
If you would like to make modifications to the martypy library itself, it will be better to install
it from source using the command pip install --editable /path/to/martypy/repo
(replacing
/path/to/martypy/repo
as appropriate of course).
If you do not want to "pip install
" the MartyPy library, you can add the following 4 lines at the
top (before any other code) of each script you want to run:
import sys
import pathlib
cur_path = pathlib.Path(__file__).parent.resolve()
sys.path.append(str(cur_path.parent.resolve()))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for martypy-3.4.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eadd145f72a62949100e610805b9d29f6b0314ba419134cff78b6d5fc2f45d3 |
|
MD5 | d8b5bf322600e39ffe5ca9f8300830f2 |
|
BLAKE2b-256 | 4a5f1e96d70e1fbadb130a7a766ec94ff32d2f207d2f5c6ceb46b4996b022980 |