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://static.pepy.tech/badge/xarm-python-sdk 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.17.3.tar.gz (215.8 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.17.3-py3-none-any.whl (186.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xarm_python_sdk-1.17.3.tar.gz
  • Upload date:
  • Size: 215.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for xarm_python_sdk-1.17.3.tar.gz
Algorithm Hash digest
SHA256 e61b988bc3be684c15f8e686958c00e619e14725130ee94148074b8ef5bd9ec3
MD5 e8e6edbbb4984de1e9b7d9df6d22e1b5
BLAKE2b-256 27dd073cf64fa9e74cfb97c9ded97750ed4652ada1b4921cd0e7d895ff242f7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xarm_python_sdk-1.17.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3dee2f9819d54f0ba476ea51ff63f2d1eb248e0658da1b1dcab8c519008955bb
MD5 e6890a9e1f6bd3abec9fc867e5090943
BLAKE2b-256 400a85b3df0fa6ddd4f1a9d23cd63948aa145797631c9e20d165ada8e13a058c

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