This package is designed to generate regular expression formats based on device names.
Project description
FRONTIVICE
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 frontivice via pip. Use the following command:
pip install frontivice
Usage
Generate regular expression formats based on device names.
from frontivice import Device
try:
device = Device(device_name="OVF-AAAAAAATEY", device_type="olt")
print(device.get_device_format())
except ValueError as e:
print(e)
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 frontivice-0.1.tar.gz.
File metadata
- Download URL: frontivice-0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cc7dddda5d6fbae0e9d8c84d67089df3f2d3f9da499d1337c5ec7515d368af4
|
|
| MD5 |
495e1e725822d9e2ef14700977378c39
|
|
| BLAKE2b-256 |
e93952690eb134fec9f80ee91a135f12544461006f92f95c9d987436c27e1a0c
|
File details
Details for the file frontivice-0.1-py3-none-any.whl.
File metadata
- Download URL: frontivice-0.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f66feb2bf2ca91aeba62ac2157fc2cbc6ce313fbe0e497f123266f2984eebdd9
|
|
| MD5 |
88063332bfe291115184d949698f4152
|
|
| BLAKE2b-256 |
4f4abdce7a4a26b56914e5fd940117534ca37667fe115ce23f2bffcf61e86505
|