Skip to main content

This python module provides ways to retrieve and parse technical 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:

License

This software is provided under the following license:

  • Apache Software License 2.0

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

jk_sysinfo-0.2020.4.2.1.tar.gz (40.6 kB view details)

Uploaded Source

File details

Details for the file jk_sysinfo-0.2020.4.2.1.tar.gz.

File metadata

  • Download URL: jk_sysinfo-0.2020.4.2.1.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for jk_sysinfo-0.2020.4.2.1.tar.gz
Algorithm Hash digest
SHA256 3e90c7cb68b31340ef8946b2d3bfb9f52e0710018cb0de49dad3bd27c0aae159
MD5 209707259d42d865eec35d1e284279fb
BLAKE2b-256 543a4d1b1845c194089ee35dd6c992b16307c945917bd3a431da995999eadeff

See more details on using hashes here.

Supported by

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