Skip to main content

NextcloudMonitor

Python wrapper around Nextcloud monitor api

Installation

pip install nextcloudmonitor

QuickStart

>>> from nextcloudmonitor import NextcloudMonitor
>>> ncm = NextcloudMonitor("https://your_nextcloud_url", "nextcloud_admin_username", "nextcloud_app_password")
>>> ncm.data['nextcloud']['system']['version']
'16.0.5.1'
>>> ncm.data['activeUsers']['last24hours']
1

Notes:

  • The user must be a user that has access to the nextcloud monitor api (generally an admin user)
  • The nextcloud app password should be generated from the nextcoud security settings page.

Change Log

  • v1.0.0 : Initial Release
  • v1.1.0 : Added basic error handling for api errors
  • v1.2.0 : Allow ssl verification bypass
  • v1.2.1 : Privide more detailed feedback for api connection errors
  • v1.3.0 : Add more specific exceptions (Thanks @mib1185)
  • v1.4.0 : Fix #4 key error (Thanks @mib1185)
  • v1.5.0 : Support 'skip' parameter (Thanks @mib1185)
  • v1.5.1 : Fix License Classifier (Thanks @joostlek)

Metadata

Release files for nextcloudmonitor 1.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nextcloudmonitor 1.5.1
File Size Uploaded Provenance
nextcloudmonitor-1.5.1.tar.gz 3.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nextcloudmonitor 1.5.1
File Interpreter ABI Platform
nextcloudmonitor-1.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / nextcloudmonitor-1.5.1.tar.gz

Download URL nextcloudmonitor-1.5.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b65021a98304ac37c8c0fd663795b02953f1b5991f02263b6b879066067de332
BLAKE2b-256 checksum
How to use checksums
4a39b2350b17ea91fb790f3c2b8b629b50b574c8b50b4e88bb0602c4c5a7bc57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.5

Release files / nextcloudmonitor-1.5.1-py3-none-any.whl

Download URL nextcloudmonitor-1.5.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c3ed618e872168bed7fd78165cc047b85e5cab43d69cb50a79f0c5b0cf79b19
BLAKE2b-256 checksum
How to use checksums
56efb528c738e2a6ca6c1a241f3193f703c6fa69f01935238d624ee325c2b233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.5

Security for nextcloudmonitor 1.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page