Metadata-Version: 2.4
Name: swatch-slurm
Version: 0.1.0
Summary: A sleek, modern job monitoring tool for Slurm workload manager
Project-URL: Homepage, https://github.com/Jakeelamb/SWATCH
Project-URL: Bug Tracker, https://github.com/Jakeelamb/SWATCH/issues
Author-email: Jake Lamb <jakelamb74@gmail.com>
License: MIT License
        
        Copyright (c) 2024 Your Name
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Monitoring
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.7
Requires-Dist: paramiko
Requires-Dist: pyqt5
Provides-Extra: dev
Requires-Dist: black>=22.0; extra == 'dev'
Requires-Dist: flake8>=4.0; extra == 'dev'
Requires-Dist: isort>=5.0; extra == 'dev'
Requires-Dist: mypy>=1.0; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Provides-Extra: docs
Requires-Dist: sphinx-rtd-theme>=1.0; extra == 'docs'
Requires-Dist: sphinx>=4.0; extra == 'docs'
Description-Content-Type: text/markdown

# 🎯 SWATCH (Slurm Watch)

A sleek, modern job monitoring tool for Slurm workload manager that doesn't make you want to pull your hair out! 

![SWATCH GUI](./Swatch_gui_readme.png)

## 🌟 Features

- 🎨 Beautiful dark theme interface
- 🔄 Real-time job status monitoring
- 🔐 Secure SSH authentication
- 🎯 Status-based color coding
- ⚡ Configurable auto-refresh
- 🎮 Drag-and-drop window movement
- 🧪 Test mode for demos and development

## 🚀 Quick Start

## 🎮 Command Line Options

| Flag | Description | Example |
|------|-------------|---------|
| `-h, --help` | Show help message and exit | `python slurm_watch.py --help` |
| `-t, --test` | Run in test mode with sample data | `python slurm_watch.py --test` |

## 🎯 Job Status Colors

| Status | Color | Description |
|--------|-------|-------------|
| 🟢 Running | Soft Green | Job is actively running |
| 🟡 Pending | Soft Orange | Job is waiting in queue |
| 🔵 Completed | Soft Blue | Job finished successfully |
| 🔴 Failed | Soft Red | Job failed or timed out |

## ⚙️ Configuration

SWATCH automatically saves your configuration in `~/.hpcjobmonitor/config.json`. You can:

- 💾 Save login credentials (optional)
- ⏰ Set refresh intervals:
  - 5 seconds
  - 30 seconds
  - 1 minute
  - 5 minutes
  - 10 minutes
  - 30 minutes

## 🔒 Security Note

When saving credentials, passwords are stored locally. For enhanced security:
- 🚫 Don't save credentials on shared machines
- ✅ Use SSH keys when possible
- 🔑 Ensure `~/.hpcjobmonitor` has appropriate permissions

## 🎨 Interface Features

- 🖱️ Draggable window (click and drag title bar)
- 📊 Sortable job columns
- 🎯 Status indicators
- 📈 Job statistics summary
- ⏱️ Auto-refresh toggle

## 🤝 Contributing

Found a bug? Want to add a feature? We'd love your help! 

1. 🍴 Fork the repository
2. 🌿 Create your feature branch
3. 💾 Commit your changes
4. 📤 Push to the branch
5. 🎯 Open a Pull Request

## 📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

## 🎉 Fun Facts

- The name "SWATCH" comes from "Slurm Watch" (not the watch company! 😉)

## 🐛 Known Issues


Remember: Happy monitoring! 🚀

## 📦 Installation

### Using pip

```bash
pip install swatch-slurm
```

### Using conda
```bash
conda install -c conda-forge swatch-slurm
```

### Development Installation
```bash
git clone https://github.com/yourusername/swatch.git
cd swatch
pip install -e ".[dev]"
```
