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 visual theme.
- Easy to use and integrate into your system.
Usage
To display the Message of the Day, run the following command:
elegantmotd
You can choose a visual theme using the --theme (or -t) option:
elegantmotd --theme emoji
elegantmotd -t nerdfont
Available themes
none(default): no icons, clean plain text (TTY-safe)emoji: colorful emojis for graphical environmentsnerdfont: icon-rich display using Nerd Fonts
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.
Metadata
Release files for elegantmotd 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| elegantmotd-1.0.1.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elegantmotd-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.9 kB
Release files / elegantmotd-1.0.1.tar.gz
| Download URL | elegantmotd-1.0.1.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
048f50847aca8de6d9c4afeb3fe2e6e0e729fbb26b8f155b7c2c32a9cad89aed
|
|
BLAKE2b-256 checksum How to use checksums |
74878652a4cc355d7e70381dd59eae9b029cddd5a8adcddccbbda5b546147ba2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|
Release files / elegantmotd-1.0.1-py3-none-any.whl
| Download URL | elegantmotd-1.0.1-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9551f4c324342aca80700012264a6f58502eb56f38cdf26957cc3776fdec06eb
|
|
BLAKE2b-256 checksum How to use checksums |
6f8861881151de700ef6feeffc251861f0b88817a61d738a6229e523578d6e9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|