Skip to main content

Python3 wrapper for RCON communication.

Project description

py3rcon

RCON API for Python3

Built and tested for Quake3, but will work with most RCON systems.

Installation:

$ pip install py3rcon

Examples:

Send RCON commands without waiting for a response:

from py3rcon import RCON

rcon = RCON("127.0.0.1", "secret_password") 
rcon.send_command("say Hello, world!", response=False)

Send RCON commands and get their response:

from py3rcon import RCON

rcon = RCON("127.0.0.1", "secret_password", port=27960) #port is optional
status = rcon.send_command("status") 
print(status)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py3rcon, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size py3rcon-0.2.0.tar.gz (1.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page