Package ply was not updated since 2018. It could lead to security issues and difficulties with new python versions.
ply
Use some of its forks, for example sly