Skip to main content

Python API to interact with a Ruckus Unleashed device.

Project description

pyruckus

A Python API which interacts with a Ruckus Unleashed device.

Setup

To install the pyruckus package:

pip3 install pyruckus

Usage

Each function is defined as an async function, so you will have to create an event loop instead of calling the functions directly in a shell.

from pyruckus import Ruckus
import asyncio

async def test_pyruckus():
    ruckus = Ruckus("<ruckus ip>", "<ruckus user>", "<ruckus password>")
    await ruckus.connect()

    ap_info = await ruckus.ap_info()
    mesh_info = await ruckus.mesh_info()
    system_info = await ruckus.system_info()
    config = await ruckus.config()
    clients = await ruckus.current_active_clients()
    wlan_info = await ruckus.wlan_info()

    ruckus.disconnect()

loop = asyncio.get_event_loop()
loop.run_until_complete(test_pyruckus())

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

pyruckus-0.16.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

pyruckus-0.16-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file pyruckus-0.16.tar.gz.

File metadata

  • Download URL: pyruckus-0.16.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pyruckus-0.16.tar.gz
Algorithm Hash digest
SHA256 f338db60e6a577147c57610a8a9ba310d272114fa1311bf1c32538b9c2e82619
MD5 0d55ec80d8032200d663d22b8e60cb36
BLAKE2b-256 7eede982ec4ad1ab8e64ca0ea709585786faba2bc4a855a150ed9d941187272e

See more details on using hashes here.

File details

Details for the file pyruckus-0.16-py3-none-any.whl.

File metadata

  • Download URL: pyruckus-0.16-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pyruckus-0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 2b618277143c58d1d2553f2a733b94db000abe5f9d06628187dc52b39131a1e4
MD5 6a8a64e777446d0c8d9ac40025109985
BLAKE2b-256 96e497eb3db4d0246d4a5c8a1f46ed2013aac0913ff6e060ef417d861558fa13

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