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

Uploaded Python 3

File details

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

File metadata

  • Download URL: xarm_python_sdk-1.18.3.tar.gz
  • Upload date:
  • Size: 222.5 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.3.tar.gz
Algorithm Hash digest
SHA256 f74bd83b9215ac556cbfb2bc5ea442fb94dd39951023b2135a9969896c746b13
MD5 a5d9f11ea4ea62c6227a6a5d614621f4
BLAKE2b-256 686adbb554bc875ef0a2d9ea78dc77edd17b73afccde163d637c6a640633e421

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xarm_python_sdk-1.18.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f10f7254229f6ee35ae7317188b3993d717a7dc561d79c1d6ae63b5b3e845c94
MD5 b2d08f239cfb7e5015ed87c4145ca1b8
BLAKE2b-256 b95144e1172750208aed2cdf70e293b90596906e7938abf60acfb7b3be3def03

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