Skip to content

Commit 3fc8d8e

Browse files
Update links to PettingZoo homepage (Unity-Technologies#6065)
This new website was introduced in the docs for PettingZoo 1.21.0 in 2022: https://pypi.org/project/pettingzoo/1.21.0/ (compare to https://pypi.org/project/pettingzoo/1.20.1/ )
1 parent 86a3a6e commit 3fc8d8e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/Python-PettingZoo-API.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Unity ML-Agents PettingZoo Wrapper
22

33
With the increasing interest in multi-agent training with a gym-like API, we provide a
4-
PettingZoo Wrapper around the [Petting Zoo API](https://www.pettingzoo.ml/). Our wrapper
4+
PettingZoo Wrapper around the [Petting Zoo API](https://pettingzoo.farama.org/). Our wrapper
55
provides interfaces on top of our `UnityEnvironment` class, which is the default way of
66
interfacing with a Unity environment via Python.
77

@@ -20,7 +20,7 @@ which is a multi-agents environment with multiple different behavior names.
2020
## API interface
2121

2222
This wrapper is compatible with PettingZoo API. Please check out
23-
[PettingZoo API page](https://www.pettingzoo.ml/api) for more details.
23+
[PettingZoo API page](https://pettingzoo.farama.org/api/aec/) for more details.
2424
Here's an example of interacting with wrapped environment:
2525

2626
```python
@@ -37,8 +37,8 @@ for agent in env.agent_iter():
3737
```
3838

3939
## Notes
40-
- There is support for both [AEC](https://www.pettingzoo.ml/api#interacting-with-environments)
41-
and [Parallel](https://www.pettingzoo.ml/api#parallel-api) PettingZoo APIs.
40+
- There is support for both [AEC](https://pettingzoo.farama.org/api/aec/)
41+
and [Parallel](https://pettingzoo.farama.org/api/parallel/) PettingZoo APIs.
4242
- The AEC wrapper is compatible with PettingZoo (PZ) API interface but works in a slightly
4343
different way under the hood. For the AEC API, Instead of stepping the environment in every `env.step(action)`,
4444
the PZ wrapper will store the action, and will only perform environment stepping when all the

ml-agents-envs/colabs/Colab_PettingZoo.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
"source": [
193193
"### Stepping the environment\n",
194194
"\n",
195-
"Example of interacting with the environment in basic RL loop. It follows the same interface as described in [PettingZoo API page](https://www.pettingzoo.ml/api)."
195+
"Example of interacting with the environment in basic RL loop. It follows the same interface as described in [PettingZoo API page](https://pettingzoo.farama.org/api/aec/)."
196196
]
197197
},
198198
{
@@ -223,7 +223,7 @@
223223
"source": [
224224
"### Additional Environment API\n",
225225
"\n",
226-
"All the API described in the `Additional Environment API` section in the [PettingZoo API page](https://www.pettingzoo.ml/api) are all supported. A few examples are shown below."
226+
"All the API described in the `Additional Environment API` section in the [PettingZoo API page](https://pettingzoo.farama.org/api/aec/) are all supported. A few examples are shown below."
227227
]
228228
},
229229
{

0 commit comments

Comments
 (0)