Skip to main content

Quake3 Async RCON Client

Project description

Quake3 Async RCON Client

Requirements

Usage

import asyncio

from urt30arcon import AsyncRconClient


async def async_main() -> None:
    client = await AsyncRconClient.create_client(host="127.0.0.1", port=27960, password="sekret")

    await client.bigtext("hello world")
    game = await client.game_info()
    if game.players:
        first_player = game.players[0]
        await client.slap(slot=first_player.slot)


if __name__ == '__main__':
    asyncio.run(async_main())

Project details


Download files

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

Source Distribution

urt30arcon-1.2.1.tar.gz (14.0 kB view hashes)

Uploaded Source

Built Distribution

urt30arcon-1.2.1-py3-none-any.whl (12.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page