A knit-programming library for modular combination of knitted structures defined by the knitout machine knitting language.
Project description
Quilt
A knit-programming library for modular combination of knitted structures defined by the knitout machine knitting language.
Overview
Quilt enables you to combine individual knitted swatches into larger, more complex structures through:
- Course-wise merging (horizontal combination)
- Wale-wise merging (vertical combination)
- Quilt construction (complex grid patterns)
Mix and match different stitch patterns including jersey, rib, seed, lace, cable, and jacquard.
Quick Install
pip install quilt-knit
Requires Python 3.11 or higher.
Documentation
📖 Full documentation is available at: https://mhofmann-Khoury.github.io/quilt-knit/
The documentation includes:
- Complete installation instructions
- Detailed usage examples
- API reference
- Advanced quilt patterns
Quick Example
"""Example of left->right course merge"""
from quilt_knit.swatch.Swatch import Swatch
from quilt_knit.swatch.course_wise_merging.Course_Wise_Connection import Course_Wise_Connection
from quilt_knit.swatch.course_wise_merging.Course_Merge_Process import Course_Merge_Process
# Create and merge two swatches horizontally
left_swatch = Swatch("left", "left_program.k")
right_swatch = Swatch("right", "right_program.k")
connection = Course_Wise_Connection(left_swatch, right_swatch)
merger = Course_Merge_Process(connection)
merger.merge_swatches()
merger.compile_to_dat('merged_output')
License
This project is licensed for non-commercial use. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quilt_knit-1.0.0.tar.gz.
File metadata
- Download URL: quilt_knit-1.0.0.tar.gz
- Upload date:
- Size: 63.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.13 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8bd0794cc8bad69d26b9708115794cc6f9bda9e0bb7947ad8d731a84c49cd56
|
|
| MD5 |
957231fdc34e1560eb758fe42661f93f
|
|
| BLAKE2b-256 |
a995db53d2fb0f11b0850754f480c619d385c5bfd25e59d13141587c89ed6f43
|
File details
Details for the file quilt_knit-1.0.0-py3-none-any.whl.
File metadata
- Download URL: quilt_knit-1.0.0-py3-none-any.whl
- Upload date:
- Size: 73.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.13 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
016ce2bbfa8e925ce3813046178584aad33d09adb3f73dbc0b2f11b52705e6d2
|
|
| MD5 |
2eaffe68d47f00f7e0bb463c1fefb934
|
|
| BLAKE2b-256 |
35b3f471ecddcd45e1f6713e986efab1796359fe1c0c503d0a6eb4d66094543f
|