Module for interacting with OpenWRT Luci RPC interface
Project description
openwrt-luci-rpc
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
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openwrt-luci-rpc-0.4.9.tar.gz.
File metadata
- Download URL: openwrt-luci-rpc-0.4.9.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b50261f0f88723304afbf578881a01598c1f5bd339238b88e9bb2db46414dc5
|
|
| MD5 |
71400000b67c4d1b02c8bbfb72ec5991
|
|
| BLAKE2b-256 |
d63a6d419d2852da7b4b72f747b26492b716ab78afc84d6b6ffaa9ce843485cc
|
File details
Details for the file openwrt_luci_rpc-0.4.9-py2.py3-none-any.whl.
File metadata
- Download URL: openwrt_luci_rpc-0.4.9-py2.py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0b426e9bafbddf5408dfe1b24f2e7a38e7619bbb2bb02ecff7e9dc798a9da2d
|
|
| MD5 |
4a4cf6da499ba270507a040bd5343299
|
|
| BLAKE2b-256 |
e686d8943cbbe7dfbba582ebdb5daad8a5d01001e0daa355e2e80eec152e8d39
|