knitout-interpreter๏ƒ

PyPI Version Python Version License Code style: MyPy Pre-commit

A comprehensive Python library for interpreting and executing knitout files used to control automatic V-Bed knitting machines. This library provides full support for the Knitout specification created by McCann et al., enabling programmatic knitting pattern analysis, validation, and execution simulation.

๐Ÿงถ Overview๏ƒ

The knitout-interpreter bridges the gap between high-level knitting pattern descriptions and machine-level execution. It provides tools for:

  • Parsing knitout files into structured Python objects

  • Validating knitting instructions against common errors

  • Simulating execution on virtual knitting machines

  • Analyzing patterns for timing, width requirements, and complexity

  • Reorganizing instructions for optimal machine execution