Aiorcon
An asynchronous interface for the Source RCON Protocol.
Install / Use
/learn @skmendez/AiorconREADME
aiorcon
.. image:: https://img.shields.io/pypi/v/aiorcon.svg :target: https://pypi.org/project/aiorcon/
.. image:: https://img.shields.io/pypi/l/aiorcon.svg :target: https://pypi.python.org/pypi/aiorcon
.. image:: https://img.shields.io/pypi/pyversions/aiorcon.svg :target: https://pypi.python.org/pypi/aiorcon
An asynchronous interface for the Source RCON Protocol.
Installation
The easiest way is to install via pip:
.. code-block::
pip install aiorcon
Usage Example
Using aiorcon is pretty simple. First you have to create a RCON Object with
the create method. The RCON Object itself is now callable with the command
you want to send. After awaiting the call you get the output of the command.
.. code-block:: python
import aiorcon import asyncio
async def main(loop):
# initialize the RCON connection with ip, port, password and the event loop.
rcon = await aiorcon.RCON.create("192.168.2.137", 27015, "rconpassword", loop)
# send a command
stats = await(rcon("stats"))
print(stats)
# close the connection in the end
rcon.close()
loop = asyncio.get_event_loop() loop.run_until_complete(main(loop))
Related Skills
node-connect
337.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.1kCommit, push, and open a PR
