Skip to main content

Simple django app to expose system infos: libraries version, databae server infos...

Project description

django-sysinfo

Pypi coverage Test Django

Simple django app to expose system infos like libraries version, database server.

Easy to extend to add custom checks.

Features

- dump system informations
- admin integration
- API to add custom checks
- simple echo
- retrieve library version

Quickstart

Install django-sysinfo::

pip install django-sysinfo

put it in your INSTALLED_APPS::

INSTALLED_APPS=[...
 'django_sysinfo'
]

add relevant entries in your url.conf::

urlpatterns = (
    ....
    url(r'', include(django_sysinfo.urls)),
)

or customize them::

from django_sysinfo.views import http_basic_login, sysinfo

urlpatterns = (
    url('sys/info/$', http_basic_login(sysinfo), name='sys-info'),
    url('sys/version/(?P<name>.*)/$', version, name='sys-version')
)

Known issues and limitations

There are some limitations in the metrics returned by sysinfo, anyway this package is not intended to be used as host/resources monitoring tool.

- Disk space returns device info, any soft limits are ignored
- Memory can be wrong in some virtual environments

Project details


Download files

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

Source Distribution

django_sysinfo-2.7.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

django_sysinfo-2.7.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file django_sysinfo-2.7.0.tar.gz.

File metadata

  • Download URL: django_sysinfo-2.7.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for django_sysinfo-2.7.0.tar.gz
Algorithm Hash digest
SHA256 d34f74bc8c76cedfe5ed8081e00ce549a965b0cd4680dfeb0755bb43d8e7648e
MD5 06c0ad38ca3195e3930d04eafc0ef6c0
BLAKE2b-256 8788693de78cce813c4b769589e1a55702f53533d373410128112fb22d0d7359

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_sysinfo-2.7.0.tar.gz:

Publisher: release.yml on saxix/django-sysinfo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_sysinfo-2.7.0-py3-none-any.whl.

File metadata

  • Download URL: django_sysinfo-2.7.0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for django_sysinfo-2.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e45ee631c9ba73f13a0df280323fdf75d534b06eac2db50e6af3c31deed38529
MD5 3c202f4478712356ec19c4e5746d5190
BLAKE2b-256 a845bb7d88d85b1f84afa95721b7da46cdf1fd9c5f2582384778f28859482b8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_sysinfo-2.7.0-py3-none-any.whl:

Publisher: release.yml on saxix/django-sysinfo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page