Skip to main content

Netmikro is a simple library that provides an easy way to manage Mikrotik routers, simplifying configuration and monitoring tasks.

Project description

Netmikro

Netmikro is a simple library that provides an easy way to manage Mikrotik routers, simplifying configuration and monitoring tasks.

Everything works through an instance of the RouterOS class that creates an SSH connection with the device, think of the instantiated object as your own router, this object has methods to interact with your router, or you can Run custom commands directly in your router's terminal with the cmd() method.

Netmikro is on the shoulders of the Netmiko project, responsible for creating a connection via SSH with the Mikrotik router.

📝 Note: I'm just a computer networking enthusiast and have experience with handling MIkrotik routers. All Netmikro features are being tested during development with a Mikrotik RB912UAG-5HPn router. The idea is to test it on other models as soon as possible.


Documentation: https://netmikro.henriquesebastiao.com

Source Code: https://github.com/henriquesebastiao/netmikro


How to install

Netmikro is available on PyPi, so just use your preferred package manager:

pip install netmikro

Basic usage

You just need to create an instance of RouterOS to use Netmikro features:

from netmikro import RouterOS


router = RouterOS(
    '192.168.3.3',
    'user',
    'password',
    22,
)

router.cmd('/system identity print')

License

This project is licensed under the terms of the MIT license.

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

netmikro-0.1.0.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

netmikro-0.1.0-py3-none-any.whl (7.0 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