Skip to main content

openwrt-ubus-rpc is a Python module implementing an interface to the OpenWrt ubus RPC API. It allows a user to perform Remote Procedure Calls (RPC) to the OpenWrt micro bus architecture (ubus).

Documentation for the OpenWrt ubus RPC API is available at https://openwrt.org/docs/techref/ubus and https://openwrt.org/docs/guide-developer/ubus.

This package has been developed to be used with https://home-assistant.io/ but it can be used in other contexts.

Disclaimer

openwrt-ubus-rpc was created for my own use, and for others who may wish to experiment with personal Internet of Things systems.

This software is provided without warranty, according to the GNU Public Licence version 2, and should therefore not be used where it may endanger life, financial stakes or cause discomfort and inconvenience to others.

Usage

` from openwrt.ubus import Ubus _ubus = Ubus(host="http://openwrt_host/ubus", user="openwrt_user", password="openwrt_password") _ubus.connect() _ubus.get_hostapd() _ubus.get_hostapd_clients("hostapd.wlan0") `

Metadata

Release files for openwrt-ubus-rpc 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openwrt-ubus-rpc 0.0.3
File Size Uploaded Provenance Actions
openwrt-ubus-rpc-0.0.3.tar.gz 11.2 kB Without provenance Details for openwrt-ubus-rpc-0.0.3.tar.gz

Release files / openwrt-ubus-rpc-0.0.3.tar.gz

Download URL openwrt-ubus-rpc-0.0.3.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bef5f7df1444b5dd18adb7b96a785e4ffb66634ef5acd30ac7ce3aec19779dba
BLAKE2b-256 checksum
How to use checksums
5c2785013cb06e35757ed4f13e9af73945b802a17a1c57872a3934c387d2e7a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Security for openwrt-ubus-rpc 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page