Pyflyt

Latest version: v0.28.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 6

0.15.2

0.15.1

Bug Fixes

- Fix bug where drone was spawning in the ground for ma hover.

0.15.0

PZ environments converted to parallel

py
from PyFlyt.pz_envs import MAQuadXHoverEnv

env = MAQuadXHoverEnv(render_mode="human")
observations, infos = env.reset()

while env.agents:
this is where you would insert your policy
actions = {agent: env.action_space(agent).sample() for agent in env.agents}

observations, rewards, terminations, truncations, infos = env.step(actions)
env.close()

0.14.1

Bug fixes:
1. Start pos and orn not being passed to multiagent quadx environments
2. Added is_parallelizable

0.14.0

PettingZoo Support!

AEC ENVIRONMENTS HAVE BEEN DEPRECATED

py
from PyFlyt.pz_envs import MAQuadXHoverEnv

env = MAQuadXHoverEnv(render_mode="human")
env = wrappers.OrderEnforcingWrapper(env)

env.reset(seed=42)
for agent in env.agent_iter():
observation, reward, termination, truncation, info = env.last()

if termination or truncation:
action = None
else:
action = env.action_space(agent).sample()

env.step(action)

0.13.0

Fixes problem where PyFlyt wasn't obeying inertia tensor provided in the URDF file from 12.

Page 4 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.