Comparison
dm-env vs gymnasium
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Python interface for Reinforcement Learning environments.
Actively maintained. Last release 7 days ago. A safe choice.
$
pip install dm-envA standard API for reinforcement learning and a diverse set of reference environments (formerly Gym).
Actively maintained. Last release 8 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
$
pip install gymnasiumIn short
- gymnasium is the most used: 4.7M downloads a month, 7.5× more than dm-env.
- gymnasium also has the best Pythie’s Index (83).
- dm-env is growing fastest: downloads +17% over the last month.
- Safe default for a new project: gymnasium.