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.18.4.tar.gz (230.1 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.18.4-py3-none-any.whl (193.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xarm_python_sdk-1.18.4.tar.gz
  • Upload date:
  • Size: 230.1 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.18.4.tar.gz
Algorithm Hash digest
SHA256 75acad469c106e1cb7074762015980372564e88a6d62b64ebaea1c7c580332d5
MD5 70fb733a3d47457fcf54dedd670904ea
BLAKE2b-256 e3f15dcf5ed5bfd009b226a9656c1401df1782f7f86c7292696bb753366c9267

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xarm_python_sdk-1.18.4-py3-none-any.whl
Algorithm Hash digest
SHA256 943ce66308bc49619386d6eaf428a2783bcd202c1fbe3fe79de87d5f89647989
MD5 6d19b8adbad1606268959b84c395ba25
BLAKE2b-256 0f25ad2814469965e765dcf86c12276505a8aadd3d00c387aed82519f6c45434

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