Path to this page:
./
textproc/py-textfsm,
Template based state machine for parsing semi-formatted text
Branch: CURRENT,
Version: 1.1.3,
Package name: py310-textfsm-1.1.3,
Maintainer: pkgsrc-usersPython module which implements a template based state machine for
parsing semi-formatted text. Originally developed to allow programmatic
access to information returned from the command line interface
(CLI) of networking devices.
The engine takes two inputs - a template file, and text input (such
as command responses from the CLI of a device) and returns a list
of records that contains the data parsed from the text.
A template file is needed for each uniquely structured text input.
Some examples are provided with the code and users are encouraged
to develop their own.
By developing a pool of template files, scripts can call TextFSM
to parse useful information from a variety of sources. It is also
possible to use different templates on the same data in order to
create different tables (or views).
TextFSM was developed internally at Google and released under the
Apache 2.0 licence for the benefit of the wider community.
Master sites:
Filesize: 50.094 KB
Version history: (Expand)
- (2023-04-01) Package added to pkgsrc.se, version py310-textfsm-1.1.3 (created)
CVS history: (Expand)
2023-04-13 14:22:41 by Thomas Klausner | Files touched by this commit (2) |
Log message:
py-textfsm: add missing DEPENDS and TEST_DEPENDS, fix test target
Simplify PLIST.
|
2023-04-01 00:41:09 by Havard Eidnes | Files touched by this commit (4) |
Log message:
Add textfsm version 1.1.3.
Python module which implements a template based state machine for
parsing semi-formatted text. Originally developed to allow programmatic
access to information returned from the command line interface
(CLI) of networking devices.
The engine takes two inputs - a template file, and text input (such
as command responses from the CLI of a device) and returns a list
of records that contains the data parsed from the text.
A template file is needed for each uniquely structured text input.
Some examples are provided with the code and users are encouraged
to develop their own.
By developing a pool of template files, scripts can call TextFSM
to parse useful information from a variety of sources. It is also
possible to use different templates on the same data in order to
create different tables (or views).
TextFSM was developed internally at Google and released under the
Apache 2.0 licence for the benefit of the wider community.
|