Skip to main content

Python SDK for UFACTORY robotic arm 850, xArm 5/6/7, and Lite6.

Project description

https://badge.fury.io/py/xarm-python-sdk.svg https://img.shields.io/github/license/xArm-Developer/xArm-Python-SDK.svg https://img.shields.io/pypi/pyversions/xarm-python-sdk.svg

Official Python SDK for UFACTORY robots.

Supported Products

  • UFACTORY xArm 5/6/7

  • UFACTORY 850

  • UFACTORY Lite 6

Compatibility

  • Python 3.5 - 3.13

Installation

Install from PyPI:

pip install xarm-python-sdk

Quick Start

from xarm.wrapper import XArmAPI

# Connect to the robot
arm = XArmAPI('192.168.1.100')  # Replace with your robot's IP address

# Enable motion
arm.motion_enable(enable=True)

# Set robot to ready state
arm.set_mode(0)    # Position control mode
arm.set_state(0)   # Set to ready state

# Move to a target position
arm.set_position(x=300, y=0, z=200, roll=180, pitch=0, yaw=0, speed=100)

# Disconnect
arm.disconnect()

Documentation

Full documentation and examples are available at:

https://github.com/xArm-Developer/xArm-Python-SDK

Website: https://www.ufactory.cc/

Release Note: https://github.com/xArm-Developer/xArm-Python-SDK/blob/master/README.md#update-summary

Bug Reports: support@ufactory.cc

License

  • License: BSD 3-Clause License. See LICENSE for details.

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

xarm_python_sdk-1.15.3.tar.gz (202.6 kB view details)

Uploaded Source

Built Distribution

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

xarm_python_sdk-1.15.3-py3-none-any.whl (176.6 kB view details)

Uploaded Python 3

File details

Details for the file xarm_python_sdk-1.15.3.tar.gz.

File metadata

  • Download URL: xarm_python_sdk-1.15.3.tar.gz
  • Upload date:
  • Size: 202.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for xarm_python_sdk-1.15.3.tar.gz
Algorithm Hash digest
SHA256 3042982ac405925404c03fbe7b0cb5ff18800040eba7c64addb2ea0cae3ec8d4
MD5 7b01459200f5cac8e48958cf86166bfc
BLAKE2b-256 0f4e41d7efd1c375c1dcfed0d1ed58de110a5e48f9b69327b36fd1424477ef18

See more details on using hashes here.

File details

Details for the file xarm_python_sdk-1.15.3-py3-none-any.whl.

File metadata

File hashes

Hashes for xarm_python_sdk-1.15.3-py3-none-any.whl
Algorithm Hash digest
SHA256 db1d5015c4b9788b34aa28550d48f0d4535f206ea3c78253413f1e55fd0c210f
MD5 9f507b6a7b71b6888e0d5de2ac145051
BLAKE2b-256 feff9c11abcb5b05224d575763876e22976213481e4f1116e2ace67b8388d2ab

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