Skip to main content

A python library for interacting with Pokémon Showdown

Project description

pslib

A python library for interacting with Pokémon Showdown.

🚧 Work in progress 🚧

import asyncio
import pslib

async def main():
    async with pslib.connect() as client:
        await client.login("username", "password")

        async for message in client.listen(pslib.PrivateMessage):
            print(message.sender, message.content)

asyncio.run(main())

Installation

The package can be installed with pip.

$ pip install pslib

License - MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pslib, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pslib-0.0.2-py3-none-any.whl (8.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pslib-0.0.2.tar.gz (6.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page