ttp_templates
Template Text Parser Templates collections
Decision gist · record as of 2026-08-14
Yes. Low install friction, active maintenance, no known vulnerabilities, and a permissive MIT license. Install if you parse network device output or other semi-structured text and want to avoid writing TTP templates from scratch. Skip if you have no use for TTP or need templates for platforms not yet in the collection.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; TTP must be installed (automatic via pip).
- Low friction: pure Python wheel with only two runtime dependencies (ttp and pydantic).
- Last release 33 days ago with active maintenance and 71 repository stars.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal attribution requirements.
last release 2026-07-12 (33 days) · last repo commit 2026-07-12 · 71 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 224,359 downloads/mo, #9,233 on PyPI
Alternatives
Verify before relying
pip install ttp-templates
from ttp_templates import parse_output
result = parse_output(
data="interface GigabitEthernet1/3.251\n description Customer #32148\n ip address 172.16.33.10 255.255.255.128",
platform="Test Platform",
command="show run | sec interface"
)
print(result)- Whether templates cover specific network platforms or command outputs beyond the Cisco IOS examples shown.
- How frequently new templates are added and the process for community contributions.
What it is and what it does
ttp_templates is a library of pre-built parsing templates for TTP, a text parsing engine designed to extract structured data from unstructured or semi-structured text. It ships with templates tailored for network device outputs (Cisco IOS, etc.) and can map parsed results to YANG data models like ietf-interfaces. You use it by calling parse_output() with device output and platform/command metadata, or by retrieving specific templates via get_template() and passing them to the TTP parser directly.
The package depends on ttp for the actual parsing engine and pydantic for data validation. It targets Python 3.10 and later and requires no system libraries or external tools. The templates are community-contributed and cover common network operational commands; if you have a parsing problem that fits an existing template, this package saves you from writing regex and TTP grammar from scratch.
Use it for
- Parse Cisco IOS 'show' command output into structured dictionaries for automation or inventory tools.
- Convert network device configurations into YANG-compliant JSON for standards-based tooling.
- Extract interface, routing, or VLAN data from device CLI output without writing custom parsers.
- Validate and normalize parsed network state across multiple device types using pre-tested templates.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Low install friction, active maintenance, no known vulnerabilities, and a permissive MIT license. Install if you parse network device output or other semi-structured text and want to avoid writing TTP templates from scratch. Skip if you have no use for TTP or need templates for platforms not yet in the collection.
Install
ttp-templates on PyPI
Before you install
Low friction: pure Python wheel with only two runtime dependencies (ttp and pydantic). Last release 33 days ago with active maintenance and 71 repository stars.
Requires Python 3.10 or later; TTP must be installed (automatic via pip).
License in practice
MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal attribution requirements.
Quickstart
pip install ttp-templates
from ttp_templates import parse_output
result = parse_output(
data="interface GigabitEthernet1/3.251\n description Customer #32148\n ip address 172.16.33.10 255.255.255.128",
platform="Test Platform",
command="show run | sec interface"
)
print(result)
Verify before relying
- Whether templates cover specific network platforms or command outputs beyond the Cisco IOS examples shown.
- How frequently new templates are added and the process for community contributions.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesttppydantic |
| Maintenance | Actively maintained 33 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 224,359 / month, #9,233 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Utilities |
Evidence: ttp_templates-0.5.9-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ttp templates collection”
- ttp_templatesProvides a curated collection of TTP (Template Text Parser) templates…
- ttpTTP is a Python library for parsing semi-structured text into…
- comfyui-workflow-templates-media-imageProvides a collection of image workflow assets and templates for use…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also ttp · ntc-templates · ciscoconfparse · comfyui-workflow-templates · iptools · IPy · curlylint · django-netfields · commonregex · ipaddr