Skip to main content

A simple factorio RCON client

Project description

factorio-rcon-py

A simple factorio RCON client

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.

Source Distribution

factorio-rcon-py-0.0.1.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

factorio_rcon_py-0.0.1-py3-none-any.whl (14.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page