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.16.0.tar.gz (204.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.16.0-py3-none-any.whl (177.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xarm_python_sdk-1.16.0.tar.gz
Algorithm Hash digest
SHA256 80a49dc52770fd872bdda754cf1d7e45375b9a1312aca4af41a1bdc2aab55038
MD5 7e6ea95d32ae3316854c60ebd5f3ffd3
BLAKE2b-256 2452d6762c0714d69a36633702ef1bc63d5e0fa7b3e792da674de58726f180d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xarm_python_sdk-1.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46c2ab4d701783362b0f6733e0d7c1c5d6530987c29fd71fd4c8c517baa0b48f
MD5 3ccabc5a6e99152a5ef0eea63b5237bd
BLAKE2b-256 a6197e2792449583755b8eebd6db6d8c9b180ae75b22a52f382bb3e8fe205b38

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