Skip to main content

Python API for obtaining QNAP NAS system stats

Project description

Build Status Supported Python Versions

Library from obtaining system information from QNAP NAS devices.


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('', 8080, 'admin', 'correcthorsebatterystaple')


Note: The user you connect with must be in the admin group.

Device Support

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

Model QTS Firmware Versions Notes
TS-110 4.2.4  
TS-410 4.2.3 This device does not report CPU temps
TS-451 4.2.2 - 4.2.4  
TS-453A 4.3.4  
TS-639 4.2.3  
TS-659 4.2.6 May report None for some disk temps

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!)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for qnapstats, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size qnapstats-0.3.0.tar.gz (6.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page