Skip to content

lang2456-UST/python-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sweater Knitting Helper

A Flask web application for quick sweater planning calculations.

Inputs

The UI collects:

  • Stitch gauge (stitches per 4 inches)
  • Row gauge (rows per 4 inches)
  • Neck circumference
  • Yoke depth
  • Arm circumference
  • Chest circumference
  • Desired ease

Calculations

  • Stitches per inch = stitch gauge / 4
  • Rows per inch = row gauge / 4
  • Total chest stitches = (chest circumference + desired ease) / stitch gauge
  • Armhole stitches = (arm circumference + desired ease) / rows per inch

The app also shows rounded stitch counts for convenience.

Run Locally

  1. Create and activate a virtual environment:

    python3 -m venv .venv
    source .venv/bin/activate
  2. Install dependencies:

    pip install -r requirements.txt
  3. Start the app:

    flask --app app run --debug
  4. Open the local URL shown in your terminal.

Run Tests

pytest

CI

GitHub Actions runs the test suite on every push using .github/workflows/tests.yml.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors