python-constraint2 2.2.0__tar.gz → 2.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.
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/PKG-INFO +6 -1
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/pyproject.toml +6 -1
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/tests/test_util_benchmark.py +2 -2
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/LICENSE +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/README.rst +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/constraint/__init__.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/constraint/constraints.c +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/constraint/constraints.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/constraint/domain.c +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/constraint/domain.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/constraint/parser.c +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/constraint/parser.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/constraint/problem.c +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/constraint/problem.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/constraint/solvers.c +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/constraint/solvers.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/cythonize_build.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/tests/__init__.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/tests/benchmarks.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/tests/setup_teardown.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/tests/test_compilation.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/tests/test_constraint.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/tests/test_doctests.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/tests/test_parser.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/tests/test_problem.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/tests/test_solvers.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/tests/test_some_not_in_set.py +0 -0
- {python_constraint2-2.2.0 → python_constraint2-2.2.1}/tests/test_toml_file.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: python-constraint2
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: python-constraint is a module for efficiently solving CSPs (Constraint Solving Problems) over finite domains.
|
|
5
5
|
License: BSD-2-Clause
|
|
6
6
|
Keywords: CSP,constraint solving problems,problem solver,SMT,satisfiability modulo theory,SAT
|
|
@@ -19,6 +19,11 @@ Classifier: Programming Language :: C
|
|
|
19
19
|
Classifier: Programming Language :: Cython
|
|
20
20
|
Classifier: Topic :: Scientific/Engineering
|
|
21
21
|
Classifier: Topic :: Software Development
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
27
|
Description-Content-Type: text/x-rst
|
|
23
28
|
|
|
24
29
|
|License| |Build Status| |Docs| |Python Versions| |Downloads| |Status| |Code Coverage|
|
|
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-constraint2" # when set back to "python-constraint", don't forget to remove '2' in other places (e.g. README)
|
|
7
7
|
description = "python-constraint is a module for efficiently solving CSPs (Constraint Solving Problems) over finite domains."
|
|
8
|
-
version = "2.2.
|
|
8
|
+
version = "2.2.1" # adhere to PEP440 versioning: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#id55
|
|
9
9
|
authors = [
|
|
10
10
|
{name = "Gustavo Niemeyer", email = "gustavo@niemeyer.net"},
|
|
11
11
|
{name = "Sébastien Celles", email = "s.celles@gmail.com"},
|
|
@@ -35,6 +35,11 @@ classifiers = [
|
|
|
35
35
|
"Programming Language :: Cython",
|
|
36
36
|
"Topic :: Scientific/Engineering",
|
|
37
37
|
"Topic :: Software Development",
|
|
38
|
+
"Programming Language :: Python :: 3.9",
|
|
39
|
+
"Programming Language :: Python :: 3.10",
|
|
40
|
+
"Programming Language :: Python :: 3.11",
|
|
41
|
+
"Programming Language :: Python :: 3.12",
|
|
42
|
+
"Programming Language :: Python :: 3.13",
|
|
38
43
|
]
|
|
39
44
|
|
|
40
45
|
# ATTENTION: if anything is changed here, run `poetry update`
|
|
@@ -109,8 +109,8 @@ def get_performance_factor(repeats=3):
|
|
|
109
109
|
benchmark_std = [stddev(column, mean) for column, mean in zip(transposed_data, benchmark_mean)]
|
|
110
110
|
relative_std = [(s / abs(m)) if m != 0 else 0 for s, m in zip(benchmark_std, benchmark_mean)]
|
|
111
111
|
|
|
112
|
-
# calculate mean relative standard deviation and apply threshold (`max(np.mean(np_relative_std), 0.
|
|
113
|
-
mean_relative_std = max(sum(relative_std) / len(relative_std), 0.
|
|
112
|
+
# calculate mean relative standard deviation and apply threshold (`max(np.mean(np_relative_std), 0.25)`)
|
|
113
|
+
mean_relative_std = max(sum(relative_std) / len(relative_std), 0.25)
|
|
114
114
|
|
|
115
115
|
# calculate performance factor (`np.mean(np_benchmark_mean / reference_microbenchmark_mean)`)
|
|
116
116
|
performance_factor = sum(bm / rm for bm, rm in zip(benchmark_mean, reference_microbenchmark_mean)) / len(benchmark_mean)
|
|
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
|