Quake3 Async RCON Client
Project description
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 = await AsyncRconClient.create_client(
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-1.2.5.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-1.2.5.tar.gz.
File metadata
- Download URL: urt30arcon-1.2.5.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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 |
bc1227fbf4f21ce44d69258ed6eb784919b40337ac1429c9bfaceb0968b12a49
|
|
| MD5 |
43a159dbdf647c5097938341a4b6c029
|
|
| BLAKE2b-256 |
a2c778fbbd24cc3f131de438f84d4d877f55d811c0054ed7a522572b36a5b9e0
|
File details
Details for the file urt30arcon-1.2.5-py3-none-any.whl.
File metadata
- Download URL: urt30arcon-1.2.5-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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 |
01e1d5779fecb1ab1474643e9b5429694a4f90b7f06fd1d7154c4acaa266ded5
|
|
| MD5 |
0b48ece33db7b3add5a0a0cb0026a367
|
|
| BLAKE2b-256 |
f4e3b5e2973c0da37ff08b32b75eee6b80cf6fc3611067a7fefb06d07e66ba36
|