This python module provides ways to retrieve and parse technical system data of Linux computer systems.
Project description
jk_sysinfo
Introduction
This python module provides ways to retrieve and parse technical system data.
To achieve this goal this module encapsulates various operating system tools by invoking them and parsing their return data. This data can then be processed further by other tools.
Information about this module can be found here:
Why this module?
If you run Linux you will likely have encountered the command line tool inxi
. This tool is capable of retrieving system information and presenting it in a condensed way.
Unfortunately this tool does not provide the data in a machine readable form. Extending this tool to other output formats than plaintext is not intended by the authors (and would not be easy at all).
This python module bridges this gap: It contains various functions that invoke system routines to provide data which then gets parsed and returned as JSON.
Limitations of this module
Currently this module only supports Ubuntu Linux out of the box.
Other Linuxes might work well but minor changes to the current implementation might be required in order to adapt to subtle differences of other Linux distributions. If you intend to make use of this tool on other Linux systems please contact the author of this module and assist in implementing the necessary changes.
How to use this module
Import this module
Please include this module into your application using the following code:
import jk_sysinfo
...
Contact Information
This is Open Source code. That not only gives you the possibility of freely using this code it also allows you to contribute. Feel free to contact the author(s) of this software listed below, either for comments, collaboration requests, suggestions for improvement or reporting bugs:
- Jürgen Knauth: jknauth@uni-goettingen.de, pubsrc@binary-overflow.de
License
This software is provided under the following license:
- Apache Software License 2.0
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 jk_sysinfo-0.2024.9.18.3.tar.gz
.
File metadata
- Download URL: jk_sysinfo-0.2024.9.18.3.tar.gz
- Upload date:
- Size: 54.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08a5e909992d61cf2e785a4b127a41df3e46bc44bd4334ce5c1d962078b893d0 |
|
MD5 | 13e9e6be2d56a250703533790e70d33a |
|
BLAKE2b-256 | 514259cae23e36be6f7b10d96518e2783fe392113b0bff4116cd2c088c903c0d |
File details
Details for the file jk_sysinfo-0.2024.9.18.3-py3-none-any.whl
.
File metadata
- Download URL: jk_sysinfo-0.2024.9.18.3-py3-none-any.whl
- Upload date:
- Size: 72.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb2280803ae3e79ba38c95b311a22bd13a18bd231c0d8b0d2b11bf3b29239f36 |
|
MD5 | 53dcc2b599ae6482eca56cbb5cacb35c |
|
BLAKE2b-256 | e51cef1c65eb0ab8268c560c86f4c4a6c6097ba1bd540a6104facd9596a76d7e |