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.
Installation
- Clone this repository:
git clone https://github.com/yourusername/elegantmotd.git
cd elegantmotd
- Create a virtual environment and activate it:
python3 -m venv venv
source venv/bin/activate
- Install the required dependencies:
poetry build
Usage
To display the Message of the Day, run the following command:
elegantmotd
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
Hashes for elegantmotd-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41ebfb000b0cff92022794a9c1333a60a3ecf67eb2c3f0c3a4f9ab45ce5a96b0 |
|
MD5 | d8b2b6117c24ae6d8e2eaa7ae68b5d7c |
|
BLAKE2b-256 | b687d92f64ef2dda2024cf10476ad0afa47431e06142ce5ee8e4eafc274efec2 |