2022-10-12 15:58:01 +01:00
|
|
|
---
|
|
|
|
title: Registry
|
|
|
|
---
|
|
|
|
|
|
|
|
# Registry
|
|
|
|
|
|
|
|
Gymnasium allows users to automatically load environments, pre-wrapped with several important wrappers.
|
2022-12-04 22:24:02 +08:00
|
|
|
Environments can also be created through python imports.
|
2022-10-12 15:58:01 +01:00
|
|
|
|
|
|
|
## Make
|
|
|
|
|
|
|
|
```{eval-rst}
|
|
|
|
.. autofunction:: gymnasium.make
|
|
|
|
```
|
|
|
|
|
|
|
|
## Register
|
|
|
|
|
|
|
|
```{eval-rst}
|
|
|
|
.. autofunction:: gymnasium.register
|
|
|
|
```
|
|
|
|
|
|
|
|
## All registered environments
|
|
|
|
|
2022-11-17 20:40:19 +00:00
|
|
|
To find all the registered Gymnasium environments, use the `gymnasium.pprint_registry()`.
|
2022-10-12 15:58:01 +01:00
|
|
|
This will not include environments registered only in OpenAI Gym however can be loaded by `gymnasium.make`.
|
|
|
|
|
|
|
|
## Spec
|
|
|
|
|
|
|
|
```{eval-rst}
|
|
|
|
.. autofunction:: gymnasium.spec
|
|
|
|
```
|
2022-11-17 20:40:19 +00:00
|
|
|
|
|
|
|
## Pretty print registry
|
|
|
|
|
|
|
|
```{eval-rst}
|
|
|
|
.. autofunction:: gymnasium.pprint_registry
|
2022-12-04 22:24:02 +08:00
|
|
|
```
|