Skip to main content

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.

PyPI Version Python Versions

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/

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


Download files

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

Source Distribution

quilt_knit-1.0.1.tar.gz (63.5 kB view details)

Uploaded Source

Built Distribution

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

quilt_knit-1.0.1-py3-none-any.whl (72.7 kB view details)

Uploaded Python 3

File details

Details for the file quilt_knit-1.0.1.tar.gz.

File metadata

  • Download URL: quilt_knit-1.0.1.tar.gz
  • Upload date:
  • Size: 63.5 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

Hashes for quilt_knit-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a401c54e3e443d8831366fccac9af38f49e467de9bd2346a43df3aa72db73b06
MD5 c24e58e7f0f6f4ce1c7b0d75a6b8d5ff
BLAKE2b-256 a419cf7ec06843b01f1872ed29861b0aa8ac4ccff47a9d91bde3ac63d23a3f76

See more details on using hashes here.

File details

Details for the file quilt_knit-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: quilt_knit-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 72.7 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

Hashes for quilt_knit-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee4bfc258517b101ea81a7742af5a8c631b452beea30f23be04ac86f414f37d3
MD5 65986668fddd7d61259be471e313c2a5
BLAKE2b-256 617a0c521f321f196b60ae2b9b6173cf1eebd644a42b5492796fe3ca0fc0b8c4

See more details on using hashes here.

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