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.3.tar.gz
(12.5 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.3.tar.gz.
File metadata
- Download URL: urt30arcon-2.1.3.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c77966b8254333ed3918d782744dc15fafe8a53eaa10728361781ad484fbdd5
|
|
| MD5 |
45c34f5bf625afee123ed9cf1fe9b79d
|
|
| BLAKE2b-256 |
70b4a6cbfa1d23d07471b839e9ce183713c37c6e0c14e1992f7c6fd91f011006
|
File details
Details for the file urt30arcon-2.1.3-py3-none-any.whl.
File metadata
- Download URL: urt30arcon-2.1.3-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9eb620a344e2f88a2f24efb945ecb29213354cc3e48c7554f9aefd8941ee41a9
|
|
| MD5 |
4b697784a662ebe1ceddbd74c8e4bc9b
|
|
| BLAKE2b-256 |
edb9d1cfb5176b21420b419a6294ccfedf152453d8142f2de3a87e4ee9d4bc40
|