A client library for the Pokémon Showdown! battle simulator.
Project description
This is a client library for the Pokémon Showdown! battle simulator.
Installation
pip install pyshowdown
Usage
from pyshowdown import client
import asyncio
if __name__ == "__main__":
c = client.Client(
username="username",
password="password",
url="wss://sim3.psim.us/showdown/websocket",
)
# System plugins (challstr, init, deinit, title, users) are automatically loaded
# Load any additional custom plugins here if needed:
# c.load_plugin("custom_plugin_name")
loop = asyncio.get_event_loop()
loop.run_until_complete(c.keep_connected())
Documentation
Full documentation is available at https://docs.scotteh.me/pyshowdown/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyshowdown-0.3.1.tar.gz
(23.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyshowdown-0.3.1.tar.gz.
File metadata
- Download URL: pyshowdown-0.3.1.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdcdd3b3d71742b363cccc3c8dc9afc71e019eb8592841777d822374e85f406c
|
|
| MD5 |
a80219bc09c9dca1b07b39e61b90446b
|
|
| BLAKE2b-256 |
811d9e8aad9803924176e926ed1675492789ea27bec347fd80d86bea45dec717
|
File details
Details for the file pyshowdown-0.3.1-py3-none-any.whl.
File metadata
- Download URL: pyshowdown-0.3.1-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98dee4d9f2a42616aa1c715713caf07c6b67e8b82e3f3abcd6da37798314377d
|
|
| MD5 |
8b772eb4da7f8a787d91c3f598b8e576
|
|
| BLAKE2b-256 |
713e16f25659ed7d3fb28230c087de2853fca5a0b71c9e1b1f84e4561226f215
|