Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/harshsahu23/wabtec-team-vitbhopal

web-app to visualize error logs and dump files generated by the braking system of locomotives
https://github.com/harshsahu23/wabtec-team-vitbhopal

csv data-visualization graphs pandas plotly python streamlit visualization

Last synced: 26 days ago
JSON representation

web-app to visualize error logs and dump files generated by the braking system of locomotives

Awesome Lists containing this project

README

        

# Error Analyzer 📊


Wabtec

> A Python-based application for analyzing error codes from CSV files with interactive visualizations.

## Features ✨

- Interactive GUI built with PyQt5
- Real-time error code analysis
- Dynamic visualization using matplotlib
- CSV file processing and management
- Comprehensive error frequency reporting

## Installation 🚀

### Prerequisites

- Python 3.8+
- Git

### Quick Start

1. Clone the repository:
```bash
git clone https://github.com/HarshSahu23/Wabtec-Team-VITBhopal.git
cd Wabtec-Team-VITBhopal
```

2. Set up virtual environment:
```bash
python -m venv venv

# Windows
.\venv\Scripts\activate

# Unix/MacOS
source venv/bin/activate
```

3. Install dependencies:
```bash
pip install -r requirements.txt
```

## Project Structure 📁

```
ErrorAnalyzer/
├── csv/ # Error log CSV files
├── exploratory/ # Notebook to analyse csv data
├── src/
│ ├── backend/ # Core analysis logic
│ └── frontend/ # PyQt5 GUI implementation
├── main.py # Application entry point
├── requirements.txt # Dependencies
└── guidelines.txt # Rules to follow while contributing
```

## Usage 💡

1. Launch the application:
```bash
python main.py
```

2. Process error logs:
- Place CSV files in the `csv/` directory
- Input expected error descriptions
- View analysis results and visualizations

OR

## Use the GUI 💻

### A) Import the folder :


Screenshot 1

### B) Select the folder containing csv files :


Screenshot 2

### C) Wait for the files to be read ... ⌛

### D) View the Bar Chart and Pie Chart:


Screenshot 3
Screenshot 4

## Development 🛠️

### Code Style

- Follow [PEP 8](https://www.python.org/dev/peps/pep-0008/) guidelines
- Use descriptive variable and function names
- Include docstrings and comments where appropriate

### Testing

```bash
# Run tests
python -m pytest tests/

# Check code coverage
python -m pytest --cov=src tests/
```

## Contributing 🤝

1. Fork the repository
2. Create a feature branch:
```bash
git checkout -b feature/amazing-feature
```

3. Commit your changes:
```bash
git commit -m 'Add amazing feature'
```

4. Push to your branch:
```bash
git push origin feature/amazing-feature
```

5. Open a Pull Request

### Contribution Guidelines

- Write clear commit messages
- Include tests for new features
- Update documentation as needed
- Submit PRs to the `develop` branch

## License 📝

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

---


Made with ❤️ by Team ^_^ - Exceed 3.0