WRS JLChain Native
Native FK, Jacobian, IK, and runtime-state acceleration for WRS
JLChain.
The package keeps the WRS Python API intact while moving the hot kinematics work into a C++ backend. The first backend is implemented with Orocos KDL; the Python adapter is structured so additional backends such as Pinocchio or RBDL can be added later without changing robot code.
Package Names
- GitHub repository:
wrs-jlchain-native - PyPI package:
wrs-jlchain-native - Python import package:
wrs_jlchain_native - Native extension:
_wrs_jlchain_native_kdl
Requirements
- Python 3.10 or newer
- NumPy
- A WRS checkout when using the accelerated drop-in
JLChain - A C++17 compiler for source builds
- CMake and pybind11 for source builds
Wheel builds use includeigen to provide Eigen headers and build the bundled
Orocos KDL source from third_party/orocos_kinematics_dynamics.
Repository Layout
src/
CMakeLists.txt
python/wrs_jlchain_native/
__init__.py
backends.py
jlchain.py
wrs_jlchain_native/
kdl_backend.cpp
python_bindings.cpp
include/wrs_jlchain_native/
backend.hpp
kdl_backend.hpp
Install From PyPI
After publishing:
python -m pip install wrs-jlchain-native
Then use the native-backed chain directly:
from wrs_jlchain_native import JLChain
jlc = JLChain(n_dof=6, backend_name="kdl")
jlc.finalize()
This package is intentionally kept outside the WRS source tree. To integrate it
with a WRS robot class, import wrs_jlchain_native.JLChain in the WRS-side
module that constructs the robot's kinematic chain, or add a small compatibility
shim in your WRS checkout that aliases this class.
from wrs_jlchain_native import JLChain as NativeJLChain
chain = NativeJLChain(n_dof=6, backend_name="kdl")
Runtime Selection
Per chain:
chain = JLChain(n_dof=6, backend_name="kdl")
Globally:
$env:WRS_JLCHAIN_BACKEND="kdl"
Supported values:
auto: try the native backend and fall back to Pythonkdl,orocos,orocos_kdl: require the Orocos KDL backendpython,none,off: force the original Python implementation
Build From Source
Initialize submodules first:
git submodule update --init --recursive
Build a wheel:
python -m pip install build
python -m build --sdist --wheel
Manual CMake build:
cmake -S src -B build\jlchain_native `
-DCMAKE_PREFIX_PATH=D:\code\venv312\.venv\Lib\site-packages\pybind11\share\cmake\pybind11 `
-DPYTHON_EXECUTABLE=D:\code\venv312\.venv\Scripts\python.exe
cmake --build build\jlchain_native --config Release
If Eigen is not discovered through includeigen, pass it explicitly:
-DEIGEN3_INCLUDE_DIR=D:\code\vcpkg\packages\eigen3_x64-windows\include\eigen3
For local WRS testing without installing a wheel, put the build output on
PYTHONPATH:
$env:PYTHONPATH="D:\code\c_implementation_backend\build\jlchain_native\Release;$env:PYTHONPATH"
Benchmark
The benchmark used during development lives in the separate WRS checkout and is
not committed to this standalone package repository. From a WRS workspace that
contains that benchmark, add the native build output or installed wheel to
PYTHONPATH and run:
D:\code\venv312\.venv\Scripts\python.exe wrs\0000_test_programs\jlchain_speed_benchmark.py
It reports FK, FK plus Jacobian, direct Jacobian, FK state update, update plus Jacobian, and IK timings, along with numerical error checks.
CI And Publishing
GitHub Actions workflows are in .github/workflows:
ci.yml: builds source distribution and wheels on pull requests and pushespublish.yml: builds distributions and publishes to PyPI on GitHub releases
PyPI publishing uses Trusted Publishing. Configure the PyPI publisher with:
- repository:
<owner>/wrs-jlchain-native - workflow:
publish.yml - environment:
pypi
License
This package links against/builds Orocos KDL, which is LGPL-2.1-or-later. The
package metadata therefore uses LGPL-2.1-or-later.
Metadata
Release files for wrs-jlchain-native 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wrs_jlchain_native-0.1.0.tar.gz | 1.2 MB | With provenance | Details for wrs_jlchain_native-0.1.0.tar.gz |
Built distributions (wheels)
Total release size: 4.4 MB
Release files / wrs_jlchain_native-0.1.0.tar.gz
| Download URL | wrs_jlchain_native-0.1.0.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2aaae06a6bfc7930df4dec8747cc508d4ff42d26ecff025fd08a57039a1aac4e
|
|
BLAKE2b-256 checksum How to use checksums |
6b08f8ca2c21edcaa26ebce42a92a2aebf56fb6bdb3676d0d9576242aa63741d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp314-cp314-win_amd64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 338.2 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
215a4f9a9b3dfd8ae1e680ea895ccce594272587eeaa767174a3f98f0b6dfe73
|
|
BLAKE2b-256 checksum How to use checksums |
d4f53e2179cc2aca029d2d241bd7c0d2dd5575ab2adaa1161a2bad9d4d7d2fad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 169.3 kB |
| Tags | CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
8e1c086663bab80df50f9b59461bbc417e0db87a865a6b1ad1183bdc29cb93cc
|
|
BLAKE2b-256 checksum How to use checksums |
410cd9dc68fdaa7916871d7143168c3aa5ac46c1c7a0431dbf1ab068aabb06dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 138.2 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
74669ed4e6384fa80011b479dcada7c185624eeca79d92fb308c86b93fd45713
|
|
BLAKE2b-256 checksum How to use checksums |
faf394f941f569559f6bc502433542c606ec402c90fd85d98ef086f02340b4ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp313-cp313-win_amd64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 327.1 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
74a7f5ff3905848bfd897acef5331129f39aa4b31bb577cc71350a05a3e2258c
|
|
BLAKE2b-256 checksum How to use checksums |
11785d493ab1b4e392fa8273e9f4dad25ec1c69c21895db3d90702f3c49b90a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 169.3 kB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
1d248b33349d99881bfee84799b0dd075df91ca03139f977165b335a03c717af
|
|
BLAKE2b-256 checksum How to use checksums |
5bad3aeb43b6a7dd3fd711167578d6cd95e602b6e1d35536fbb814ba14545844
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 137.9 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
11b8f6eaaf7f9af8a03ee10cbeb0d29491006fcf81d97e0bfa8971388686667e
|
|
BLAKE2b-256 checksum How to use checksums |
c79b77529918c8abb027606a98a7ce19ff58a3a6fe57a9e0e657f2e7837e8b01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp312-cp312-win_amd64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 327.1 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4d1c14a4a9efdc3f2f0c3ab63ea75b278414f3cc94409c8d4a3ad74179fc8125
|
|
BLAKE2b-256 checksum How to use checksums |
ac65f6eec30293cccbb63c3403fc84bbbfc53334578bfd8eafb283ee37b658c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 169.4 kB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d4be7c6857f249b46cb131f8b16cdc07c391861e06db5290fb412e59955272ce
|
|
BLAKE2b-256 checksum How to use checksums |
e9f93834f76eb94b75d2370d83fa27dbb251609fb773770348671bfcbe86e490
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 137.9 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d85739cfcd18491299ce75c078043033a17b7374784b99ca91a31cbf54e7cca2
|
|
BLAKE2b-256 checksum How to use checksums |
d2e7d49d4dafe839457ce1135b7d4106a5afe4515c8ba06739ff91a4e3d32823
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp311-cp311-win_amd64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 325.4 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3242e72ffbb2b840981e36556589d94e6277f472728db588083cd13514098c6e
|
|
BLAKE2b-256 checksum How to use checksums |
59827aee6dad3759866fe1b6a82b95028f824bdd4625f20a15b1eb6394ee1110
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 168.2 kB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c51d14380619692455d373f134fe3a0cf2c99d7ebe53e211ce7d35b696e3bd72
|
|
BLAKE2b-256 checksum How to use checksums |
3bfe76c55f06a9c81d862250380e2073bc35b0af9f54d95d447ede50d52e5105
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 136.3 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
906229d51e449e308a330073fd716183b53140a10b1cc32b5842213a3a85b565
|
|
BLAKE2b-256 checksum How to use checksums |
ad9cc9bd9de59de11c69ae80da7261ff244d866cfafdef5e0c1b2ac44c80f647
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp310-cp310-win_amd64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 324.3 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f452ae10658184a071516e3757bb27d485011cb65152db5cb530836a9b7b5e64
|
|
BLAKE2b-256 checksum How to use checksums |
bd453a3ec33bb5c000c429a903b53d67407a492f57d9b0b56b411faac98a6ff0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 167.3 kB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
148a382f4e36cb23fda10ae941a292e927b6a15604aa72435ddb93b018d0ab88
|
|
BLAKE2b-256 checksum How to use checksums |
0070bfb9e629efca196c34881ee0af0c33bc255d63201acd28b727f2a8fd6c5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logRelease files / wrs_jlchain_native-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | wrs_jlchain_native-0.1.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 135.0 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
668000c84d134ce4453aa86518171b9d940d860ab08ae4931b2cf60077b2cc77
|
|
BLAKE2b-256 checksum How to use checksums |
a69dc3225742d75e83f508dd7a5616b4efbc6c15b60a99fcd45c386475d6059b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logSecurity for wrs-jlchain-native 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 16 files in this release have been uploaded with provenance metadata.
Attestation for wrs_jlchain_native-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.