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-2.0.2.tar.gz
(12.3 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.0.2.tar.gz.
File metadata
- Download URL: urt30arcon-2.0.2.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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 |
a05d12c574286b302409a8d5299c543a047bc50b1fc5c5d5dd199791fa0e64e4
|
|
| MD5 |
9e01c696cad310379ad160238ec98235
|
|
| BLAKE2b-256 |
e36f5ba44b03ce9ba4c71601146948a002c602a325b4de16c6fa47aa7184ee20
|
File details
Details for the file urt30arcon-2.0.2-py3-none-any.whl.
File metadata
- Download URL: urt30arcon-2.0.2-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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 |
f517957366c72373c7475f13bb55447d19cc53a20957c1845045af4d345e5443
|
|
| MD5 |
92edea66bd209765e739ddf03c9eb316
|
|
| BLAKE2b-256 |
db37fbcb804c99fa6d4b0de273b2738ee580100d3d144f9fa8373e7a517fa356
|