factorio-rcon-py
A simple Factorio RCON client
Decision gist · record as of 2026-08-14
Yes, if you need to control a Factorio server programmatically. The package is stable, has no external dependencies, and covers the core RCON protocol well. The dormant maintenance (last commit 786 days ago) is a minor concern for long-term compatibility, but the protocol is unlikely to change frequently. Suitable for automation and scripting tasks; less suitable if you need active upstream support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later.
- Async support requires installing the anyio extra (pip install factorio-rcon-py[async]).
- Low install friction with no runtime dependencies in the base package.
License · maintenance · safety
copyleft license (copyleft) — Licensed under LGPLv2 (copyleft). You must disclose source code modifications and distribute under the same license if you redistribute the package or derivative works.
last release 2024-06-19 (786 days) · last repo commit 2024-06-19 · 41 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,621 downloads/mo, #14,810 on PyPI
Alternatives
Verify before relying
pip install factorio-rcon-py
import factorio_rcon
client = factorio_rcon.RCONClient("127.0.0.1", 12345, "password")
response = client.send_command("/help")
client.close()- Whether dormant maintenance (last commit 786 days ago) poses a risk for future Factorio protocol changes or Python compatibility.
- Whether the 41 GitHub stars and 74,621 monthly downloads reflect active production use or historical adoption.
What it is and what it does
factorio-rcon-py is a lightweight Python client for the Factorio game server's RCON (Remote Console) protocol. It lets you connect to a running Factorio server and send commands programmatically—useful for automation, monitoring, or scripting server administration tasks. The library provides both synchronous and asynchronous APIs; the sync version is available by default, and async support (via anyio) can be added as an optional extra.
The package has no runtime dependencies in its base form, making it quick to install. It exposes low-level packet send/receive methods for custom protocol handling, but most users will use the higher-level send_command() and send_commands() methods. Both sync and async clients support context managers for clean resource management.
Use it for
- Automate Factorio server administration tasks like restarting, saving, or running console commands from external scripts.
- Build monitoring dashboards or bots that query server state and respond to in-game events via RCON.
- Integrate Factorio servers into larger game infrastructure or orchestration systems that require programmatic control.
- Write async server management tools that handle multiple Factorio instances concurrently using asyncio or trio.
- Develop custom mods or tools that need to communicate with a running Factorio server without modifying the game itself.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to control a Factorio server programmatically.
The package is stable, has no external dependencies, and covers the core RCON protocol well. The dormant maintenance (last commit 786 days ago) is a minor concern for long-term compatibility, but the protocol is unlikely to change frequently. Suitable for automation and scripting tasks; less suitable if you need active upstream support.
Install
factorio-rcon-py on PyPI
Before you install
Low install friction with no runtime dependencies in the base package. Maintenance is dormant—last commit was 2024-06-19, over 786 days ago—but the repository is not archived and the package is marked Production/Stable.
Requires Python 3.8 or later. Async support requires installing the anyio extra (pip install factorio-rcon-py[async]).
License in practice
Licensed under LGPLv2 (copyleft). You must disclose source code modifications and distribute under the same license if you redistribute the package or derivative works.
Quickstart
pip install factorio-rcon-py
import factorio_rcon
client = factorio_rcon.RCONClient("127.0.0.1", 12345, "password")
response = client.send_command("/help")
client.close()
Verify before relying
- Whether dormant maintenance (last commit 786 days ago) poses a risk for future Factorio protocol changes or Python compatibility.
- Whether the 41 GitHub stars and 74,621 monthly downloads reflect active production use or historical adoption.
Package facts
| License | copyleft license copyleft |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 786 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,621 / month, #14,810 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)Natural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: factorio_rcon_py-2.1.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “factorio rcon client”
- factorio-rcon-pyA Python client library for connecting to and sending commands to…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
- paypalhttpPayPalHttp is a generic HTTP client library designed to work with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.
See also switchbot-api · python-jsonrpc-server · anyio · sqlite-anyio · async-extensions · aioharmony · telnetlib3 · python-socks · anysqlite · pythonping