Skip to main content

No project description provided

Project description

ci

mjx

mjx

Requirements

  • Ubuntu 20.04 or later
  • MacOS 10.15 or later
  • Python >= 3.7

Example

from mjx import MjxEnv
from mjx.agent import RandomAgent

agent = RandomAgent()
env = MjxEnv()
player_id, observation = env.reset()
while not env.done():
    action = agent.act(observation)
    player_id, observation = env.step(action)
rewards = env.rewards()

Visualization

Available at https://mjx-visualizer.an.r.appspot.com/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mjx-0.0.8.tar.gz (349.2 kB view hashes)

Uploaded Source

Built Distributions

mjx-0.0.8-cp39-cp39-manylinux2014_x86_64.whl (16.0 MB view hashes)

Uploaded CPython 3.9

mjx-0.0.8-cp39-cp39-manylinux2014_i686.whl (16.3 MB view hashes)

Uploaded CPython 3.9

mjx-0.0.8-cp39-cp39-macosx_10_15_x86_64.whl (13.0 MB view hashes)

Uploaded CPython 3.9 macOS 10.15+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page