SEP2-Tools
This library provides some useful functions for working with IEEE 2030.5 (SEP2).
Note this library used to also include some functions for creating and validating certificates. This has now been moved to a seperate SEP2-Certs package.
Helper Functions
Generating IDs
from sep2tools.ids import generate_mrid
EXAMPLE_PEN = 1234
mrid = generate_mrid(EXAMPLE_PEN)
print(mrid) # 2726-D70C-C6C2-40DB-B78E-9B38-0000-1234
Bitmap Hex Mappings
Some helper functions are provided for calculating the hex representation of SEP2 bitmap fields.
from sep2tools.hexmaps import get_role_flag
binval, hexval = get_role_flag(is_mirror=1, is_der=1, is_submeter=1)
print(binval) # 0000000001001001
print(hexval) # 0049
Metadata
Release files for sep2tools 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sep2tools-0.5.1.tar.gz | 11.9 kB | Without provenance | Details for sep2tools-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sep2tools-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for sep2tools-0.5.1-py3-none-any.whl |
Total release size: 25.7 kB
Release files / sep2tools-0.5.1.tar.gz
| Download URL | sep2tools-0.5.1.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7934dbea9f5e8bec20ea1d8b7738e4c8904c0d675bd061ae32e860e50addf97
|
|
BLAKE2b-256 checksum How to use checksums |
36059c9d8154a1dc0f4cd04e9b7c60cd5a98ca59df9688c4587095777ec66140
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / sep2tools-0.5.1-py3-none-any.whl
| Download URL | sep2tools-0.5.1-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0804f3a245d99a5c8e49e2cf4ccd581c41e3b1deeaee5f5a0e5da0082140385b
|
|
BLAKE2b-256 checksum How to use checksums |
24197ec70c44c1a9101d09abcdea27ab36077b3e31f3fbad271edbd5eea67456
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for sep2tools 0.5.1
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.