pymarvin
High-performance Python bindings for Tianji Marvin robots, built with nanobind, CMake and scikit-build-core. The distribution and import names are both pymarvin.
The control, kinematics and interference SDK implementations are bundled in the package and compiled into its native extensions. Supported wheels include the SDK, so installation does not require a separate vendor SDK or compiler.
Features
- Official-compatible controller, offline kinematics and interference-check APIs.
- Native C++ execution through nanobind, with Python value and buffer validation.
- Controller commands, telemetry, motion planning, identification and file transfer.
- Forward/inverse kinematics, Jacobians, trajectory planning and owned
PointSetobjects with context-manager support. - Collision distance and threshold checks with bundled CCSM6 model definitions.
- Offline examples that run without a controller, plus the official controller and planning showcases.
- Linux and Windows wheels published through the same tested CI artifacts.
Requirements
| Requirement | Support |
|---|---|
| Platform | Linux x86_64/aarch64 or Windows x64 |
| Python | CPython 3.10–3.14 |
| Runtime SDK | Included in supported wheels |
| Source build | C++17 compiler, CMake and nanobind build dependencies |
macOS wheels, PyPy and 32-bit Windows are not published. Robot motion and controller-dependent operations require a compatible Marvin controller and its configuration files.
Installation
Install a released wheel with uv or pip:
uv add pymarvin
python -m pip install pymarvin
Supported wheels are ready to import. A source distribution can also be built with a C++17 toolchain and CMake; the native SDK sources are included in that archive.
Quick start
Kinematics and interference checks can run without hardware:
from pymarvin import Marvin_Kine, PointSet
kine = Marvin_Kine()
pose = kine.xyzabc_to_mat4x4([100, 200, 300, 0, 0, 0])
print(kine.mat4x4_to_xyzabc(pose))
with PointSet(dimension=7) as points:
points.append([0, 0, 0, 0, 0, 0, 0])
print(points.to_list())
The controller facade keeps the official clear-set-send workflow:
from pymarvin import DCSS, Marvin_Robot
robot = Marvin_Robot()
if not robot.connect("192.168.1.10"):
raise RuntimeError("Cannot connect to the controller")
try:
print(robot.subscribe(DCSS())["states"])
finally:
robot.release_robot()
Importing the package and constructing a facade do not connect to a robot.
API compatibility
| Module | Main interfaces |
|---|---|
pymarvin.fx_robot |
Marvin_Robot, Concise_Marvin_Robot, controller records and command helpers |
pymarvin.fx_kine |
Marvin_Kine, kinematics records, Jacobians and planning helpers |
pymarvin.fx_interference |
Marvin_Interference and interference status constants |
The facades preserve the official method names, argument order and return
conventions. Planning methods retain the (data, pset) convention, while
pset is an owned PointSet rather than an integer address. close() and
context-manager support are available for owned point sets.
Examples
The source distribution includes the official Marvin Python showcases. Most controller examples require a reachable robot and may issue motion, torque, drag, brake or file-transfer commands. Read the selected example before running it on a robot.
The following examples are hardware-independent:
python examples/offline_kinematics.py
python examples/offline_interference.py
The interference showcase uses the bundled model definitions and demonstrates live collision checks during drag mode:
python examples/showcase_drag_interference.py
Documentation
- English documentation
- Chinese documentation
- Examples guide
- Compatibility notes
- Development and publishing
SDK source and license
The bundled official SDK snapshot comes from the master branch of
TJ_FX_ROBOT_CONTRL_SDK,
commit bc4f61104a66e82b4c750f3a0bc7a95c9ef44139.
The SDK is distributed under Apache License 2.0. Project binding changes and
third-party license details are recorded in
THIRD_PARTY_NOTICES.md.
Metadata
Release files for pymarvin 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 |
|---|---|---|---|---|
| pymarvin-0.1.0.tar.gz | 399.5 kB | Without provenance | Details for pymarvin-0.1.0.tar.gz |
Built distributions (wheels)
Total release size: 7.7 MB
Release files / pymarvin-0.1.0.tar.gz
| Download URL | pymarvin-0.1.0.tar.gz |
|---|---|
| Size | 399.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27e24442dd137c254aeb7d76915756415e01d82de108c9b404045a1495b245e0
|
|
BLAKE2b-256 checksum How to use checksums |
40c89458204e4928496349e002db121066b70a34d6f689bd9a77afb819a92404
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp314-cp314-win_amd64.whl
| Download URL | pymarvin-0.1.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 674.9 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ff81784f22b17a8fd7c94500f167f812d955172fa8c0936a4da76d74c8bbc20c
|
|
BLAKE2b-256 checksum How to use checksums |
e041e6d641e49e37a6165ce445b60b34d65d9d82b20f2be467999101d6067f81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pymarvin-0.1.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 407.0 kB |
| Tags | CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
e57834d98945e9956f909d077ee562e562bec57eb671aa9cff3fce95fa66ab15
|
|
BLAKE2b-256 checksum How to use checksums |
30732f8e651dcba77659f526d5796191a8abc2720dc40f66c6a19c76d6b785ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | pymarvin-0.1.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 384.7 kB |
| Tags | CPython 3.14 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
a0bbbb8f1dfd01d6447dea9faa463c019567dd86bf8a4653ac4b0e27b7973347
|
|
BLAKE2b-256 checksum How to use checksums |
11557e92fccaa1fe76f26f16327896797cda50038ea62f70a46f5aa1b027a395
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp313-cp313-win_amd64.whl
| Download URL | pymarvin-0.1.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 654.5 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ab3bb720394227db135998e9872b23790cbcbf0c6b3be048691e7db5d68c9593
|
|
BLAKE2b-256 checksum How to use checksums |
dfea70f80f7d55ba856ef0d6c5d1866b3e45171572d8a16407fc5cc48c074cec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pymarvin-0.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 406.5 kB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
3baf011174da63b5b8c51f113b00ef1f3d4cd4e5594466697703e7b7ae641f6e
|
|
BLAKE2b-256 checksum How to use checksums |
cef5a4765fe370f3e51fe3e7d5ac6525cf6518152eeb6d036c3da01901f9c11a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | pymarvin-0.1.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 384.2 kB |
| Tags | CPython 3.13 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
19f81c2d353182ae06e9cfc1f6293093ecca1a79fd0ae67df9de45ff1dbfa245
|
|
BLAKE2b-256 checksum How to use checksums |
409dbfabf1b6d99a21153639c26d2f60352c22160336b61189fe3cbb4ac43aac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp312-cp312-win_amd64.whl
| Download URL | pymarvin-0.1.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 654.4 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
29cda18bf4e096dd23000174df4459904de1d94663c1f33ca63f4de3cbb7502e
|
|
BLAKE2b-256 checksum How to use checksums |
065eb9b73ba1e01f766cc0a1ad05b80d261b7cfee49f425c58d4c94f75be3393
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pymarvin-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 406.7 kB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
e82bdd402e71570c1e4f620b38b33dcbf3014b426a28dbfe4d1fe92c68284c2e
|
|
BLAKE2b-256 checksum How to use checksums |
e4d9c7bef29e9b828b1660c5a82bc73a55f172015fc4169082188cd3f962aed2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | pymarvin-0.1.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 384.3 kB |
| Tags | CPython 3.12 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
4bddbb136a5a6fb9ccef532ca6e56987f15563cb0c7dbfc2e963f028fe197d28
|
|
BLAKE2b-256 checksum How to use checksums |
71ea03ed9c936365dbf158b4faf71ddc52567c828202ce64bc6689e738aa6e78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp311-cp311-win_amd64.whl
| Download URL | pymarvin-0.1.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 654.7 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9a1c7bfaaed83a6e73bd2ef2f4b09d0b6d187732425cc191e45d78ca66f7e5e6
|
|
BLAKE2b-256 checksum How to use checksums |
994ee44e3e3750fd8c8c8760220e5ce7ff186ae1c80189f56fb35a548f6c7f56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pymarvin-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 408.0 kB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
be2b91449cdd8facf804554a86df465ecf9d424e013e61d6d92deeda34891219
|
|
BLAKE2b-256 checksum How to use checksums |
eacb856b535b82c9665d89645f89ffe5837f9e5879c1f9aee40272e6f9897026
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | pymarvin-0.1.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 386.9 kB |
| Tags | CPython 3.11 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
0b403f7be6aa638964262bc7966187f94f6d2b8507b8ee4758c1ef5fc15bc3fb
|
|
BLAKE2b-256 checksum How to use checksums |
7811ce69558465062f90609193d8d63e6848f7e903d1cfb62fae001a19cce4ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp310-cp310-win_amd64.whl
| Download URL | pymarvin-0.1.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 653.8 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8a272fbc0d1fb5a0ffb2a26fafbd9ee32c65d1a51c53cab58f3ad4c5c18d30c3
|
|
BLAKE2b-256 checksum How to use checksums |
1ef95ee0f6419b9fc9ae4b239978130924a2ad5af8420d14788f25aa80c00334
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pymarvin-0.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 408.6 kB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
4286872fe5f97705e527c0a105e34cb3c6a943088ecba56f1bce339600156917
|
|
BLAKE2b-256 checksum How to use checksums |
8fed670dea4b805c24e507651a1301f753019f938fd25bffe357bf83576bfdfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymarvin-0.1.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | pymarvin-0.1.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 387.5 kB |
| Tags | CPython 3.10 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
afc7284eca2d9821f59d2790240fde824ef7302d466c16bae526e850128af6d4
|
|
BLAKE2b-256 checksum How to use checksums |
a096131d77a24be4cfe18b58d1a94ed634806379cfd44b434f52ec6753919fd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pymarvin 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.