Metadata-Version: 2.1
Name: pslib
Version: 0.0.2
Summary: A python library for interacting with Pokémon Showdown
Home-page: https://github.com/vberlier/pslib
License: MIT
Keywords: pokemon-showdown,pokemon-showdown-bot,websockets,client,pslib
Author: Valentin Berlier
Author-email: berlier.v@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: aiohttp (>=3.6.2,<4.0.0)
Requires-Dist: websockets (>=8.1,<9.0)
Project-URL: Documentation, https://github.com/vberlier/pslib
Project-URL: Repository, https://github.com/vberlier/pslib
Description-Content-Type: text/markdown

# pslib

> A python library for interacting with Pokémon Showdown.

**🚧 Work in progress 🚧**

```python
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`.

```bash
$ pip install pslib
```

---

License - [MIT](https://github.com/vberlier/pslib/blob/master/LICENSE)

