Skip to main content

This package is designed to generate regular expression formats based on device names.

Project description

DEVICES 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 devices-format via pip. Use the following command:

pip install devices-format

Usage

Generate regular expression formats based on device names.

from devices_format import Device

device = Device("OVF-AAAAAAATEY", "olt")
print(device.get_device_format())

Supported Device Names

  • OLT

  • OTB

  • CA1

  • CA2

  • FTSBS

  • CPE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

device-format-0.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

device_format-0.1-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file device-format-0.1.tar.gz.

File metadata

  • Download URL: device-format-0.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

Hashes for device-format-0.1.tar.gz
Algorithm Hash digest
SHA256 17bbcb3f50900bfc592dd68081b8ee931b63c5fb6457acc90febf03ea4e6e671
MD5 2dfac3b7a5fbd5c3546a611d850c40af
BLAKE2b-256 d21ac86095a9f5bcb58a83b5fb8f8c97641d489a20d62c2b1864007b07884028

See more details on using hashes here.

File details

Details for the file device_format-0.1-py3-none-any.whl.

File metadata

  • Download URL: device_format-0.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

Hashes for device_format-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b62f77e5b00b7f750e013273e2d6b6cec263b780443b8893ce2ee4ae5144ff68
MD5 5ec190b9c60f9465e8d8c9ce7691029d
BLAKE2b-256 46b7f3759df8d5c37cc902db031f3cc508491aa8b7fac76ad16e00a9710b7a66

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page