Python package for authenticating and communicating with a Minecraft server using the Minecraft RCON protocol
import asyncio
from siren import RconClient
async def test_auth() -> None:
async with RconClient("123.2.3.4", 25575, "AVeryRealPassword") as client:
print(await client.send("list"))
if __name__ == '__main__':
loop = asyncio.new_event_loop()
loop.run_until_complete(test_auth())