Port details on branch 2022Q2 |
- py-jtextfsm Smaller fork of py-textfsm, a parser for semi-structured text
- 0.3.1 textproc =0 0.3.1Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2018-04-05 04:22:10
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/jonathanslenders/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).
Note: This package was originally a fork of TextFSM because TextFSM had no
support for Python3 at that time (that's not the case anymore, btw).
Nevertheless this package is somewhat smaller compared to TextFSM and is used
in some projects.
- ¦ ¦ ¦ ¦
- 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}jtextfsm>0:textproc/py-jtextfsm@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-jtextfsm/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-jtextfsm
- pkg install py39-jtextfsm
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-jtextfsm listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-jtextfsm
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1522337241
SHA256 (jtextfsm-0.3.1.tar.gz) = bd3ae3538b6d744d1e148326c486b95bd3614ea14f15ddd15ca1e5a327e188f2
SIZE (jtextfsm-0.3.1.tar.gz) = 10166
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-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- textproc_py-jtextfsm
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|