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
Release history Release notifications | RSS feed
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.2.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for factorio_rcon_py-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a7cf7e26144ec6ded6c9df20ebde89a2076d76a335e73ec89bd423ae93d2768 |
|
MD5 | 3898eecbcb5b09a37381154205c76d43 |
|
BLAKE2b-256 | 183b3fd17352d6feedeed80787ff78558c0f429a8dec57f240abd7714c2de256 |