This release is a pre-release and may not be stable for production use.
MJLab Adaptor
This repository contains a UniEnv adaptor for mjlab.
Installation
pip install unienv_mjlab
Usage
import mjlab.tasks
from mjlab.envs import ManagerBasedRlEnv
from mjlab.tasks.registry import load_env_cfg
from unienv_mjlab import FromMJLabEnv
cfg = load_env_cfg("Mjlab-Velocity-Flat-Unitree-G1")
cfg.scene.num_envs = 4
mjlab_env = ManagerBasedRlEnv(cfg=cfg, device="cpu", render_mode=None)
env = FromMJLabEnv(mjlab_env)
ctx, obs, info = env.reset(seed=0)
for _ in range(10):
action = env.sample_action()
obs, reward, terminated, truncated, info = env.step(action)
Notes
mjlabenvironments are vectorized by default.mjlab.step()auto-resets done environments before returning observations. This means that you don't need to callreset()after an episode ends.- The converted spaces carry unienv space metadata read from the mjlab managers: concatenated observation groups list their terms (
terms: name, shape, slice) and per-elementnames/units(e.g.joint_pos/left_knee_jointinrad), camera terms are described asCHWimages / depth normalized to[0, 1], and the action space records what each action term controls (control,mode, jointnames,scale,offset).
Metadata
Release files for unienv-mjlab 0.0.1a2
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 |
|---|---|---|---|---|
| unienv_mjlab-0.0.1a2.tar.gz | 16.8 kB | With provenance | Details for unienv_mjlab-0.0.1a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unienv_mjlab-0.0.1a2-py3-none-any.whl | Python 3 | none | any | Details for unienv_mjlab-0.0.1a2-py3-none-any.whl |
Total release size: 33.0 kB
Release files / unienv_mjlab-0.0.1a2.tar.gz
| Download URL | unienv_mjlab-0.0.1a2.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea152068fae448f0328671e3074254dea4c95f6f53cbd4b52092e7404e58e322
|
|
BLAKE2b-256 checksum How to use checksums |
93de45557aed6aa5518bf5d766b8e79b8b1deb9982e00a20d719a4f7ca12719f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 17, 2026.
Transparency logRelease files / unienv_mjlab-0.0.1a2-py3-none-any.whl
| Download URL | unienv_mjlab-0.0.1a2-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cee6b1e3e240f72159fe57bc87695192ba4b947871908c5ac4da5f7e647da5e6
|
|
BLAKE2b-256 checksum How to use checksums |
aa6028b4aebc04c8f23bc6cc0bf5afef22db9a307131e6adb2e3cf6f9d92e6a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 17, 2026.
Transparency logSecurity for unienv-mjlab 0.0.1a2
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
Both files in this release have been uploaded with provenance metadata.
Attestation for unienv_mjlab-0.0.1a2.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 Oct 17, 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.