Skip to main content

A simple factorio RCON client

Project description

factorio-rcon-py

A simple factorio RCON client

Install

pip3 install factorio-rcon-py

Usage

Example:

import factorio_rcon

client = factorio_rcon.RCONClient("127.0.0.1", 12345, "mypassword")
response = client.send_command("/help")

Return values:

String if data was returned, else None

Types:

  • ip - string
  • port - int
  • password - string

Raised exceptions:

All exceptions are raised as ConnectionError or a subset of it. Exceptions can be raised due a refused connection (wrong ip/port), incorrect password or the server going down.

License

GPLV3

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
factorio_rcon_py-0.0.2-py3-none-any.whl (14.9 kB) Copy SHA256 hash SHA256 Wheel py3
factorio-rcon-py-0.0.2.tar.gz (2.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page