Skip to main content

Piper Kit

A Python SDK and CLI toolkit for controlling the AgileX PiPER 6-DOF robotic arm via CAN bus communication.

This package provides direct low-level control through socketcan interface, enabling real-time joint positioning, motion control, and safety monitoring. Features both command-line tools for quick operations and a comprehensive Python API for programmatic control with automatic resource management.

Installation

Install from PyPI:

pip install piper-kit

Or for development:

git clone https://github.com/threeal/piper-kit.git
cd piper-kit
uv sync

Usage

CLI Commands

Enable the robotic arm (moves to home position):

piper enable
# or specify CAN interface
piper enable can1

Disable the robotic arm (moves to safe position):

piper disable
# or specify CAN interface
piper disable can1

Python SDK

from piper_kit import PiperInterface

# Use context manager for proper cleanup
with PiperInterface('can0') as piper:
    # Enable all joints
    piper.enable_all_joints()

    # Set motion control
    piper.set_motion_control_b("joint", 20)

    # Control joint positions (6 joints: J1, J2, J3, J4, J5, J6)
    piper.set_joint_control(0, 0, 0, 0, 0, 0)

License

This project is licensed under the terms of the MIT License.

Copyright © 2025 Alfi Maulana

Metadata

Release files for piper-kit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for piper-kit 0.1.0
File Size Uploaded
piper_kit-0.1.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for piper-kit 0.1.0
File Interpreter ABI Platform
piper_kit-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.7 kB

Release files / piper_kit-0.1.0.tar.gz

Download URL piper_kit-0.1.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
15c620a5d984ba445964f357554eb00426c667e7e3c925ae45f28dbdcbb94b1e
BLAKE2b-256 checksum
How to use checksums
8c13d7f98d61d85127a770b74002ad3d25c66c793e22d1a39aaf725e378c2b44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Release files / piper_kit-0.1.0-py3-none-any.whl

Download URL piper_kit-0.1.0-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
308d127c550d196fa93982a26f581a90c510bc7d1abb979bb4c7eddc3db66ba0
BLAKE2b-256 checksum
How to use checksums
8b75a34bc8d23a91c4594f7d837d109871f09a22045a98b052e437893cbe20d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page