This package is designed to generate regular expression formats based on device names.
Project description
DEVICE FORMAT
This package is designed to generate regular expression formats based on device names. It simplifies the process of validating and parsing device identifiers by providing pre-defined regex patterns for various device types.
Installation
You can install device-format via pip. Use the following command:
pip install device-format
Usage
Generate regular expression formats based on device names.
from device_format import Device
device = Device("OVF-AAAAAAATEY", "olt")
print(device.get_device_format())
Supported Device Names
-
OLT
-
OTB
-
CA1
-
CA2
-
FTSBS
-
CPE
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 device-format-0.1.1.tar.gz.
File metadata
- Download URL: device-format-0.1.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f375b7bea865a43d2d10e16d799345e2472738f00c862892628662de3766a85
|
|
| MD5 |
519252acba1f27ca5311ee318672fba2
|
|
| BLAKE2b-256 |
57f2ea83b1c77995941106b08d286eac20ed21a6d83a4b452f04608604c476c7
|
File details
Details for the file device_format-0.1.1-py3-none-any.whl.
File metadata
- Download URL: device_format-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91f03a7c728728b5cf49241f62626f1b59fdda2f9dd9bdee7539eded8238aee2
|
|
| MD5 |
f52890503579085d7dbb6c702acad7e9
|
|
| BLAKE2b-256 |
e8cf58fc3d7710d505c26ebf6cdecde997b5e444e0fe8a0d4961e76aa68bd036
|