Skip to main content

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.


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.2.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openwrt_luci_rpc-0.2.0-py2.py3-none-any.whl (7.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file openwrt_luci_rpc-0.2.0.tar.gz.

File metadata

  • Download URL: openwrt_luci_rpc-0.2.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for openwrt_luci_rpc-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b76fd8400ae4198cb789dd43754e34fe28db5c60e0046346cbd9c5df26f1716a
MD5 1ddce28420c046ba2db09de29a5f48e3
BLAKE2b-256 650c58d5863ee8abe1412fb652d12cf3d0d955f833eeeabaac7794e85a6a9f9e

See more details on using hashes here.

File details

Details for the file openwrt_luci_rpc-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: openwrt_luci_rpc-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for openwrt_luci_rpc-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4df7b99f2aeea33e943097f6523b28a36f74ef7cbb306b4bf929070ad10274fb
MD5 3abeb3086d8e1232a2aac66da693085a
BLAKE2b-256 0b9a186c654440dc73369d657d3a115943e044ee067588e86864eeb99b1465be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page