Skip to content

Commit 61a4939

Browse files
authored
Merge pull request #1 from Programming-The-Next-Step-2026/week-1
File setup
2 parents 334da16 + db50be6 commit 61a4939

6 files changed

Lines changed: 45 additions & 1 deletion

File tree

.DS_Store

6 KB
Binary file not shown.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# knitting_pattern
2-
A tool to help calculate kntting patterns.
2+
A project in which I attempt to create a tool to help calculate knitting patterns.
3+
My goal is to develop an app where the user can move and scale alpha patterns (patterns on a pixel grid) on a garment, and based on selected measurement, yarn gauge and pattern placement, the app can calculate a knitting pattern to follow.

pyproject.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[build-system]
2+
requires = ["hatchling >= 1.26"]
3+
build-backend = "hatchling.build"
4+
5+
[tool.hatch.build.targets.wheel]
6+
packages = ["alpha_calc"]
7+
8+
[project]
9+
name = "knitting_pattern"
10+
version = "0.0.1"
11+
authors = [
12+
{ name="Kaste Ivanauskaite", email="kaste.ivanauskaite@gmail.com" },
13+
]
14+
description = "Kitting pattern calculator tool for my programming course"
15+
readme = "README.md"
16+
requires-python = ">=3.9"
17+
classifiers = [
18+
"Programming Language :: Python :: 3",
19+
"Operating System :: OS Independent",
20+
]
21+
license = "MIT"
22+
license-files = ["LICEN[CS]E*"]
23+
24+
[project.urls]
25+
Homepage = "https://github.com/Programming-The-Next-Step-2026/knitting_pattern.git"

src/.DS_Store

6 KB
Binary file not shown.

src/alpha_calc/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
"""
4+
Created on Sat May 9 00:17:28 2026
5+
6+
@author: kasteivanauskaite
7+
"""
8+
9+
#code for alpha calculator/converter

src/alpha_calc/alpha_patterns.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
"""
4+
Created on Sat May 9 00:18:15 2026
5+
6+
@author: kasteivanauskaite
7+
"""
8+
9+
#actual code for calc

0 commit comments

Comments
 (0)