Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/harshsahu23/wabtec-team-vitbhopal
- Owner: HarshSahu23
- Created: 2024-11-12T17:19:14.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-14T06:01:11.000Z (30 days ago)
- Last Synced: 2024-12-14T06:27:01.110Z (30 days ago)
- Topics: csv, data-visualization, graphs, pandas, plotly, python, streamlit, visualization
- Language: Python
- Homepage: https://wabtec-brakesgui-vitbhopal.streamlit.app/
- Size: 3.92 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Error Analyzer 📊
> 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 visualizationsOR
## Use the GUI 💻
### A) Import the folder :
### B) Select the folder containing csv files :
### C) Wait for the files to be read ... ⌛
### D) View the Bar Chart and Pie Chart:
## 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