base-loom-server 0.2__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {base_loom_server-0.2/src/base_loom_server.egg-info → base_loom_server-0.2.1}/PKG-INFO +22 -11
- {base_loom_server-0.2 → base_loom_server-0.2.1}/README.md +14 -4
- {base_loom_server-0.2 → base_loom_server-0.2.1}/pyproject.toml +7 -6
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/version.py +1 -1
- {base_loom_server-0.2 → base_loom_server-0.2.1/src/base_loom_server.egg-info}/PKG-INFO +22 -11
- base_loom_server-0.2.1/src/base_loom_server.egg-info/requires.txt +9 -0
- base_loom_server-0.2/src/base_loom_server.egg-info/requires.txt +0 -8
- {base_loom_server-0.2 → base_loom_server-0.2.1}/.gitignore +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/.pre-commit-config.yaml +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/LICENSE.txt +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/setup.cfg +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/__init__.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/app_runner.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/base_loom_server.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/base_mock_loom.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/client_replies.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/constants.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/display.css +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/display.html_template +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/display.js +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/example_loom_server.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/example_mock_loom.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/favicon-32x32.png +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/locales/README.md +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/locales/default.json +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/locales/fr.json +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/main.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/mock_streams.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/pattern_database.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/py.typed +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/reduced_pattern.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/test_data/many color liftplan and zeros.dtx +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/test_data/many color liftplan and zeros.wif +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/test_data/many color multiple treadles and zeros.dtx +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/test_data/many color multiple treadles and zeros.wif +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/test_data/many color single treadles.dtx +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/test_data/many color single treadles.wif +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/test_data/two color liftplan.dtx +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/test_data/two color liftplan.wif +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/test_data/two color multiple treadles.dtx +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/test_data/two color multiple treadles.wif +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/test_data/two color single treadles.dtx +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/test_data/two color single treadles.wif +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server/testutils.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server.egg-info/SOURCES.txt +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server.egg-info/dependency_links.txt +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server.egg-info/entry_points.txt +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server.egg-info/top_level.txt +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/tests/test_loom_server.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/tests/test_mock_loom.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/tests/test_mock_streams.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/tests/test_pattern_database.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/tests/test_reduced_pattern.py +0 -0
- {base_loom_server-0.2 → base_loom_server-0.2.1}/tests/test_version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: base_loom_server
|
|
3
|
-
Version: 0.2
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Base package for web servers that control dobby multi-shaft looms
|
|
5
5
|
Author-email: Russell Owen <r3owen@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/r-owen/base_loom_server
|
|
@@ -11,13 +11,14 @@ Classifier: Operating System :: OS Independent
|
|
|
11
11
|
Requires-Python: >=3.11
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE.txt
|
|
14
|
-
Requires-Dist:
|
|
15
|
-
Requires-Dist: dtx_to_wif
|
|
16
|
-
Requires-Dist:
|
|
14
|
+
Requires-Dist: aiosqlite>=0.20
|
|
15
|
+
Requires-Dist: dtx_to_wif~=3.0
|
|
16
|
+
Requires-Dist: fastapi[standard]~=0.115
|
|
17
|
+
Requires-Dist: pyserial-asyncio~=0.6
|
|
17
18
|
Provides-Extra: dev
|
|
18
|
-
Requires-Dist: pre-commit
|
|
19
|
-
Requires-Dist: pytest
|
|
20
|
-
Requires-Dist: pytest-asyncio
|
|
19
|
+
Requires-Dist: pre-commit~=4.0; extra == "dev"
|
|
20
|
+
Requires-Dist: pytest~=8.3; extra == "dev"
|
|
21
|
+
Requires-Dist: pytest-asyncio~=0.25; extra == "dev"
|
|
21
22
|
|
|
22
23
|
# Base package for web servers that control dobby multi-shaft looms
|
|
23
24
|
|
|
@@ -59,18 +60,28 @@ You may also want to reset the database if you are weaving a new project and don
|
|
|
59
60
|
|
|
60
61
|
* Inside the directory, issue the following commands:
|
|
61
62
|
|
|
62
|
-
* **pip install -e
|
|
63
|
+
* **pip install -e .'[dev]'** (the single quotes are required in zsh, but not in bash)
|
|
64
|
+
to make an "editable installation" of the package.
|
|
63
65
|
An editable installation runs from the source code, so changes you make to the source are used when you run or test the code, without the need to reinstall the package.
|
|
66
|
+
**'[dev]'** installs development-related packages such as pytest (see the file `pyproject.toml` for the full list).
|
|
64
67
|
|
|
65
68
|
* **pre-commit install** to activate the pre-commit hooks.
|
|
69
|
+
|
|
70
|
+
* **pytest** to test your installation.
|
|
66
71
|
|
|
67
|
-
* You may run
|
|
68
|
-
|
|
69
|
-
|
|
72
|
+
* You may run an example loom server with: **run_example_loom mock**.
|
|
73
|
+
Please only specify the **mock** serial port; do not try to connect the example loom server
|
|
74
|
+
to any real dobby loom, because it will not work.
|
|
75
|
+
|
|
76
|
+
**run_example_loom mock** also accepts these command-line arguments:
|
|
70
77
|
|
|
71
78
|
* **--reset-db** Reset the pattern database. Try this if you think the database is corrupted.
|
|
72
79
|
|
|
73
80
|
* **--verbose** Print more diagnostic information.
|
|
81
|
+
|
|
82
|
+
Note that the example loom server uses the same pattern database as
|
|
83
|
+
[seguin_loom_server](<https://pypi.org/project/seguin-loom-server/)>)
|
|
84
|
+
and [toika_loom_server](https://pypi.org/project/toika-loom-server/).
|
|
74
85
|
|
|
75
86
|
* In mock mode the web page shows a few extra controls for debugging.
|
|
76
87
|
|
|
@@ -38,18 +38,28 @@ You may also want to reset the database if you are weaving a new project and don
|
|
|
38
38
|
|
|
39
39
|
* Inside the directory, issue the following commands:
|
|
40
40
|
|
|
41
|
-
* **pip install -e
|
|
41
|
+
* **pip install -e .'[dev]'** (the single quotes are required in zsh, but not in bash)
|
|
42
|
+
to make an "editable installation" of the package.
|
|
42
43
|
An editable installation runs from the source code, so changes you make to the source are used when you run or test the code, without the need to reinstall the package.
|
|
44
|
+
**'[dev]'** installs development-related packages such as pytest (see the file `pyproject.toml` for the full list).
|
|
43
45
|
|
|
44
46
|
* **pre-commit install** to activate the pre-commit hooks.
|
|
47
|
+
|
|
48
|
+
* **pytest** to test your installation.
|
|
45
49
|
|
|
46
|
-
* You may run
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
* You may run an example loom server with: **run_example_loom mock**.
|
|
51
|
+
Please only specify the **mock** serial port; do not try to connect the example loom server
|
|
52
|
+
to any real dobby loom, because it will not work.
|
|
53
|
+
|
|
54
|
+
**run_example_loom mock** also accepts these command-line arguments:
|
|
49
55
|
|
|
50
56
|
* **--reset-db** Reset the pattern database. Try this if you think the database is corrupted.
|
|
51
57
|
|
|
52
58
|
* **--verbose** Print more diagnostic information.
|
|
59
|
+
|
|
60
|
+
Note that the example loom server uses the same pattern database as
|
|
61
|
+
[seguin_loom_server](<https://pypi.org/project/seguin-loom-server/)>)
|
|
62
|
+
and [toika_loom_server](https://pypi.org/project/toika-loom-server/).
|
|
53
63
|
|
|
54
64
|
* In mock mode the web page shows a few extra controls for debugging.
|
|
55
65
|
|
|
@@ -11,9 +11,10 @@ dynamic = ["version"]
|
|
|
11
11
|
description = "Base package for web servers that control dobby multi-shaft looms"
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
dependencies = [
|
|
14
|
-
"
|
|
15
|
-
"dtx_to_wif
|
|
16
|
-
"
|
|
14
|
+
"aiosqlite >= 0.20",
|
|
15
|
+
"dtx_to_wif ~= 3.0",
|
|
16
|
+
"fastapi[standard] ~= 0.115",
|
|
17
|
+
"pyserial-asyncio ~= 0.6",
|
|
17
18
|
]
|
|
18
19
|
authors = [
|
|
19
20
|
{ name="Russell Owen", email="r3owen@gmail.com" },
|
|
@@ -27,9 +28,9 @@ requires-python = ">=3.11"
|
|
|
27
28
|
|
|
28
29
|
[project.optional-dependencies]
|
|
29
30
|
dev = [
|
|
30
|
-
"pre-commit
|
|
31
|
-
"pytest
|
|
32
|
-
"pytest-asyncio
|
|
31
|
+
"pre-commit ~= 4.0",
|
|
32
|
+
"pytest ~= 8.3",
|
|
33
|
+
"pytest-asyncio ~= 0.25",
|
|
33
34
|
]
|
|
34
35
|
|
|
35
36
|
# Needed due to including package data below
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: base_loom_server
|
|
3
|
-
Version: 0.2
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Base package for web servers that control dobby multi-shaft looms
|
|
5
5
|
Author-email: Russell Owen <r3owen@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/r-owen/base_loom_server
|
|
@@ -11,13 +11,14 @@ Classifier: Operating System :: OS Independent
|
|
|
11
11
|
Requires-Python: >=3.11
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE.txt
|
|
14
|
-
Requires-Dist:
|
|
15
|
-
Requires-Dist: dtx_to_wif
|
|
16
|
-
Requires-Dist:
|
|
14
|
+
Requires-Dist: aiosqlite>=0.20
|
|
15
|
+
Requires-Dist: dtx_to_wif~=3.0
|
|
16
|
+
Requires-Dist: fastapi[standard]~=0.115
|
|
17
|
+
Requires-Dist: pyserial-asyncio~=0.6
|
|
17
18
|
Provides-Extra: dev
|
|
18
|
-
Requires-Dist: pre-commit
|
|
19
|
-
Requires-Dist: pytest
|
|
20
|
-
Requires-Dist: pytest-asyncio
|
|
19
|
+
Requires-Dist: pre-commit~=4.0; extra == "dev"
|
|
20
|
+
Requires-Dist: pytest~=8.3; extra == "dev"
|
|
21
|
+
Requires-Dist: pytest-asyncio~=0.25; extra == "dev"
|
|
21
22
|
|
|
22
23
|
# Base package for web servers that control dobby multi-shaft looms
|
|
23
24
|
|
|
@@ -59,18 +60,28 @@ You may also want to reset the database if you are weaving a new project and don
|
|
|
59
60
|
|
|
60
61
|
* Inside the directory, issue the following commands:
|
|
61
62
|
|
|
62
|
-
* **pip install -e
|
|
63
|
+
* **pip install -e .'[dev]'** (the single quotes are required in zsh, but not in bash)
|
|
64
|
+
to make an "editable installation" of the package.
|
|
63
65
|
An editable installation runs from the source code, so changes you make to the source are used when you run or test the code, without the need to reinstall the package.
|
|
66
|
+
**'[dev]'** installs development-related packages such as pytest (see the file `pyproject.toml` for the full list).
|
|
64
67
|
|
|
65
68
|
* **pre-commit install** to activate the pre-commit hooks.
|
|
69
|
+
|
|
70
|
+
* **pytest** to test your installation.
|
|
66
71
|
|
|
67
|
-
* You may run
|
|
68
|
-
|
|
69
|
-
|
|
72
|
+
* You may run an example loom server with: **run_example_loom mock**.
|
|
73
|
+
Please only specify the **mock** serial port; do not try to connect the example loom server
|
|
74
|
+
to any real dobby loom, because it will not work.
|
|
75
|
+
|
|
76
|
+
**run_example_loom mock** also accepts these command-line arguments:
|
|
70
77
|
|
|
71
78
|
* **--reset-db** Reset the pattern database. Try this if you think the database is corrupted.
|
|
72
79
|
|
|
73
80
|
* **--verbose** Print more diagnostic information.
|
|
81
|
+
|
|
82
|
+
Note that the example loom server uses the same pattern database as
|
|
83
|
+
[seguin_loom_server](<https://pypi.org/project/seguin-loom-server/)>)
|
|
84
|
+
and [toika_loom_server](https://pypi.org/project/toika-loom-server/).
|
|
74
85
|
|
|
75
86
|
* In mock mode the web page shows a few extra controls for debugging.
|
|
76
87
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{base_loom_server-0.2 → base_loom_server-0.2.1}/src/base_loom_server.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|