Skip to main content

SELForge

Logo SelForge

What is SEL Forge?

SEL Forge is a Python library designed for automated interventions in protection relays and other intelligent devices from Schweitzer Engineering Laboratories (SEL). It utilizes an Ethernet connection and the Telnet Protocol to access these devices, perform queries, and modify parameters. The goal of SEL Forge is to provide the necessary tools for developing systems that automate tasks in SEL devices efficiently and reliably.

Contents

  • SEL 700 relays (SEL-751, SEL-751A, SEL-787)
    • Read parameters, logic equations, hardware data
    • Write settings in the relay
    • Test Data Base (Test DB)

Documentation

A more comprehensive documentation is being developed and will be published soon.

⚠️ Warning
This project has no affiliation with Schweitzer Engineering Laboratories (SEL). Furthermore, this library has not been rigorously tested on all SEL devices across a wide range of versions and use cases. Any use of this project should be conducted in a controlled environment and with full responsibility. This project aims to research and learn about the features it explores.

Installation

To install the library, use the following command:

pip install selforge

How to use

Basic Usage of the Library

from selforge import SEL700

# Use example

# Instance the relay
relay = SEL700('192.168.0.10')

# Read the relay firmware
print(relay.readfirmware())

# Read the relay part number
print(relay.partnumber())

# Read logic parameters
print(relay.read_wordbit('SHO L SV01'))

# Read binary value from the Target Table
print(relay.read_target_value('ENABLED'))

A huge documentation is under development

Licence

This project is licensed under the MIT License.

Contact Info

Developed by Elisandro Peixoto.

Metadata

Release files for selforge 0.5

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

Source distribution (sdist)

Source distribution for selforge 0.5
File Size Uploaded Provenance Actions
selforge-0.5.tar.gz 9.8 kB Without provenance Details for selforge-0.5.tar.gz

Release files / selforge-0.5.tar.gz

Download URL selforge-0.5.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ea0ad45300ce6305550efe1b3e55c9254c6f6d9b4121333fabd50ea4e67a3f9c
BLAKE2b-256 checksum
How to use checksums
9797abfcef23286497b5d4047f10ae579c1d54cb431c82832b113b7df7871956
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for selforge 0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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