Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

pyunraid - control Unraid using Python

Featured Replies

Hello Unraiders,

 

I've just a released a beta version of a Python module I've been working on for a while now. It's called pyunraid and allows you to communicate with your Unraid server using python. It supports Python 3.4 and up and is available to install via pip. Documentation can be found here: https://pyunraid.simse.io/docs. Pypi page is here: https://pypi.org/project/pyunraid/. Github is here: https://github.com/simse/pyunraid.

 

I'm not trying to promote myself or anything, I'd just be very happy if some of you would try it out and report any bugs, since I've only been able to test it against my own server.

 

Install using: pip install pyunraid OR python3 -m pyunraid OR pip3 install pyunraid

 

Small code sample:

from pyunraid import Unraid

# Connect to Unraid server
unraid = Unraid('192.168.0.4', USERNAME, PASSWORD)

# Get all Docker containers
containers = unraid.containers()

# Restart all containers
for container in containers:
  container.restart()
  
# Get all plugins
plugins = unraid.plugins()

# Print all plugin names
for plugin in plugins:
  print(plugin.name)

 

Edited by simse
Fixed broken docs URL

  • 3 months later...

Hi simse,
So far:

  • Docs link is broken (just edit your message adding a /).
  • It would be nice to have docs on our github and on the pypi website
  • What purpose did you have in mind when you designed it?

I am trying to try to access crond using it and maybe see if i can set some jobs to run on my server - will let you know how it goes.

 

Cheers

-R-

  • Author

I'm sorry, I haven't worked on this project for a while. I updated the docs URL for you there. 

 

The final intent of pyunraid is to be able to do control anything in Unraid from python, but I'm still not quite there.

  • 1 year later...

Seems your GitHub repo was deleted? I was working on something similar, but wanted to contribute to yours first if possible.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.