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.0.tar.gz (208.7 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.0-py3-none-any.whl (180.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xarm_python_sdk-1.17.0.tar.gz
  • Upload date:
  • Size: 208.7 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.17.0.tar.gz
Algorithm Hash digest
SHA256 840f81982631cf73a452e61938ce73230cee10572d681cc656c56fb2cf4ed6b8
MD5 3f879b4493ad4c0204f5c34d288aacc4
BLAKE2b-256 23e12d3f8960c44950e802c20d4749a16744290e4e5e8d421159df26c0e46e30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xarm_python_sdk-1.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3d45af4711e7f3d9372d691418da486ca29909ae685d63305764123e20aad7e
MD5 0dd21ef72d877ece456c439dbcf453d2
BLAKE2b-256 1ce9e9400f24cd96c1b783b97f3d4de78091e0c9d44fc5eefe8ff98f8669f5cd

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