$npx skillfedfor your agent

pin

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives

With conditionsPyPI Scientific/EngineeringReleased Jul 20261.1M downloads / moBSD-3-ClausePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — pin-4.1.0-0-cp310-cp310-macosx_10_9_x86_64.whl · pin-4.1.0-0-cp310-cp310-macosx_11_0_arm64.whl · pin-4.1.0-0-cp310-cp310-manylinux_2_28_aarch64.whl
v4.1.0 · released 2026-07-08 · Python >=3.9 · 5 runtime deps: cmeel, cmeel-boost, cmeel-urdfdom, coal, libpinocchio

Yes, with conditions. Install if you need production-grade rigid-body dynamics and can work with the compiled dependency stack. The library is actively maintained, permissively licensed (BSD-3-Clause), and widely deployed. On macOS and Windows, prefer Conda installation over pip; on Linux, pip is available but requires underlying C++ libraries. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires compiled C++ library stack (libpinocchio and dependencies); pip installation currently available only on Linux—macOS and Windows users should use Conda instead.
  • Medium install friction due to compiled dependencies (cmeel, cmeel-boost, cmeel-urdfdom, coal, libpinocchio).
  • Actively maintained with recent releases; supports Python 3.9+ across macOS (Intel and ARM) and Linux platforms via pre-built wheels.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; you must retain copyright and license notices in derivative works.

last release 2026-07-08 (37 days) · last repo commit 2026-07-08 · 3 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,105,874 downloads/mo, #4,365 on PyPI

Verify before relying

pip install pin

import pin
model = pin.buildModelFromUrdf('robot.urdf')
data = model.createData()
pin.forwardKinematics(model, data, q)
  • Whether analytical derivatives support automatic differentiation frameworks beyond those mentioned in the description.
  • Performance characteristics and scalability limits for large kinematic trees or real-time control loops.
  • Maturity and completeness of MJCF and SDF format support relative to URDF.
  • Whether the package is suitable for biomechanics, computer graphics, or vision applications as suggested in the description.
Same gist for agents: .md · .json

What it is and what it does

pin is a Python binding to a high-performance C++ library for rigid-body dynamics computations. It implements algorithms for forward and inverse kinematics, forward and inverse dynamics, centroidal dynamics, and contact dynamics, all with analytical derivatives suitable for gradient-based optimization. The library is built on Eigen for linear algebra and coal for collision detection, and supports multiple robot description formats (URDF, SDF, MJCF, SRDF) as well as programmatic model construction.

Designed primarily for robotics, pin handles closed-loop kinematic mechanisms, frictional contact problems, and sparse constrained dynamics. The C++ template design allows compile-time specialization and custom scalar types, while the Python interface enables rapid prototyping. The library is actively maintained and extensively tested across Windows, macOS, and Linux platforms.

Use it for

  • Computing forward and inverse kinematics and dynamics for robot control and trajectory optimization.
  • Gradient-based robot motion planning and learning using analytical derivatives of dynamics algorithms.
  • Simulating closed-loop mechanisms and frictional contact in physics-based applications.
  • Identifying system parameters via kinematic and dynamic regressors for system identification.
  • Prototyping hierarchical control frameworks and differential dynamic programming solvers.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Install if you need production-grade rigid-body dynamics and can work with the compiled dependency stack. The library is actively maintained, permissively licensed (BSD-3-Clause), and widely deployed. On macOS and Windows, prefer Conda installation over pip; on Linux, pip is available but requires underlying C++ libraries. No known security vulnerabilities.

Install

pin on PyPI

Before you install

Medium install friction due to compiled dependencies (cmeel, cmeel-boost, cmeel-urdfdom, coal, libpinocchio). Actively maintained with recent releases; supports Python 3.9+ across macOS (Intel and ARM) and Linux platforms via pre-built wheels.

Requires compiled C++ library stack (libpinocchio and dependencies); pip installation currently available only on Linux—macOS and Windows users should use Conda instead.

License in practice

BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; you must retain copyright and license notices in derivative works.

Quickstart

pip install pin

import pin
model = pin.buildModelFromUrdf('robot.urdf')
data = model.createData()
pin.forwardKinematics(model, data, q)

Verify before relying

  • Whether analytical derivatives support automatic differentiation frameworks beyond those mentioned in the description.
  • Performance characteristics and scalability limits for large kinematic trees or real-time control loops.
  • Maturity and completeness of MJCF and SDF format support relative to URDF.
  • Whether the package is suitable for biomechanics, computer graphics, or vision applications as suggested in the description.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependencies
5 packages
cmeelcmeel-boostcmeel-urdfdomcoallibpinocchio
MaintenanceActively maintained 37 days since the last release
Last repo commit
First released
Downloads1,105,874 / month, #4,365 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: pin-4.1.0-0-cp310-cp310-macosx_10_9_x86_64.whl; pin-4.1.0-0-cp310-cp310-macosx_11_0_arm64.whl; pin-4.1.0-0-cp310-cp310-manylinux_2_28_aarch64.whl; pin-4.1.0-0-cp310-cp310-manylinux_2_28_x86_64.whl; pin-4.1.0-0-cp311-cp311-macosx_10_9_x86_64.whl; pin-4.1.0-0-cp311-cp311-macosx_11_0_arm64.whl; pin-4.1.0-0-cp311-cp311-manylinux_2_28_aarch64.whl; pin-4.1.0-0-cp311-cp311-manylinux_2_28_x86_64.whl; pin-4.1.0-0-cp312-cp312-macosx_10_9_x86_64.whl; pin-4.1.0-0-cp312-cp312-macosx_11_0_arm64.whl; pin-4.1.0-0-cp312-cp312-manylinux_2_28_aarch64.whl; pin-4.1.0-0-cp312-cp312-manylinux_2_28_x86_64.whl; pin-4.1.0-0-cp313-cp313-macosx_10_9_x86_64.whl; pin-4.1.0-0-cp313-cp313-macosx_11_0_arm64.whl; pin-4.1.0-0-cp313-cp313-manylinux_2_28_aarch64.whl; pin-4.1.0-0-cp313-cp313-manylinux_2_28_x86_64.whl; pin-4.1.0-0-cp314-cp314-macosx_10_9_x86_64.whl; pin-4.1.0-0-cp314-cp314-macosx_11_0_arm64.whl; pin-4.1.0-0-cp314-cp314-manylinux_2_28_aarch64.whl; pin-4.1.0-0-cp314-cp314-manylinux_2_28_x86_64.whl

Tags

Capabilities
rigid body dynamicsrobot kinematics and dynamicsforward inverse dynamicsarticulated body algorithmsrobotics physics simulationanalytical derivatives dynamicsmulti-body system simulation
Topics
roboticsphysics-simulationdynamics-algorithms

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “robot kinematics and dynamics”

  • pinPython interface to a C++ rigid-body dynamics library that computes…
  • libpinocchiolibpinocchio provides efficient rigid body dynamics algorithms and…
  • newtonNewton is a GPU-accelerated physics simulation engine built on NVIDIA…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also dynamixel-sdk · libpinocchio · pin-pink · pybullet · drake · mplib · mink · coal-library · newton · pymunk