Registry / ai-ml / openenv-core

openenv-core

JSON →
library0.3.0pypypi✓ verified 83d ago

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.

pip install openenv-core
INSTALL
IMPORT
SIG · OPENENV-CORE
O
openenv-core
ai-mlpythonv0.3.0
Install
21.3s avg
Import
17616ms
Disk
340MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 14.590s · 406.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 21.3s · import 13.596s · 399MB
340MB installed
● package 340MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Environment
from openenv_core import Environment
Main class for creating environments
make
from openenv_core import make
Factory function to instantiate environments
Wrapper
from openenv_core import Wrapper
Base class for environment wrappers

Creates a simple CartPole environment and runs random actions.

from openenv_core import make, Environment env = make('CartPole-v1') obs, info = env.reset(seed=42) for _ in range(100): action = env.action_space.sample() obs, reward, terminated, truncated, info = env.step(action) if terminated or truncated: obs, info = env.reset() env.close()
Debug
Known issues
breakingThe `step` method returns 5 values: obs, reward, terminated, truncated, info (like Gymnasium). Do not unpack 4 values (obs, reward, done, info).
fix
Use `obs, reward, terminated, truncated, info = env.step(action)`.
affects: >=0.2.0
gotchaEnvironment IDs are case-sensitive and must exactly match the registered ID (e.g., 'CartPole-v1' not 'cartpole-v1').
fix
Check the exact ID with `openenv_core.registry.list()`.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'openenv_core'
Using hyphen instead of underscore in import.
fix
Use `from openenv_core import ...` (underscore), not `openenv-core`.
ValueError: too many values to unpack (expected 4)
Trying to unpack step() result into 4 variables.
fix
Unpack into 5 variables: obs, reward, terminated, truncated, info.
Upgrade
Version history
0.3.0latest on PyPI · released May 11, 2026
Audit
Dependencies
gymnasiumrequiredCore dependency for environment spaces and wrappers
numpyrequiredArray handling for observations
Agent activity
2 hits · last 30 days
node
2
Resources
openenv-core — pip install openenv-core · libregistry