![](/uploads/1/2/5/7/125736285/409604785.jpg)
Latest version
Best Move Damage (%) Damage (px) KO Chance Type 1 Type 2 Ability Item; Created by Honko, maintained by Austin and pre Contributors; Bug Reports. Free pokemon showdown game download. Games downloads - Pokemon Showdown by Guangcong Luo and many more programs are available for instant and free download.
Released:
An extendable client for interacting with Pokemon Showdown
![Pokemon Pokemon](http://www.bruna.cat/imgdownload/full/92/929266/wallpaper-kostenlos-downloaden.jpg)
Project description
A client for Pokemon Showdown! for Python 3.4 and 3.5. This was written to make it easier to write bots, interact with users, moderate chat rooms, and collect data.
Splatoon 2 music. Install the package with
pip3 install --user showdownpy
. This will also install the package's websockets
and aiohttp
dependencies if you do not already have them.Examples have been provided in the
./examples directory
. Make sure to create your own versions of the login.txt
and owner.txt
files in ./examples/data/
directory. Templates for those files have been provided.The client on its own doesn't do very much, and is instead intended to be extended and modified. This can be done through various 'hook' coroutines left in the base class. The following program uses the
on_private_message
hook to echo back the content of any PMs it receives.Other hooks include
on_connect
, on_login
, on_room_init
, on_room_deinit
, on_query_response
and on_chat_message
.These hooks are by no means all inclusive (Showdown has somewhere upwards of 40 different types of messages it uses to interact with clients in its protocol), and so a catch-all hook
on_receive
is also present. Each hook call is given its own task on the event loop, so you can have multiple active coroutines spawned from the same hook.The bot can also be used for collecting data on battles. The following bot anonymously joins ongoing matches in the format 'OU' and saves replays of them when a user finishes.
It is recommended that you save local copies of these matches rather than upload them, as to not overwhelm Showdown's replay server.
This package is still a work in progress, and any contributions would be great! I'm currently prioritizing documentation over new features, but if you have an idea for something let me know. Feel free to share anything you make with the client and if its succint enough I may add it to the pool of examples.
Release historyRelease notifications
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size showdownpy-0.1.5-py3-none-any.whl (27.0 kB) | File type Wheel | Python version py3 | Upload date | Hashes |
Filename, size showdownpy-0.1.5.tar.gz (24.1 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for showdownpy-0.1.5-py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | 21f73779a1b73f43bb9ad5120331ba3272e8a722b715269e8079a6c007f6c268 |
MD5 | 6f5d3d23486fcc88ddcb9aaac3cccca0 |
BLAKE2-256 | 0f51d40ab0cd3f724f85139ade1d8c5c43921d981f63bd7b20905e6434ad8b2e |
Hashes for showdownpy-0.1.5.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | 68de90dc98b4730ea24d4d0582a49caabc1d042afba73259fb1bd77a5ebff6ed |
MD5 | 9801c6daa551f48acbefafd137a04c16 |
BLAKE2-256 | cf2c3c94b3fc5c67463c269b1499b2b655299e910a7143dbf17a53799ae16455 |
![](/uploads/1/2/5/7/125736285/409604785.jpg)