Skip to main content

LLM-driven pipeline that forges, validates, and promotes TextFSM templates from network CLI output

Project description

ParseForge

LLM-driven pipeline that forges, cross-validates, and promotes TextFSM templates from network device CLI output.

Full design plan: SPEC.md.

Layout

parseforge/
  naming.py       CLI command -> canonical cli-name (SPEC §2)
  paths.py        trials/integration/authoritative path resolution (SPEC §3)
  sampling.py     device connection + command capture (SPEC §5 step 4)
  generation.py   LLM call + template extraction (SPEC §5 steps 5-6)
  validation.py   self-validation + cross-validation scoring (SPEC §5 steps 7-8)
  promotion.py    authoritative promotion gate + drift status (SPEC §3.3, §5 steps 9-10)
  pipeline.py     orchestrates the above; Mode LOOP (MVP) vs Mode BATCH (SPEC §4)
  cli/            `parseforge` command-line entry point

The runtime template tree (trials/ -> integration/ -> authoritative/) is generated at ~/.parseforge/tests by default (see paths.DEFAULT_STORE_ROOT), not checked into this repo.

naming.py and paths.py are implemented and tested. sampling.py, generation.py, validation.py, promotion.py, and pipeline.py are stub interfaces — the SPEC.md section cited in each docstring is the next thing to implement.

Development

pip install -e ".[dev,sampling]"
pytest

CLI

parseforge name show interface GE1.1 status
# -> show-interface-var1-status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parseforge-0.2.2.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parseforge-0.2.2-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

Details for the file parseforge-0.2.2.tar.gz.

File metadata

  • Download URL: parseforge-0.2.2.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for parseforge-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e78e5fc73b98a2d8c683691e8c8e3a31998fb5b2f9b44373dd1955583255eebb
MD5 6d9be9260974b055f0c7b251791d1693
BLAKE2b-256 91336bb0acffa3652bc53d3f3fb809e53ca4828657593e4fbf4ceb49bdfe64a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for parseforge-0.2.2.tar.gz:

Publisher: publish-pypi.yml on Geeks-Trident-LLC/parseforge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parseforge-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: parseforge-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 40.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for parseforge-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 90553caf24d17ccf01767f92462a9271257df6da30966b4b20db64635cffa33d
MD5 9e37c7aae1da1c9ad091bf8a8f921f4d
BLAKE2b-256 87aed9a6fbfc55c825a35fa55b68ea6cbaf8c44c6ac48cb36c9f7165e78e20b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for parseforge-0.2.2-py3-none-any.whl:

Publisher: publish-pypi.yml on Geeks-Trident-LLC/parseforge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page