All Projects → colinodell → python-qnapstats

colinodell / python-qnapstats

Licence: other
Python API for obtaining QNAP NAS system stats

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to python-qnapstats

packetevents
PacketEvents is a powerful packet library. Our packet wrappers are efficient and easy to use. We support many protocol versions. (1.8+)
Stars: ✭ 235 (+422.22%)
Mutual labels:  wrapper
islpy
Python wrapper for isl, an integer set library
Stars: ✭ 58 (+28.89%)
Mutual labels:  wrapper
dbots.js
A stats poster and API wrapper for all botlists.
Stars: ✭ 18 (-60%)
Mutual labels:  wrapper
node-atol-wrapper
Node.js обертка для ДТО версии 10 компании АТОЛ
Stars: ✭ 28 (-37.78%)
Mutual labels:  wrapper
adl
🍿 anime-downloader + trackma wrapper
Stars: ✭ 91 (+102.22%)
Mutual labels:  wrapper
confirm-before
✅ Are you sure? No? Confirm Before - Sanity check for your shell commands
Stars: ✭ 16 (-64.44%)
Mutual labels:  wrapper
mlgauge
A simple library to benchmark the performance of machine learning methods across different datasets.
Stars: ✭ 22 (-51.11%)
Mutual labels:  wrapper
haskell-libui
Haskell bindings to the libui C library.
Stars: ✭ 45 (+0%)
Mutual labels:  wrapper
nanoleaf-aurora
A java wrapper for the Nanoleaf Aurora API
Stars: ✭ 19 (-57.78%)
Mutual labels:  wrapper
google-pubsub-emulator
Google PubSub Emulator wrapper to nodejs
Stars: ✭ 28 (-37.78%)
Mutual labels:  wrapper
py-SMART
Wrapper for smartctl (smartmontools)
Stars: ✭ 42 (-6.67%)
Mutual labels:  wrapper
Xamarin-iOS
PSPDFKit for iOS wrapper for the Xamarin platform.
Stars: ✭ 14 (-68.89%)
Mutual labels:  wrapper
TS-453Be
Ubuntu on QNAP TS-453Be
Stars: ✭ 48 (+6.67%)
Mutual labels:  qnap
genshinstats
A dead python library that can get the stats of Genshin Impact players using Mihoyo's API.
Stars: ✭ 217 (+382.22%)
Mutual labels:  wrapper
libssh2.nim
Nim wrapper for libssh2
Stars: ✭ 25 (-44.44%)
Mutual labels:  wrapper
wstrade-api
API Wrapper for Wealthsimple Trade
Stars: ✭ 91 (+102.22%)
Mutual labels:  wrapper
node-freshdesk-api
Node wrapper for Freshdesk v2 API
Stars: ✭ 24 (-46.67%)
Mutual labels:  wrapper
careful rm
A safe wrapper for rm that adds useful warnings and an optional recycle/trash mode
Stars: ✭ 22 (-51.11%)
Mutual labels:  wrapper
dokuwiki-plugin-bootswrapper
Bootstrap Wrapper for DokuWiki
Stars: ✭ 33 (-26.67%)
Mutual labels:  wrapper
jodit-vue
Vue wrapper for Jodit Editor
Stars: ✭ 60 (+33.33%)
Mutual labels:  wrapper

python-qnapstats

Build Status Supported Python Versions

Library from obtaining system information from QNAP NAS devices.

Installation

This library requires xmltodict, so make sure you have that installed:

pip3 install xmltodict>=0.10.0

Then install this Python module:

pip3 install qnapstats

Usage Example

#!/usr/bin/env python3
from qnapstats import QNAPStats
from pprint import pprint

qnap = QNAPStats('192.168.1.3', 8080, 'admin', 'correcthorsebatterystaple')

pprint(qnap.get_system_stats())
pprint(qnap.get_system_health())
pprint(qnap.get_smart_disk_health())
pprint(qnap.get_volumes())
pprint(qnap.get_bandwidth())

Note: The user you connect with must be in the admin group. It doesn't necessarily need to be THE "administrator" account, but you do need to use some account in the administrators group.

Device Support

This library has been tested against the following devices and firmwares:

Model QTS Firmware Versions Notes
D4 Pro 4.5.1 User-reported: no automated tests
TS-110 4.2.4  
TS-210 4.2.6 This device does not report CPU temps
TS-219P II 4.3.3 User-reported: no automated tests
TS-251B 4.4.3  
TS-251+ 4.5.1 No information on dnsInfo
TS-253 Pro 4.5.2  
TS-253D 4.5.3  
TS-332 5.0.0  
TS-269L 4.3.3 User-reported: no automated tests
TS-410 4.2.3 This device does not report CPU temps
TS-412 4.3.3 This device does not report CPU temps
TS-431P 4.3.4  
TS-451 4.2.2 - 4.2.4  
TS-453A 4.3.4  
TS-453Be 4.2.3  
TS-639 4.2.3  
TS-659 4.2.6 May report None for some disk temps
TS-853 Pro 4.5.4  
TS-869 Pro 4.3.4  
TS-1677XU-RP 4.5.2  
TS-EC1280U 4.5.2  
TS-X53 4.5.4  

Other QNAP devices using these firmwares should probably work fine, as should the devices listed above on newer firmwares. If you encounter any compatibility issues, please let us know (or better yet, contribute a patch!)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].