A comprehensive toolkit for working with SEL (Schweitzer Engineering Laboratories) .rdb relay database files
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sel_rdb-1.0.0.tar.gz.
File metadata
- Download URL: sel_rdb-1.0.0.tar.gz
- Upload date:
- Size: 84.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23dc264a2ef520b8bef7eba61b29a4ab0f0e4f5b21f07b370f5062cbf41c9431
|
|
| MD5 |
57f0755f4a4813b1f3a4a55d56921cc3
|
|
| BLAKE2b-256 |
23e6c058d23e1b4f5e7c0cdceb8febb88616e5f09bd8d9e83391e5fbd1dc882f
|
File details
Details for the file SEL_Rdb-1.0.0-py3-none-any.whl.
File metadata
- Download URL: SEL_Rdb-1.0.0-py3-none-any.whl
- Upload date:
- Size: 57.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cada610ef1d87f3c3745d8c8afcedab3b248e0cdd29c7a988cdc6fc3cf37bdd4
|
|
| MD5 |
aa46adbd98c40f9162d31ef3e66219fb
|
|
| BLAKE2b-256 |
e0e6bfe67e5cf47d62f4ef5e43245660c4e7e81810d916d0250e61d3bae422aa
|