{"id":24156,"library":"openenv-core","title":"openenv-core","description":"A unified framework for reinforcement learning environments. Provides a standardized interface for creating, wrapping, and interacting with RL environments. Version 0.2.3, active development, monthly releases.","status":"active","version":"0.2.3","language":"python","source_language":"en","source_url":"https://github.com/openenv/openenv-core","tags":["reinforcement-learning","environments","gymnasium","rl"],"install":[{"cmd":"pip install openenv-core","lang":"bash","label":"Standard install"}],"dependencies":[{"reason":"Core dependency for environment spaces and wrappers","package":"gymnasium","optional":false},{"reason":"Array handling for observations","package":"numpy","optional":false}],"imports":[{"note":"Main class for creating environments","symbol":"Environment","correct":"from openenv_core import Environment"},{"note":"Factory function to instantiate environments","symbol":"make","correct":"from openenv_core import make"},{"note":"Base class for environment wrappers","symbol":"Wrapper","correct":"from openenv_core import Wrapper"}],"quickstart":{"code":"from openenv_core import make, Environment\n\nenv = make('CartPole-v1')\nobs, info = env.reset(seed=42)\nfor _ in range(100):\n    action = env.action_space.sample()\n    obs, reward, terminated, truncated, info = env.step(action)\n    if terminated or truncated:\n        obs, info = env.reset()\nenv.close()","lang":"python","description":"Creates a simple CartPole environment and runs random actions."},"warnings":[{"fix":"Use `obs, reward, terminated, truncated, info = env.step(action)`.","message":"The `step` method returns 5 values: obs, reward, terminated, truncated, info (like Gymnasium). Do not unpack 4 values (obs, reward, done, info).","severity":"breaking","affected_versions":">=0.2.0"},{"fix":"Check the exact ID with `openenv_core.registry.list()`.","message":"Environment IDs are case-sensitive and must exactly match the registered ID (e.g., 'CartPole-v1' not 'cartpole-v1').","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use `from openenv_core import ...` (underscore), not `openenv-core`.","cause":"Using hyphen instead of underscore in import.","error":"ModuleNotFoundError: No module named 'openenv_core'"},{"fix":"Unpack into 5 variables: obs, reward, terminated, truncated, info.","cause":"Trying to unpack step() result into 4 variables.","error":"ValueError: too many values to unpack (expected 4)"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}