aio-q3-rcon

An async Quake 3 RCON implementation for Python
Installation
pip install aio-q3-rcon
or with the cli extra
pip install aio-q3-rcon[cli]
CLI Usage
Usage: q3rcon [OPTIONS] ADDRESS PASSWORD
Options:
-p, --port INTEGER RANGE [1<=x<=65535]
--timeout FLOAT RANGE [x>=0.01]
--fragment-read-timeout, --fr-timeout FLOAT RANGE
[x>=0.01]
--retries INTEGER RANGE [x>=1]
--debug
--help Show this message and exit.
API Reference
Examples Folder
class Client(host: str, port: int, timeout: float, fragment_read_timeout: float, retries: int, logger: Logger | None)
- Parameters:
host:str- the host / IP / domain of the server to connect toport:port- the port of the server to connect to- default value is
27960
- default value is
timeout:float- the timeout for network operations- default value is
2.0 - for network operations with retries, the timeout applies to the rewrite attempts as a whole, rather than being per retry
- default value is
fragment_read_timeout:float- the timeout for waiting on potentially fragmented responses- default value is
.25 - the Quake 3 server can sometimes send fragmented responses, since there is no consistent way to tell if a response is fragmented or not, the best solution is to wait for fragmented responses from the server whether they exist or not. This value is the timeout for waiting for those responses.
- default value is
retries:int- the amount of retries per network operation- default value is
2 - all network operations except for reads are wrapped in retry logic
- default value is
logger:Logger | None- the logger instance- default value is
None - if there is no logger specified, a logger that has
disabledset toTruewill be used instead - currently only some debug information is logged
- default value is
- Methods:
connect(verify:bool=True) ->None- connects to the server
- if
verifyisTrue, then theheartbeatRCON command is sent and the password is checked as well - if
Clientis being used as a context manager, this will be called automatically upon enter
close() ->None- closes the connection to the server
- if
Clientis being used as a context manager, this will be called automatically upon exit
exception RCONError
- Base exception all aio-q3-rcon errors derive from
exception IncorrectPasswordError
- Raised when the provided password is incorrect
Metadata
Release files for aio-q3-rcon 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aio_q3_rcon-1.0.1.tar.gz | 5.9 kB | Without provenance | Details for aio_q3_rcon-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aio_q3_rcon-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for aio_q3_rcon-1.0.1-py3-none-any.whl |
Total release size: 13.1 kB
Release files / aio_q3_rcon-1.0.1.tar.gz
| Download URL | aio_q3_rcon-1.0.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6f9fcfa1c2504f0b2fb83454eeab2cca7b9102772e68a0482ad7ef5d613cc37
|
|
BLAKE2b-256 checksum How to use checksums |
59968c3b1e62973770ded642404b1091bce4e04afa366d7b78d3ac2bd6f2881b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.10.7 Darwin/25.3.0
|
Release files / aio_q3_rcon-1.0.1-py3-none-any.whl
| Download URL | aio_q3_rcon-1.0.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7fdfb0f3cdb437a692b121c7c21cdc7cdda74df3dcc1e2b58e6d46b0a13d8ae
|
|
BLAKE2b-256 checksum How to use checksums |
c22c7c94efe13160ea820b88dd437c51cf192e4b3eac97e87100fa862d47535d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.10.7 Darwin/25.3.0
|
Security for aio-q3-rcon 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.