Module for interacting with OpenWRT Luci RPC interface
Project description
================
openwrt-luci-rpc
================
.. image:: https://img.shields.io/pypi/v/openwrt_luci_rpc.svg
:target: https://pypi.python.org/pypi/openwrt_luci_rpc
.. image:: https://img.shields.io/travis/fbradyirl/openwrt-luci-rpc.svg
:target: https://travis-ci.org/fbradyirl/openwrt-luci-rpc/
.. image:: https://readthedocs.org/projects/openwrt-luci-rpc/badge/?version=latest
:target: https://openwrt-luci-rpc.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
Module for interacting with OpenWRT Luci RPC interface
* Free software: Apache Software License 2.0
* Documentation: https://openwrt-luci-rpc.readthedocs.io.
Features
--------
* TODO
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')
```
=======
History
=======
0.2.0 (2019-02-20)
------------------
* First release on PyPI.
0.3.0 (2019-02-20)
------------------
* Fix pip name
openwrt-luci-rpc
================
.. image:: https://img.shields.io/pypi/v/openwrt_luci_rpc.svg
:target: https://pypi.python.org/pypi/openwrt_luci_rpc
.. image:: https://img.shields.io/travis/fbradyirl/openwrt-luci-rpc.svg
:target: https://travis-ci.org/fbradyirl/openwrt-luci-rpc/
.. image:: https://readthedocs.org/projects/openwrt-luci-rpc/badge/?version=latest
:target: https://openwrt-luci-rpc.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
Module for interacting with OpenWRT Luci RPC interface
* Free software: Apache Software License 2.0
* Documentation: https://openwrt-luci-rpc.readthedocs.io.
Features
--------
* TODO
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')
```
=======
History
=======
0.2.0 (2019-02-20)
------------------
* First release on PyPI.
0.3.0 (2019-02-20)
------------------
* Fix pip name
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.3.0.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for openwrt_luci_rpc-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6800a1740193d4e0195bc2d268a4b21b19d737b3e3aa61b259e5509c4a7f80a |
|
MD5 | fae0ab8a5348f2b90f57e505a04ebe01 |
|
BLAKE2b-256 | 8cb124d34690f0b59397a3c053a403457c70cd723e6e4a8f105aaf2d185f6937 |