{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"}],"enrichment":{"capability":"TextFSM parses semi-structured text (like CLI command output) using template-based state machines to extract data into structured records.","skillfed_tags":["cli-parsing","network-automation","text-extraction"],"use_cases":["Parse network device CLI output (show commands, logs) into structured tables for automation scripts.","Extract data from system command output (e.g., ifconfig, netstat) for monitoring or reporting.","Build a reusable template library to parse multiple text formats without rewriting parsing logic.","Convert semi-structured log files into structured records for analysis or database ingestion.","Generate different data views from the same text by applying different templates to the same input."],"what_it_does":"TextFSM is a Python state-machine engine for extracting structured data from semi-formatted text, originally built at Google for parsing CLI output from networking devices. It takes a template file (which defines parsing rules and state transitions) and raw text input, then returns a list of records containing the extracted data. The template approach lets you reuse the same parser logic across different text sources by swapping templates, and you can apply multiple templates to the same input to generate different views of the data.\n\nThe package has no runtime dependencies and installs as a pure Python wheel, making it lightweight and portable. It's classified as Production/Stable and maintained by Google, though releases are infrequent (last update 484 days ago). It's widely used in network automation and system administration contexts where CLI output parsing is common.","worth_installing":"Yes, if you need to parse semi-structured text with template-driven rules. TextFSM is stable, dependency-free, permissively licensed, and widely adopted in network automation. The infrequent release cadence reflects maturity rather than abandonment (last commit April 2025), but verify that its template syntax and capabilities match your parsing needs before committing to it."},"id":"textfsm","links":{"html":"https://skillfed.io/packages/textfsm","md":"https://skillfed.io/packages/textfsm.md","pypi":"https://pypi.org/project/textfsm/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-04-17","license_spdx":null,"license_treatment":"permissive","name":"textfsm","python_support":"unspecified","summary":"Python module for parsing semi-structured text into python tables."},"popularity":{"monthly_downloads":1526601,"position":3812,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.1.0"}
