Skip to main content

A multi-database alarm log parser for industrial SCADA systems with XML rule support

Project description

🎯 Key Features:

  1. Load & Parse Tab

Loads your CSV with all 39 columns Automatically detects the format of Scada alarms field Supports multiple delimiters: |, ;, ,, ::, etc. Shows sample system_all data for verification

  1. Field Mapping Tab

Automatically extracts ALL unique fields, Shows sample values and detected data types Let you select which fields to include in normalization Detects data types: INT, FLOAT, DATETIME, BIT, NVARCHAR

  1. Preview Data Tab

Shows normalized data with separate columns Displays statistics (record count, column count) Preview first 100 rows Export to CSV option

  1. Database Export Tab

Auto-generates CREATE TABLE script based on your data Creates proper SQL table structure Inserts all normalized data Handles errors gracefully

📋 How to Use:

  • Browse and select csv
  • Click "Load File"

Parse system_all

  • View sample data to understand format
  • Click "Parse system_all Fields"
  • All fields will be auto-detected

Select Fields

  • Review detected fields in Field Mapping tab
  • Select/deselect fields as needed
  • Click "Normalize Data"

Export to Database

  • Configure SQL Server connection
  • Click "Generate CREATE TABLE Script" to review
  • Click "Create Table"
  • Click "Insert Data"

🔍 Example: If your scada alarms logic contains: "Type=Alarm|Severity=High|Source=Tank1|Value=85.5" It will be normalized to separate columns: Type: Alarm Severity: High Source: Tank1 Value: 85.5

📦 Install Requirements: pip install pandas pyodbc tkinter The tool handles your exact CSV structure and preserves all original columns while extracting and normalizing the system_all field into separate database columns!

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

industrial_scada_alarm_parser-1.0.0.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

industrial_scada_alarm_parser-1.0.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file industrial_scada_alarm_parser-1.0.0.tar.gz.

File metadata

File hashes

Hashes for industrial_scada_alarm_parser-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0a35f30f42c44eb8e144a0bc8770065f9fb4a7fed862262ce50c233a59ac298b
MD5 1eb3a0248a5f2f47d8a9a34f5b3dcaa7
BLAKE2b-256 6f3848ee44ab91f81f28338876a787c87085be76b0f28ac3e3ea26457a37091e

See more details on using hashes here.

File details

Details for the file industrial_scada_alarm_parser-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for industrial_scada_alarm_parser-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de66d3d762c15bc447385e7f14b2c7300c437722157717450fc1e9a689ed5ddb
MD5 e76d971c5bdc7175295ce67f7b7447a9
BLAKE2b-256 fcd550ffab44c514e70f2006a877c9262031d924052cb819289659c38a47e49f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page