Quake3 Async RCON Client
Project description
Urban Terror Quake3 Async RCON Client
Requirements
- Game: Urban Terror 4.3.4
- Python: 3.13+
Usage
import asyncio
import os
from urt30arcon import AsyncRconClient
async def async_main() -> None:
rcon_host = os.getenv("RCON_HOST", "127.0.0.1")
rcon_port = int(os.getenv("RCON_PORT", "27960"))
rcon_pass = os.environ["RCON_PASS"]
client = AsyncRconClient(
host=rcon_host,
port=rcon_port,
password=rcon_pass,
)
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
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
urt30arcon-2.1.1.tar.gz
(12.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 urt30arcon-2.1.1.tar.gz.
File metadata
- Download URL: urt30arcon-2.1.1.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61b7ab82dd3491eebe955d8af4d6378dc181467b1b5efbb87df6cdf6cf40acff
|
|
| MD5 |
d62d93be5fb9aed6cbc01f66efc46248
|
|
| BLAKE2b-256 |
5a2ef975ba3fb037c15cc93510fe1bd5baaa920dda2c772ff08f16e90ce68b07
|
File details
Details for the file urt30arcon-2.1.1-py3-none-any.whl.
File metadata
- Download URL: urt30arcon-2.1.1-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4ab6101f1df28f8c144d68957cc75928b9990bd3eb77eb4b071a381980cc5a8
|
|
| MD5 |
71f58b032a633614c71f5c5a9afe6831
|
|
| BLAKE2b-256 |
c1d10f51f83ddb236731a4128b4a1ef5b983e55198856df41f9e4e326733b61c
|