Port details on branch 2022Q2 |
- py-textfsm Parses semi-structured text into Python tables
- 1.1.3_1 textproc =0 1.1.3_1Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2018-04-05 04:46:13
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/google/textfsm
- Description:
- 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).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}textfsm>0:textproc/py-textfsm@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-textfsm/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-textfsm
- pkg install py39-textfsm
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-textfsm listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-textfsm
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1686207535
SHA256 (textfsm-1.1.3.tar.gz) = 577ef278a9237f5341ae9b682947cefa4a2c1b24dbe486f94f2c95addc6504b5
SIZE (textfsm-1.1.3.tar.gz) = 55454
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-six>0 : devel/py-six@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-pytest>0 : devel/py-pytest@py39
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-future>0 : devel/py-future@py39
- py39-six>0 : devel/py-six@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- net-mgmt/py-napalm
- security/py-netmiko
- textproc/py-ntc-templates
Configuration Options:
- No options to configure
- Options name:
- textproc_py-textfsm
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|