$npx skillfedfor your agent

librouteros

Python implementation of MikroTik RouterOS API

With conditionsPyPI NetworkingReleased Jun 2026146.1K downloads / moGPL-2.0-or-laterPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — librouteros-4.1.1-py3-none-any.whl
v4.1.1 · released 2026-06-10 · Python >=3.10.0

Yes, if you need to programmatically manage MikroTik RouterOS devices and accept the GPL-2.0-or-later copyleft license. The package is actively maintained, has no external dependencies, installs easily, and is in the top 15000 PyPI packages by download volume. Verify that your use case aligns with the copyleft terms before adoption.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10.0 or later.
  • A MikroTik RouterOS device with API access enabled is needed to connect to.
  • Low install friction with a pure-Python wheel.

License · maintenance · safety

GPL-2.0-or-later (copyleft) — Licensed under GPL-2.0-or-later (copyleft). Any derivative work or bundled distribution must be released under compatible terms; proprietary applications cannot incorporate this library without licensing implications.

last release 2026-06-10 (65 days) · last repo commit 2026-08-14 · 265 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 146,118 downloads/mo, #11,108 on PyPI

Verify before relying

pip install librouteros

from librouteros import RouterOS

router = RouterOS(host='router.local', username='admin', password='pass')
router.connect()
result = router.query('/interface/print')
  • Whether the library supports all RouterOS API endpoints or a specific subset of commands.
  • Performance characteristics when managing large numbers of devices or high-frequency queries.
  • Whether async/concurrent operations are supported or if connections are synchronous only.
Same gist for agents: .md · .json

What it is and what it does

librouteros provides a Python interface to MikroTik RouterOS devices via their API. It abstracts the low-level protocol details, allowing developers to query and configure network settings, interfaces, firewall rules, and other RouterOS features programmatically rather than through the web UI or SSH.

The package has been in development since 2016 and is actively maintained. It carries no runtime dependencies beyond Python itself, making it lightweight to install. The copyleft license means it's suitable for open-source and internal projects but requires careful consideration in proprietary contexts.

Use it for

  • Automate bulk configuration changes across multiple MikroTik devices in a network.
  • Build monitoring dashboards that query RouterOS statistics and interface status in real time.
  • Integrate MikroTik device management into larger network orchestration or infrastructure-as-code workflows.
  • Script routine maintenance tasks like backup, firewall rule updates, or user provisioning on RouterOS systems.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to programmatically manage MikroTik RouterOS devices and accept the GPL-2.0-or-later copyleft license.

The package is actively maintained, has no external dependencies, installs easily, and is in the top 15000 PyPI packages by download volume. Verify that your use case aligns with the copyleft terms before adoption.

Install

librouteros on PyPI

Before you install

Low install friction with a pure-Python wheel. The package is actively maintained with a recent release and steady commit history, supporting current Python versions.

Requires Python 3.10.0 or later. A MikroTik RouterOS device with API access enabled is needed to connect to.

License in practice

Licensed under GPL-2.0-or-later (copyleft). Any derivative work or bundled distribution must be released under compatible terms; proprietary applications cannot incorporate this library without licensing implications.

Quickstart

pip install librouteros

from librouteros import RouterOS

router = RouterOS(host='router.local', username='admin', password='pass')
router.connect()
result = router.query('/interface/print')

Verify before relying

  • Whether the library supports all RouterOS API endpoints or a specific subset of commands.
  • Performance characteristics when managing large numbers of devices or high-frequency queries.
  • Whether async/concurrent operations are supported or if connections are synchronous only.

Package facts

LicenseGPL-2.0-or-later copyleft
Python supportSupports the current Python release >=3.10.0
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 65 days since the last release
Last repo commit
First released
Downloads146,118 / month, #11,108 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: librouteros-4.1.1-py3-none-any.whl

Tags

Capabilities
mikrotik routeros api clientpython routeros controlmikrotik device managementrouteros network automationmikrotik api library
Topics
network-automationmikrotikdevice-management
PyPI keywords
mikrotikrouterosapi

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 › “mikrotik routeros api client”

  • librouteroslibrouteros is a Python client library for the MikroTik RouterOS API,…
  • codewords-clientA Python client library for the Codewords API with built-in FastAPI…
  • twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Networking packages

h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

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.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
psutil Worth it
PyPI · Libraries · released Jan 2026

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.

permissive licensecompiled wheel · 3.6+
387.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

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.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
uvloop With conditions
PyPI · Networking · released Oct 2025

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.

Apache-2.0compiled wheel · 3.8.1+
257.9Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

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…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
pyzmq Worth it
PyPI · Networking · released Sep 2025

PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.

BSD-3-Clausecompiled wheel · 3.8+
109.5Mdownloads / mo

See also nmcli · python-roborock · meross-iot · python-otbr-api · msmart-ng · python-fullykiosk · aiowebostv · device-detector · pylutron-caseta · aiolifx