Module for interacting with OpenWRT Luci RPC interface
Project description
| | Status |
| ------------- |:-------------:|
| pypi | [![openwrt_luci_rpc](https://img.shields.io/pypi/v/openwrt_luci_rpc.svg)](https://travis-ci.org/fbradyirl/openwrt-luci-rpc/) |
| travis | [![Build Status](https://img.shields.io/travis/fbradyirl/openwrt-luci-rpc.svg)](https://travis-ci.org/fbradyirl/openwrt-luci-rpc/) |
| docs | [![Build Status](https://readthedocs.org/projects/openwrt-luci-rpc/badge/?version=latest)](https://openwrt-luci-rpc.readthedocs.io/en/latest/?badge=latest) |
Python3 module for interacting with the OpenWRT Luci RPC interface
* Free software: Apache Software License 2.0
* Documentation: https://openwrt-luci-rpc.readthedocs.io.
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
```bash
pip install openwrt-luci-rpc
```
### Use
```python
from openwrt_luci_rpc import OpenWrtRpc
router = OpenWrtRpc('http://192.168.1.1', 'root', 'mypassword')
```
### Development
See [contributing guide](CONTRIBUTING.rst).
=======
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.7 (2019-02-20)
------------------
* Fix travis deploy repo, once more.
Project details
Release history Release notifications | RSS feed
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.6.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for openwrt_luci_rpc-0.4.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8adde74c5d18848cb7e84186ca8fc2507983c3d5ad515aaab3a09e00399d54a5 |
|
MD5 | 01c510c7cc1d2f0c902af43eb6982093 |
|
BLAKE2b-256 | ab7aad45b843fb9bd0b077cf7827196911de86350967de259e1088b1f9dff001 |