sioscgi 5.0.0__tar.gz → 5.0.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.
- {sioscgi-5.0.0 → sioscgi-5.0.1}/CHANGELOG.rst +9 -0
- {sioscgi-5.0.0/src/sioscgi.egg-info → sioscgi-5.0.1}/PKG-INFO +5 -6
- sioscgi-5.0.1/pyproject.toml +77 -0
- sioscgi-5.0.1/pyproject.toml.orig +73 -0
- {sioscgi-5.0.0 → sioscgi-5.0.1}/src/sioscgi/request.py +256 -188
- {sioscgi-5.0.0 → sioscgi-5.0.1}/src/sioscgi/response.py +26 -28
- sioscgi-5.0.1/tests/test_request.py +226 -0
- sioscgi-5.0.1/tests/test_response.py +162 -0
- sioscgi-5.0.0/LICENSE +0 -674
- sioscgi-5.0.0/MANIFEST.in +0 -2
- sioscgi-5.0.0/PKG-INFO +0 -104
- sioscgi-5.0.0/pyproject.toml +0 -41
- sioscgi-5.0.0/setup.cfg +0 -34
- sioscgi-5.0.0/src/sioscgi.egg-info/SOURCES.txt +0 -18
- sioscgi-5.0.0/src/sioscgi.egg-info/dependency_links.txt +0 -1
- sioscgi-5.0.0/src/sioscgi.egg-info/top_level.txt +0 -1
- sioscgi-5.0.0/src/sioscgi.egg-info/zip-safe +0 -1
- sioscgi-5.0.0/tests/test_request.py +0 -227
- sioscgi-5.0.0/tests/test_response.py +0 -173
- {sioscgi-5.0.0 → sioscgi-5.0.1}/README.rst +0 -0
- {sioscgi-5.0.0 → sioscgi-5.0.1}/src/sioscgi/__init__.py +0 -0
- {sioscgi-5.0.0 → sioscgi-5.0.1}/src/sioscgi/py.typed +0 -0
- {sioscgi-5.0.0 → sioscgi-5.0.1}/tests/__init__.py +0 -0
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
Changes in 5.0.0
|
|
2
|
+
================
|
|
3
|
+
|
|
4
|
+
The ``sioscgi`` module has been split into separate ``sioscgi.request`` and
|
|
5
|
+
``sioscgi.response`` modules with separate types which can be used
|
|
6
|
+
independently.
|
|
7
|
+
|
|
8
|
+
Extra data after the request body is now ignored rather than raising an error.
|
|
9
|
+
|
|
1
10
|
Changes in 4.1.0
|
|
2
11
|
================
|
|
3
12
|
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: sioscgi
|
|
3
|
-
Version: 5.0.
|
|
3
|
+
Version: 5.0.1
|
|
4
4
|
Summary: A sans-I/O implementation of the SCGI specification.
|
|
5
|
-
Home-page: https://gitlab.com/Hawk777/sioscgi
|
|
6
5
|
Author: Christopher Head
|
|
6
|
+
License-Expression: GPL-3.0-only
|
|
7
7
|
Classifier: Development Status :: 5 - Production/Stable
|
|
8
8
|
Classifier: Intended Audience :: Developers
|
|
9
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
10
9
|
Classifier: Operating System :: OS Independent
|
|
11
10
|
Classifier: Programming Language :: Python :: 3
|
|
12
11
|
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
|
|
13
12
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
14
|
-
Requires-Python: >=3.
|
|
13
|
+
Requires-Python: >=3.12
|
|
14
|
+
Project-URL: Repository, https://gitlab.com/Hawk777/sioscgi.git
|
|
15
15
|
Description-Content-Type: text/x-rst
|
|
16
|
-
License-File: LICENSE
|
|
17
16
|
|
|
18
17
|
What is sioscgi?
|
|
19
18
|
================
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["uv_build ~= 0.12.3"]
|
|
3
|
+
build-backend = "uv_build"
|
|
4
|
+
|
|
5
|
+
[dependency-groups]
|
|
6
|
+
ci = [
|
|
7
|
+
"mypy-gitlab-code-quality",
|
|
8
|
+
"pylint-gitlab",
|
|
9
|
+
]
|
|
10
|
+
dev = [
|
|
11
|
+
"mypy ~= 2.3.1",
|
|
12
|
+
"pylint ~= 4.0.8",
|
|
13
|
+
"pytest ~= 9.1.1",
|
|
14
|
+
"ruff ~= 0.16.7",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
[project]
|
|
18
|
+
name = "sioscgi"
|
|
19
|
+
version = "5.0.1"
|
|
20
|
+
description = "A sans-I/O implementation of the SCGI specification."
|
|
21
|
+
readme = "README.rst"
|
|
22
|
+
requires-python = ">=3.12"
|
|
23
|
+
license = "GPL-3.0-only"
|
|
24
|
+
classifiers = [
|
|
25
|
+
"Development Status :: 5 - Production/Stable",
|
|
26
|
+
"Intended Audience :: Developers",
|
|
27
|
+
"Operating System :: OS Independent",
|
|
28
|
+
"Programming Language :: Python :: 3",
|
|
29
|
+
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
|
|
30
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[[project.authors]]
|
|
34
|
+
name = "Christopher Head"
|
|
35
|
+
|
|
36
|
+
[project.urls]
|
|
37
|
+
Repository = "https://gitlab.com/Hawk777/sioscgi.git"
|
|
38
|
+
|
|
39
|
+
[tool.pylint.messages_control]
|
|
40
|
+
enable = [
|
|
41
|
+
"deprecated-pragma",
|
|
42
|
+
"useless-suppression",
|
|
43
|
+
"use-symbolic-message-instead",
|
|
44
|
+
]
|
|
45
|
+
disable = [
|
|
46
|
+
"duplicate-code",
|
|
47
|
+
"too-few-public-methods",
|
|
48
|
+
"too-many-instance-attributes",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
[tool.pytest]
|
|
52
|
+
addopts = ["--import-mode=importlib"]
|
|
53
|
+
strict = true
|
|
54
|
+
testpaths = ["tests"]
|
|
55
|
+
|
|
56
|
+
[tool.ruff]
|
|
57
|
+
src = ["src"]
|
|
58
|
+
target-version = "py312"
|
|
59
|
+
|
|
60
|
+
[tool.ruff.lint]
|
|
61
|
+
allowed-confusables = ["’"]
|
|
62
|
+
ignore = [
|
|
63
|
+
"COM812",
|
|
64
|
+
"CPY001",
|
|
65
|
+
"D203",
|
|
66
|
+
"D212",
|
|
67
|
+
"PLR09",
|
|
68
|
+
"S101",
|
|
69
|
+
"TC003",
|
|
70
|
+
]
|
|
71
|
+
select = ["ALL"]
|
|
72
|
+
|
|
73
|
+
[tool.uv.build-backend]
|
|
74
|
+
source-include = [
|
|
75
|
+
"CHANGELOG.rst",
|
|
76
|
+
"tests/**",
|
|
77
|
+
]
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["uv_build ~= 0.12.3"]
|
|
3
|
+
build-backend = "uv_build"
|
|
4
|
+
|
|
5
|
+
[dependency-groups]
|
|
6
|
+
ci = [
|
|
7
|
+
"mypy-gitlab-code-quality",
|
|
8
|
+
"pylint-gitlab",
|
|
9
|
+
]
|
|
10
|
+
dev = [
|
|
11
|
+
"mypy ~= 2.3.1",
|
|
12
|
+
"pylint ~= 4.0.8",
|
|
13
|
+
"pytest ~= 9.1.1",
|
|
14
|
+
"ruff ~= 0.16.7",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
[project]
|
|
18
|
+
name = "sioscgi"
|
|
19
|
+
version = "5.0.1"
|
|
20
|
+
description = "A sans-I/O implementation of the SCGI specification."
|
|
21
|
+
readme = "README.rst"
|
|
22
|
+
requires-python = ">=3.12"
|
|
23
|
+
license = "GPL-3.0-only"
|
|
24
|
+
authors = [
|
|
25
|
+
{ name = "Christopher Head" },
|
|
26
|
+
]
|
|
27
|
+
classifiers = [
|
|
28
|
+
"Development Status :: 5 - Production/Stable",
|
|
29
|
+
"Intended Audience :: Developers",
|
|
30
|
+
"Operating System :: OS Independent",
|
|
31
|
+
"Programming Language :: Python :: 3",
|
|
32
|
+
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
|
|
33
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
34
|
+
]
|
|
35
|
+
urls = { Repository = "https://gitlab.com/Hawk777/sioscgi.git" }
|
|
36
|
+
|
|
37
|
+
[tool.pylint.messages_control]
|
|
38
|
+
enable = [
|
|
39
|
+
"deprecated-pragma",
|
|
40
|
+
"useless-suppression",
|
|
41
|
+
"use-symbolic-message-instead",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
disable = [
|
|
45
|
+
"duplicate-code",
|
|
46
|
+
"too-few-public-methods",
|
|
47
|
+
"too-many-instance-attributes",
|
|
48
|
+
]
|
|
49
|
+
|
|
50
|
+
[tool.pytest]
|
|
51
|
+
addopts = ["--import-mode=importlib"]
|
|
52
|
+
strict = true
|
|
53
|
+
testpaths = ["tests"]
|
|
54
|
+
|
|
55
|
+
[tool.ruff]
|
|
56
|
+
src = ["src"]
|
|
57
|
+
target-version = "py312"
|
|
58
|
+
|
|
59
|
+
[tool.ruff.lint]
|
|
60
|
+
allowed-confusables = ["’"]
|
|
61
|
+
ignore = [
|
|
62
|
+
"COM812", # missing-trailing-comma
|
|
63
|
+
"CPY001", # missing-copyright-notice
|
|
64
|
+
"D203", # one-blank-line-before-class
|
|
65
|
+
"D212", # multi-line-summary-first-line
|
|
66
|
+
"PLR09", # too-many-<foo>
|
|
67
|
+
"S101", # assert
|
|
68
|
+
"TC003", # typing-only-standard-library-import
|
|
69
|
+
]
|
|
70
|
+
select = ["ALL"]
|
|
71
|
+
|
|
72
|
+
[tool.uv.build-backend]
|
|
73
|
+
source-include = ["CHANGELOG.rst", "tests/**"]
|