Skip to main content

SEL_Rdb

A comprehensive toolkit for working with SEL (Schweitzer Engineering Laboratories) .rdb relay database files.

Developed by AOUF Nihed, an Electrical Engineering student at ESGEE (École Supérieure de Génie Électrique), as part of a final year project in collaboration with Ateam Pro-tech, an official partner of SEL Schweitzer Engineering Laboratories.

Installation

pip install SEL_Rdb

Features

  • Analyze SEL .rdb files and extract their contents
  • Extract logic sections from RDB files
  • Convert text-based relay settings to .rdb format
  • Work with SEL relay configuration data

Usage

As a command-line tool:

# Analyze an RDB file
sel-rdb-analyze path/to/file.rdb

# List streams in an RDB file
sel-rdb-list path/to/file.rdb

# Extract logic sections from an RDB file
sel-rdb-extract-logic path/to/file.rdb

# Create an RDB file from a text file
sel-rdb-create path/to/settings.txt path/to/output.rdb

As a Python library:

import sel_rdb

# Analyze an RDB file
sel_rdb.analyze_rdb_file("path/to/file.rdb")

# List streams in an RDB file
streams = sel_rdb.list_streams("path/to/file.rdb")

# Extract logic from an RDB file
logic = sel_rdb.extract_logic_from_file("path/to/file.rdb")

# Create an RDB file from a text file
sel_rdb.create_rdb_file("path/to/settings.txt", "path/to/output.rdb")

Requirements

  • Python 3.6+
  • olefile
  • openpyxl

License

This project is licensed under the MIT License.

Metadata

Release files for SEL-Rdb 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SEL-Rdb 1.0.0
File Size Uploaded
sel_rdb-1.0.0.tar.gz 84.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SEL-Rdb 1.0.0
File Interpreter ABI Platform
SEL_Rdb-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 142.5 kB

Release files / sel_rdb-1.0.0.tar.gz

Download URL sel_rdb-1.0.0.tar.gz
Size 84.7 kB
Tags Source
SHA-256 checksum
How to use checksums
23dc264a2ef520b8bef7eba61b29a4ab0f0e4f5b21f07b370f5062cbf41c9431
BLAKE2b-256 checksum
How to use checksums
23e6c058d23e1b4f5e7c0cdceb8febb88616e5f09bd8d9e83391e5fbd1dc882f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release files / SEL_Rdb-1.0.0-py3-none-any.whl

Download URL SEL_Rdb-1.0.0-py3-none-any.whl
Size 57.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cada610ef1d87f3c3745d8c8afcedab3b248e0cdd29c7a988cdc6fc3cf37bdd4
BLAKE2b-256 checksum
How to use checksums
e0e6bfe67e5cf47d62f4ef5e43245660c4e7e81810d916d0250e61d3bae422aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page