
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
A simple Factorio RCON client
Without async support
pip install factorio-rcon-py
With async support
pip install factorio-rcon-py[async]
Async support is available as soon as the required dependency (anyio) is installed, so pip install factorio-rcon-py anyio
is mostly equivalent, but not recommended due to dependency versioning.
Python 3.8+ is required.
Example:
import factorio_rcon
client = factorio_rcon.RCONClient("127.0.0.1", 12345, "mypassword")
response = client.send_command("/help")
All documentation is in the docstrings of each class/method.
Asynchronous usage of this module is possible thanks to anyio. This means that you can use the async client with asyncio and trio. Use the AsyncRCONClient class. More details are in its docstring.
Available methods in both classes are (see docstrings for more info):
Note that both the sync/async clients can be used as sync/async context managers respectively.
The methods for sending/receiving packets are available in case you want to write your own packet handlers, but in most cases you will never need to touch these and can use send_command(s).
Thanks to:
LGPLv2.1
FAQs
A simple Factorio RCON client
We found that factorio-rcon-py demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.