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…
It provides a simple api and a view that returns a json response containing:
- database:
ip
engine
version
- environment:
installed modules and version
- project:
MEDIA_ROOT/STATIC_ROOT path and available disk space
django installed apps
process path
temp dir path
- os:
name
- python:
version
executable path
- host:
cpu(s) number
free/total memory
NIC list and relative IP addresses
Documentation
The full documentation is at https://django-sysinfo.readthedocs.org.
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') )
History
0.2 (2016-Feb-13)
add some infos
output sorted to improve readibility
add ability to filter sections (?s=os,python)
add CACHES infos
removed command line utility
0.1.1 (2016-01-20)
improved coverage
fixes typos in copyright
0.1.0 (2016-01-15)
First release on PyPI.
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
File details
Details for the file django-sysinfo-0.2.tar.gz
.
File metadata
- Download URL: django-sysinfo-0.2.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a24d5716a45e656ed6057074cdd4d28da205f6734e89693b9c3a52d1325364f |
|
MD5 | 8e930d081536eb02fefe8648dfb61ed8 |
|
BLAKE2b-256 | f5396a7c9d01e98718228e00975d3f0acac3eca24ce787afb2f42360e2f8df51 |