Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

rconx

License PyPI Python

rconx is a Python library for communicating with TCP servers that use the Source RCON packet format. It provides synchronous and asynchronous clients for authentication and command execution, together with servers for exposing an application's own command handlers over RCON.

The clients collect command results using selectable presets, including SRCDS, Minecraft, and Cuberite. Low-level clients and servers are available for applications that need to exchange individual RCON packets. The command-line interface executes commands from a terminal or script.

Installation

rconx supports Python 3.8 and later, with best-effort compatibility for Python 3.6 and 3.7. The examples below use Python 3.8 or later.

rconx is available on PyPI:

python -m pip install rconx

Quick start

These examples execute list on a Minecraft server with RCON enabled.

Synchronous client

from rconx import RconClient, RconPreset

with RconClient.create("127.0.0.1", 25575, RconPreset.minecraft) as client:
	client.connect()
	client.authenticate("your-rcon-password")
	response = client.execute("list")
	print(response.text)

Asynchronous client

import asyncio

from rconx import AsyncRconClient, RconPreset


async def main():
	async with AsyncRconClient.create("127.0.0.1", 25575, RconPreset.minecraft) as client:
		await client.connect()
		await client.authenticate("your-rcon-password")
		response = await client.execute("list")
		print(response.text)


asyncio.run(main())

Documentation

  • The client guide describes client usage, presets, command results, and error handling. It also records compatibility and testing status for individual servers.
  • The server guide describes business callbacks, connection handling, and service lifecycle.
  • The command-line guide describes installation, command execution, interactive mode, and output handling.

License

rconx is licensed under LGPL-3.0-only.

Metadata

Release files for rconx 0.1.1b2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rconx 0.1.1b2
File Size Uploaded Provenance
rconx-0.1.1b2.tar.gz 31.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for rconx 0.1.1b2
File Interpreter ABI Platform
rconx-0.1.1b2-py3-none-any.whl Python 3 none any Details

Total release size: 76.0 kB

Release files / rconx-0.1.1b2.tar.gz

Download URL rconx-0.1.1b2.tar.gz
Size 31.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e2e1ee1ab87ede6926bfb950cfdd1a7ddeeacd2b299ebce9385a22fedc09a2db
BLAKE2b-256 checksum
How to use checksums
bb197e93ad2c45edf434358e0dcb3819179981cdf9599861853e397e4cf68870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / rconx-0.1.1b2-py3-none-any.whl

Download URL rconx-0.1.1b2-py3-none-any.whl
Size 44.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
deb5ca72174d96038b140bc393f95a0176e3853aa2affd29eda9ebbaf030ad5f
BLAKE2b-256 checksum
How to use checksums
aa6c2ff43ca7101ad8375ef13a92e4ed58964cae9c62a717aeb4f7fce83654b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Security for rconx 0.1.1b2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rconx-0.1.1b2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page