Skip to main content

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

Project description

https://badge.fury.io/py/django-sysinfo.png https://travis-ci.org/saxix/django-sysinfo.png?branch=master

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.6.2.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

django_sysinfo-2.6.2-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file django-sysinfo-2.6.2.tar.gz.

File metadata

  • Download URL: django-sysinfo-2.6.2.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.2 Darwin/20.3.0

File hashes

Hashes for django-sysinfo-2.6.2.tar.gz
Algorithm Hash digest
SHA256 2efe6c1a3bedc5766549b8872c7d8b3266ecb45db9a6423b94365d7d089c86dd
MD5 ee828c5b56cbb031882a525f0873058e
BLAKE2b-256 ca3e3b28537206ac7fd393f12a6bdc3c535bff5efaf628fdcba5af05680d1c93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_sysinfo-2.6.2-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.2 Darwin/20.3.0

File hashes

Hashes for django_sysinfo-2.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9589d4bff0605ed7681a2ca22ce2326a4b64db768038da39180a2ba31ab3ffea
MD5 366110073c7a41e8e4608c584baa9540
BLAKE2b-256 00754fc6239f7761a0e489cf718be121b8504f4321f5e0185bab9447851782e6

See more details on using hashes here.

Supported by

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