Skip to main content

Module for interacting with OpenWRT Luci RPC interface

Project description

openwrt-luci-rpc

https://img.shields.io/pypi/v/openwrt_luci_rpc.svg https://img.shields.io/travis/fbradyirl/openwrt-luci-rpc.svg Documentation Status

Python3 module for interacting with the OpenWRT Luci RPC interface

Features

  • Allows you to use the Luci RPC interface to fetch connected devices on your OpenWrt based router.

  • Supports 17.X & 18.X or newer releases of OpenWrt.

Usage

You will first need to install the package luci-mod-rpc on your OpenWrt router.

opkg update
opkg install luci-mod-rpc

Once that is done, you can use this module to interact with the RPC interface.

Install

pip install openwrt-luci-rpc

Use

from openwrt_luci_rpc import OpenWrtRpc

router = OpenWrtRpc('http://192.168.1.1', 'root', 'mypassword')

Development

See contributing guide.

History

0.1.0 (2019-02-19)

  • Initial release. Not working. Do not use.

0.2.0 (2019-02-19)

  • Initial release. Not working. Do not use.

0.3.0 (2019-02-19)

  • First working release on PyPI.

0.4.8 (2019-02-20)

  • Fix travis deploy repo, once more.

0.4.9 (2019-02-20)

  • Fix README formatting for docs.

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

openwrt-luci-rpc-0.4.9.tar.gz (10.8 kB view hashes)

Uploaded Source

Built Distribution

openwrt_luci_rpc-0.4.9-py2.py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 2 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