simse Posted October 19, 2019 Share Posted October 19, 2019 (edited) 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 January 31, 2020 by simse Fixed broken docs URL Quote Link to comment
rosso Posted January 31, 2020 Share Posted January 31, 2020 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- Quote Link to comment
simse Posted January 31, 2020 Author Share Posted January 31, 2020 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. Quote Link to comment
grtgbln Posted January 31, 2022 Share Posted January 31, 2022 Seems your GitHub repo was deleted? I was working on something similar, but wanted to contribute to yours first if possible. Quote Link to comment
Recommended Posts
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.