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

store/            runtime template tree: trials/ -> integration/ -> authoritative/
                  (generated at runtime, not checked in — see .gitignore)

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.1.tar.gz (17.1 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.1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: parseforge-0.2.1.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for parseforge-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5b035664634ca791284c2ce202a4a757ef3919797409dc0e212cad0a8392def8
MD5 83d351aabf5ad1d27f644fd871e62e78
BLAKE2b-256 4e25aac708d70ffd60249cc2a6584c54dc86e4c686aff5c6361c1b8606a5e870

See more details on using hashes here.

Provenance

The following attestation bundles were made for parseforge-0.2.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: parseforge-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for parseforge-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5bd6ca78b411f228fc5e24c206061d082ff34b97fe610d5e829d39d5a4e9b128
MD5 acd0dacef6cee2bd0b0aa5c26b5202ce
BLAKE2b-256 22d0043df58744978f1ed8b7cae6f0740c6a925cf81b5c0f81d00dc1783d5828

See more details on using hashes here.

Provenance

The following attestation bundles were made for parseforge-0.2.1-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