A visually appealing and informative Message of the Day (MOTD) generator for Linux systems.
Project description
ElegantMOTD
ElegantMOTD is a Python-based Message of the Day (MOTD) generator for displaying system information in a visually appealing and informative manner. It works on Linux systems and provides details such as system load, disk usage, memory usage, swap usage, temperature, network interfaces, CPU usage, and more.
Features
- Rich, colorful text-based output.
- Displays various system information.
- Customizable display options.
- Easy to use and integrate into your system.
Usage
To display the Message of the Day, run the following command:
elegantmotd
Live Updates
If you want to enable live updates of the system information, you can use the --watch
/-w
option:
elegantmotd --watch
With the --watch
option, the MOTD will be continuously updated with the latest system information.
Output
Customization
You can customize the output by modifying the motd.py
file and adding or removing system information modules as per
your preference. The available modules are:
- Load
- Disk
- Memory
- Temperature
- Process
- LoggedInUsers
- Network
- CPU
To add or remove a module, simply add or remove the corresponding import statement and the respective class instance
from the sysinfos
list in the display()
function.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
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
Built Distribution
File details
Details for the file elegantmotd-0.4.1.tar.gz
.
File metadata
- Download URL: elegantmotd-0.4.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-31-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70209ebeda54a13faca9aadacdea6bd444abf20b4830596df8fdb0202a41288a |
|
MD5 | d25cd1224f4cbe72c82367f1d76e3cab |
|
BLAKE2b-256 | 18f00a6b2592ddc1f08da3c89a5ec501189b86b8673aede6ac01c719fefe75e6 |
File details
Details for the file elegantmotd-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: elegantmotd-0.4.1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-31-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af00b84af18760650f893a20d2a18dfd4191e60a72f3fe7e57dfe15b9b175215 |
|
MD5 | 104cb5655eac7caf15c5f1bda93d2645 |
|
BLAKE2b-256 | ee99416bca3a97cc1c4e6cdb20c3c90dac8720bd6f49ac1ef79ae73395830730 |