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.3.tar.gz
.
File metadata
- Download URL: elegantmotd-0.4.3.tar.gz
- Upload date:
- Size: 5.6 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 | 9bb8730c8eb52d0778a20f1485a0de803d7e479a6ac115931c03765112e0c7ea |
|
MD5 | a9779e9b330d98429676bb2c5a913363 |
|
BLAKE2b-256 | 2dbeb4301006e7597ec09136040d24af87b4baeb0d55e69369b22ce5dd7af8ca |
File details
Details for the file elegantmotd-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: elegantmotd-0.4.3-py3-none-any.whl
- Upload date:
- Size: 8.6 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 | eff4a4bb11e44e3c1d06f6323f464070b185a4dbbb98ef5177bae8c33dd6675c |
|
MD5 | be78679a9c711f3ca136b57471f921a9 |
|
BLAKE2b-256 | e83b8815174fcea36805f29115fb99c4ed335451b5bad923a682b77e220a5af2 |