Simple django app to expose system infos: libraries version, databae server infos...
Project description
django-sysinfo
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d34f74bc8c76cedfe5ed8081e00ce549a965b0cd4680dfeb0755bb43d8e7648e
|
|
MD5 |
06c0ad38ca3195e3930d04eafc0ef6c0
|
|
BLAKE2b-256 |
8788693de78cce813c4b769589e1a55702f53533d373410128112fb22d0d7359
|
Provenance
The following attestation bundles were made for django_sysinfo-2.7.0.tar.gz
:
Publisher:
release.yml
on saxix/django-sysinfo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
django_sysinfo-2.7.0.tar.gz
-
Subject digest:
d34f74bc8c76cedfe5ed8081e00ce549a965b0cd4680dfeb0755bb43d8e7648e
- Sigstore transparency entry: 200555725
- Sigstore integration time:
-
Permalink:
saxix/django-sysinfo@08a64e92acf14d423297a2f3a54701233feb1044
-
Branch / Tag:
refs/tags/2.7.0
- Owner: https://github.com/saxix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@08a64e92acf14d423297a2f3a54701233feb1044
-
Trigger Event:
push
-
Statement type:
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e45ee631c9ba73f13a0df280323fdf75d534b06eac2db50e6af3c31deed38529
|
|
MD5 |
3c202f4478712356ec19c4e5746d5190
|
|
BLAKE2b-256 |
a845bb7d88d85b1f84afa95721b7da46cdf1fd9c5f2582384778f28859482b8b
|
Provenance
The following attestation bundles were made for django_sysinfo-2.7.0-py3-none-any.whl
:
Publisher:
release.yml
on saxix/django-sysinfo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
django_sysinfo-2.7.0-py3-none-any.whl
-
Subject digest:
e45ee631c9ba73f13a0df280323fdf75d534b06eac2db50e6af3c31deed38529
- Sigstore transparency entry: 200555732
- Sigstore integration time:
-
Permalink:
saxix/django-sysinfo@08a64e92acf14d423297a2f3a54701233feb1044
-
Branch / Tag:
refs/tags/2.7.0
- Owner: https://github.com/saxix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@08a64e92acf14d423297a2f3a54701233feb1044
-
Trigger Event:
push
-
Statement type: