Skip to content

Software

pymycobot

By Elephant Robotics, China (checked on github.com/elephantrobotics (opens in a new tab)), from github.com/elephantrobotics/pymycobot (opens in a new tab)

  • Robot arms and industry
  • Driver or SDK
  • MIT

A Python API for serial and socket communication with Elephant Robotics robots, used to control them. It supports the myCobot, MechArm, myPalletizer, ultraArm and Pro450 models.

Facts

GitHub stars
214read on 28 Nov 2026
Last update
4 Feb 2026Newest commit on main
Maintenance
Maintaineda commit in the last 12 months
Difficulty
Beginner
Hardware it needs, as the project states it
Robot firmware: the Atom firmware must be flashed into the top Atom and the Transponder firmware into the base Basic.

Checked on GitHub on 28 Nov 2026.

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 44d7fb1 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Provides classes for controlling MyCobot 280, MyCobot 320, MechArm 270, MyPalletizer 260, ultraArm P340 and MyCobot Pro450 robots.
  • Offers both serial and socket connection variants for several of the supported models.
  • Installable with pip, or from source with pip install or setup.py.
  • Includes a demo directory with test case files.
  • Has API documentation per robot model, in Chinese and English.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
MIT. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Maintained, last commit on 4 Feb 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 44d7fb1

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by Elephant Robotics, at commit 44d7fb1, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

This is Python API for ElephantRobotics product

(opens in a new tab)

This is a python API for serial communication with robot and controlling it.

home (opens in a new tab)

Installation

Notes:

Make sure that Atom is flashed into the top Atom, Transponder is flashed into the base Basic.

The firmware Atom and Transponder download address: https://github.com/elephantrobotics/myCobot/tree/main/Software (opens in a new tab)

You also can use myStudio to flash them, myStudio address: https://github.com/elephantrobotics/myStudio/releases (opens in a new tab)

Pip
pip install pymycobot --upgrade
Source code
# The latest code branch is the develop branch. You can choose to install it if necessary.
git clone https://github.com/elephantrobotics/pymycobot.git <your-path>
cd <your-path>/pymycobot
# Install
[sudo] python2 setup.py install # Will not support starting from v4.0.1
# or
[sudo] python3 setup.py install

Or the more modern form:

# Install
pip install .
# Uninstall
pip uninstall .
Usage:
# for mycobot 280 machine
from pymycobot import MyCobot280  
from pymycobot import MyCobot280Socket
# for mycobot 320 machine
from pymycobot import MyCobot320
from pymycobot import MyCobot320Socket  
# for mecharm 270 machine
from pymycobot import MechArm270  
from pymycobot import MechArmSocket  
# for mypalletizer 260 machine
from pymycobot import MyPalletizer260  
from pymycobot import MyPalletizerSocket
# for ultraArm P340 machine
from pymycobot import ultraArmP340
# for mycobot pro450 machine
from pymycobot import Pro450Client

The demo (opens in a new tab) directory stores some test case files.

You can find out which interfaces pymycobot provides in pymycobot/README.md.

Please go to here (opens in a new tab).

Note: Version v3.6.0 differentiates interfaces by model. Starting from this version, the MyCobot class will no longer be maintained. For new usage, please refer to the document:

Image: jaywcjlove/sb (opens in a new tab) Image: jaywcjlove/sb (opens in a new tab)

MyCobot 280 API说明 (opens in a new tab) | MyCobot 280 API Description (opens in a new tab)

MyCobot 320 API说明 (opens in a new tab) | MyCobot 320 API Description (opens in a new tab)

MechArm 270 API说明 (opens in a new tab) | MechArm 270 API Description (opens in a new tab)

MyPalletizer 260 API说明 (opens in a new tab) | MyPalletizer 260 API Description (opens in a new tab)

myAGV API说明 (opens in a new tab) | myAGV API Description (opens in a new tab)

myArm_M&C API说明 (opens in a new tab) | myArm_M&C API Description (opens in a new tab)

ultraArm P340 API说明 (opens in a new tab) | ultraArm P340 API Description (opens in a new tab)

MyBuddy API说明 (opens in a new tab) | MyBuddy API Description (opens in a new tab)

MyBuddyEmoticon API说明 (opens in a new tab) | MyBuddyEmoticon API Description (opens in a new tab)

MyCobot Pro450 API说明 (opens in a new tab) | MyCobot Pro450 API Description (opens in a new tab)

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.