https://github.com/glasswalk3r/py-linux-info
API in Python to recover information about a running Linux OS
https://github.com/glasswalk3r/py-linux-info
cmdb linux observability python
Last synced: 8 months ago
JSON representation
API in Python to recover information about a running Linux OS
- Host: GitHub
- URL: https://github.com/glasswalk3r/py-linux-info
- Owner: glasswalk3r
- License: gpl-3.0
- Created: 2024-07-14T18:32:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-03T03:11:40.000Z (about 1 year ago)
- Last Synced: 2025-06-04T00:23:27.026Z (11 months ago)
- Topics: cmdb, linux, observability, python
- Language: Python
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# py-linux-info
API in Python to recover information about a running Linux OS.
## How to use it
## Development
### Classes
```mermaid
---
title: Classes related to Linux distributions information
---
classDiagram
note "All classes are part of the 'distribution' package"
class Distribution{
}
namespace dto {
class Basic{
}
}
class Finder{
}
class Factory{
}
namespace os_release{
class OSRelease{
}
class Alpine{
}
class Amazon{
}
class Debian{
}
class Raspbian{
}
class RedHat{
}
class Rocky{
}
class Ubuntu{
}
class CentOS{
}
}
Distribution <|-- OSRelease
OSRelease <|-- Alpine
OSRelease <|-- Amazon
OSRelease <|-- Debian
OSRelease <|-- Raspbian
OSRelease <|-- RedHat
OSRelease <|-- Rocky
OSRelease <|-- Ubuntu
OSRelease <|-- CentOS
Basic o-- Finder
Basic o-- Factory
```
## Related projects
This project is a convertion of the
[Linux-Info](https://github.com/glasswalk3r/Linux-Info) project to Python.
Although interface might be different, the features will probably be the same.
## Copyright and license
This software is copyright (c) 2024 of Alceu Rodrigues de Freitas Junior,
glasswalk3r@yahoo.com.br
This file is part of Linux Info project.
Linux Info is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
Linux Info is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
Linux Info. If not, see (http://www.gnu.org/licenses/).