PhysLink
Quick Start → | Evaluate for your lab → | For Domain Scientists →
PhysLink bridges physical simulators and deep RL adapters in one pip install.
Plug your robot trajectories into DreamerV3 (and future backends) without writing boilerplate space definitions, checkpoint logic, or compliance checks. PhysLink handles the plumbing — you keep the science.
Why PhysLink
| Without PhysLink | With PhysLink |
|---|---|
| Hand-write observation/action space mappings per framework | ObservationSpace.from_proprioception(joints=7) |
| Debug silent OOM on Colab at step 8 000 | physlink.doctor() catches it before you start |
| Lose 3h of T4 training on session disconnect | Auto-checkpoint every N steps, resume on reconnect |
| Manually verify energy conservation after adaptation | register_invariant + compliance_report() |
| Stare at loss curves to diagnose model drift | Triptych GIF — Imagination / Real / Difference in one call |
Install
pip install physlink
Works on Google Colab out of the box. No CUDA required for diagnostics and space definitions.
Quick example
import physlink
# 1. Verify your environment (< 15 s)
physlink.doctor()
# 2. Define spaces from your robot config
obs = physlink.ObservationSpace.from_proprioception(joints=7, include_velocity=True)
act = physlink.ActionSpace.continuous(dims=7, bounds=(-1.0, 1.0))
# 3. Adapt
adapter = physlink.DreamerV3Adapter(obs, act)
adapter.fit(trajectories, steps=10_000)
# 4. Validate physics compliance
physlink.register_invariant(adapter, "energy", fn=energy_fn, tolerance=0.05)
report = adapter.compliance_report()
report.plot()
# 5. Visualise
adapter.visualize(trajectories) # → triptych GIF
adapter.export("./run-01/")
Documentation
Full docs at Denis-hamon.github.io/physlink — includes API reference, lab adoption guide, and domain-scientist quickstart.
Status
v0.1.x — public API stable across minor versions (see CHANGELOG).
test-cpu CI passes on every PR. GPU benchmarks run on release tags.
Contributing
See CONTRIBUTING.md. Issues and PRs welcome — use the provided templates.
Metadata
Release files for physlink 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| physlink-0.1.2.tar.gz | 29.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| physlink-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 61.4 kB
Release files / physlink-0.1.2.tar.gz
| Download URL | physlink-0.1.2.tar.gz |
|---|---|
| Size | 29.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b901d28e52a5c41179a29de56f9151f25281fe8ffe316d41609a520e424bb19
|
|
BLAKE2b-256 checksum How to use checksums |
784cf9b16c48701c11ebe416930f04cb19efb96f59c092b4ef4a028f4c3dc06b
|
| 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 May 22, 2026.
Transparency logRelease files / physlink-0.1.2-py3-none-any.whl
| Download URL | physlink-0.1.2-py3-none-any.whl |
|---|---|
| Size | 31.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80d5b510e9e2b362ec01ca47d1576457bf32451bf26896464cdd1dbc4604ff66
|
|
BLAKE2b-256 checksum How to use checksums |
447322ba988d28da16936db7a46fc0af9b67c93dfcd6949c6f95950c6ce1a340
|
| 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 May 22, 2026.
Transparency log