• The moderator of this forum is jetou.
  • Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.

Programming ps-client: a Python library for Pokémon Showdown chatbots!

Annika

insert witty remark
is a Top Programmeris a Battle Simulator Admin Alumnusis a Community Leader Alumnus
ps-client is a Python library designed to simplify the process of connecting to a Pokémon Showdown server and interacting with chatrooms. My bot, Expecto Botronum, is written with ps-client. Currently, I don't have any battling support — I mostly wrote what I needed to for Expecto and have been busy with other projects since then. It uses threads, rather than an asynchronous API — I might rewrite asynchronously when Python's async API is more stable (there have been numerous improvements to async/await between versions).

If anyone wants to check it out or use it in a Python project, you're more than welcome to! PyPI package | documentation | source code
 
Back
Top