Programming Meloetta: Reinventing the Python Showdown Client

Introducing Meloetta!

https://github.com/spktrm/meloetta

Meloetta is a Pokémon Battle Client for interacting with Pokémon Showdown written in Python. This project was born out of frustration for currently existing tools and their lack of dependency on Zarel's (PS Creator) existing code for handling client server interation. Since Meloetta uses pokemon-showdown-client as a backen, you can be sure this handles all the latest mechanics flawlessly.

The client works by reading messages from an asyncio stream and forwarding these to the javascript client battle object with PyMiniRacer. This concept was taken from metagrok.

As is, the necessary javascript source files come with the pip install. Whenever Pokemon Showdown Client releases an update, the client code can also be automatically updated from the source.

I have taken asyncio code directly from pmariglia.

Please try out the package and let me know what you think
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top