Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Conda - Downloads PyPI - Downloads PyPI - Python Versions PyPI - License Build Status PyPI - Status Documentation Status Code Coverage

https://github.com/python-constraint/python-constraint/raw/main/docs/assets/logo/N-Queens_problem_Python.svg

python-constraint

⚠️ IMPORTANT: this software must be installed with pip install python-constraint2, as the original pip release will not be updated.
A Conda Forge / Mamba version is also available: conda install python-constraint2.

For an overview of recent changes, visit the Changelog.
The complete documentation can be found here.

New: writing constraints in the new string format is preferable over functions and lambdas.
These strings, even as compound statements, are automatically parsed to faster built-in constraints, are more concise, and do not require constraint solving familiarity by the user to be efficient.
For example, problem.addConstraint(["50 <= x * y < 100"]) is parsed to [MinProdConstraint(50, ["x", "y"]), MaxProdConstraint(100, ["x", "y"])].
Similarly, problem.addConstraint(["x / y == z"]) is parsed to [ExactProdConstraint("x", ["z", "y"])].
This feature is in beta and subject to possible change, please provide feedback.

Introduction

The python-constraint module offers efficient solvers for Constraint Satisfaction Problems (CSPs) over finite domains in an accessible Python package. CSP is class of problems which may be represented in terms of variables (a, b, …), domains (a in [1, 2, 3], …), and constraints (a < b, …).

Examples

Basics

This interactive Python session demonstrates basic operations:

>>> from constraint import *
>>> problem = Problem()
>>> problem.addVariable("a", [1,2,3])
>>> problem.addVariable("b", [4,5,6])
>>> problem.getSolutions()  # doctest: +NORMALIZE_WHITESPACE
[{'a': 3, 'b': 6}, {'a': 3, 'b': 5}, {'a': 3, 'b': 4},
 {'a': 2, 'b': 6}, {'a': 2, 'b': 5}, {'a': 2, 'b': 4},
 {'a': 1, 'b': 6}, {'a': 1, 'b': 5}, {'a': 1, 'b': 4}]

>>> problem.addConstraint("a*2 == b") # string constraints are preferable over the black-box problem.addConstraint(lambda a, b: a*2 == b, ("a", "b"))
>>> problem.getSolutions()
[{'a': 3, 'b': 6}, {'a': 2, 'b': 4}]

>>> problem = Problem()
>>> problem.addVariables(["a", "b"], [1, 2, 3])
>>> problem.addConstraint(AllDifferentConstraint())
>>> problem.getSolutions()  # doctest: +NORMALIZE_WHITESPACE
[{'a': 3, 'b': 2}, {'a': 3, 'b': 1}, {'a': 2, 'b': 3},
 {'a': 2, 'b': 1}, {'a': 1, 'b': 2}, {'a': 1, 'b': 3}]

Rooks problem

The following example solves the classical Eight Rooks problem:

>>> problem = Problem()
>>> numpieces = 8
>>> cols = range(numpieces)
>>> rows = range(numpieces)
>>> problem.addVariables(cols, rows)
>>> for col1 in cols:
...     for col2 in cols:
...         if col1 < col2:
...             problem.addConstraint(lambda row1, row2: row1 != row2, (col1, col2))
>>> solutions = problem.getSolutions()
>>> solutions   # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
[{0: 7, 1: 6, 2: 5, 3: 4, 4: 3, 5: 2, 6: 1, 7: 0},
 {0: 7, 1: 6, 2: 5, 3: 4, 4: 3, 5: 2, 6: 0, 7: 1},
 {0: 7, 1: 6, 2: 5, 3: 4, 4: 3, 5: 1, 6: 2, 7: 0},
 {0: 7, 1: 6, 2: 5, 3: 4, 4: 3, 5: 1, 6: 0, 7: 2},
 ...
 {0: 7, 1: 5, 2: 3, 3: 6, 4: 2, 5: 1, 6: 4, 7: 0},
 {0: 7, 1: 5, 2: 3, 3: 6, 4: 1, 5: 2, 6: 0, 7: 4},
 {0: 7, 1: 5, 2: 3, 3: 6, 4: 1, 5: 2, 6: 4, 7: 0},
 {0: 7, 1: 5, 2: 3, 3: 6, 4: 1, 5: 4, 6: 2, 7: 0},
 {0: 7, 1: 5, 2: 3, 3: 6, 4: 1, 5: 4, 6: 0, 7: 2},
 ...]

Magic squares

This example solves a 4x4 magic square:

>>> problem = Problem()
>>> problem.addVariables(range(0, 16), range(1, 16 + 1))
>>> problem.addConstraint(AllDifferentConstraint(), range(0, 16))
>>> problem.addConstraint(ExactSumConstraint(34), [0, 5, 10, 15])
>>> problem.addConstraint(ExactSumConstraint(34), [3, 6, 9, 12])
>>> for row in range(4):
...     problem.addConstraint(ExactSumConstraint(34), [row * 4 + i for i in range(4)])
>>> for col in range(4):
...     problem.addConstraint(ExactSumConstraint(34), [col + 4 * i for i in range(4)])
>>> solutions = problem.getSolutions()  # doctest: +SKIP

Features

The following solvers are available:

  • OptimizedBacktrackingSolver (default)

  • BacktrackingSolver

  • RecursiveBacktrackingSolver

  • MinConflictsSolver

  • ParallelSolver

Predefined constraint types currently available (use the parsing for automatic conversion to these types):

  • FunctionConstraint

  • AllDifferentConstraint

  • AllEqualConstraint

  • ExactSumConstraint

  • MinSumConstraint

  • MaxSumConstraint

  • MinProdConstraint

  • ExactProdConstraint

  • MaxProdConstraint

  • VariableExactSumConstraint

  • VariableMinSumConstraint

  • VariableMaxSumConstraint

  • VariableMinProdConstraint

  • VariableExactProdConstraint

  • VariableMaxProdConstraint

  • InSetConstraint

  • NotInSetConstraint

  • SomeInSetConstraint

  • SomeNotInSetConstraint

API documentation

Documentation for the module is available at: http://python-constraint.github.io/python-constraint/. It can be built locally by running make clean html from the docs folder. For viewing RST files locally, restview is recommended.

Download and install

$ pip install python-constraint2

Conda / Mamba:

$ conda config --add channels conda-forge
$ conda config --set channel_priority strict
$ conda install python-constraint2
$ mamba install python-constraint2

Testing

Run nox (tests for all supported Python versions in own virtual environment).

To test against your local Python version: make sure you have the development dependencies installed. Run pytest (optionally add --no-cov if you have the C-extensions enabled).

Contributing

Feel free to contribute by submitting pull requests or opening issues. Please refer to the contribution guidelines before doing so.

Roadmap

This GitHub organization and repository is a global effort to help to maintain python-constraint, which was written by Gustavo Niemeyer and originaly located at https://labix.org/python-constraint. For an overview of recent changes, visit the Changelog.

Planned development:

  • Support constant modifiers on parsed (variable) constraints instead defaulting to FunctionConstraint, e.g. problem.addConstraint("a+2 == b") or problem.addConstraint("x / y == 100")

  • Parse using Abstract Syntax Trees (AST) instead of the current parser to be more robust and support decomposing lambdas

  • Rewrite hotspots in C / Pyx instead of pure python mode

  • Improvements to make the ParallelSolver competitive (experiments reveal the freethreading mode to be promising)

  • Versioned documentation

Contact

But it’s probably better to open an issue.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_constraint2-2.7.2b2.tar.gz (851.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

python_constraint2-2.7.2b2-cp314-cp314-win_arm64.whl (857.5 kB view details)

Uploaded CPython 3.14Windows ARM64

python_constraint2-2.7.2b2-cp314-cp314-win_amd64.whl (857.5 kB view details)

Uploaded CPython 3.14Windows x86-64

python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_39_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.39+ x86-64

python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_39_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.39+ ARM64

python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_35_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.35+ x86-64

python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_35_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.35+ ARM64

python_constraint2-2.7.2b2-cp314-cp314-macosx_26_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.14macOS 26.0+ ARM64

python_constraint2-2.7.2b2-cp314-cp314-macosx_13_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.14macOS 13.0+ ARM64

python_constraint2-2.7.2b2-cp313-cp313-win_arm64.whl (848.1 kB view details)

Uploaded CPython 3.13Windows ARM64

python_constraint2-2.7.2b2-cp313-cp313-win_amd64.whl (848.1 kB view details)

Uploaded CPython 3.13Windows x86-64

python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_39_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ x86-64

python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_39_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ ARM64

python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_35_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.35+ x86-64

python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_35_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.35+ ARM64

python_constraint2-2.7.2b2-cp313-cp313-macosx_26_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 26.0+ ARM64

python_constraint2-2.7.2b2-cp313-cp313-macosx_13_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

python_constraint2-2.7.2b2-cp312-cp312-win_arm64.whl (848.1 kB view details)

Uploaded CPython 3.12Windows ARM64

python_constraint2-2.7.2b2-cp312-cp312-win_amd64.whl (848.1 kB view details)

Uploaded CPython 3.12Windows x86-64

python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_39_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_39_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ ARM64

python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_35_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.35+ x86-64

python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_35_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.35+ ARM64

python_constraint2-2.7.2b2-cp312-cp312-macosx_26_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 26.0+ ARM64

python_constraint2-2.7.2b2-cp312-cp312-macosx_13_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

python_constraint2-2.7.2b2-cp311-cp311-win_arm64.whl (848.1 kB view details)

Uploaded CPython 3.11Windows ARM64

python_constraint2-2.7.2b2-cp311-cp311-win_amd64.whl (848.1 kB view details)

Uploaded CPython 3.11Windows x86-64

python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_39_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.39+ x86-64

python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_39_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.39+ ARM64

python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_35_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.35+ x86-64

python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_35_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.35+ ARM64

python_constraint2-2.7.2b2-cp311-cp311-macosx_26_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 26.0+ ARM64

python_constraint2-2.7.2b2-cp311-cp311-macosx_13_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file python_constraint2-2.7.2b2.tar.gz.

File metadata

  • Download URL: python_constraint2-2.7.2b2.tar.gz
  • Upload date:
  • Size: 851.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for python_constraint2-2.7.2b2.tar.gz
Algorithm Hash digest
SHA256 f62d21a72c6385428ebafdac9201eb00f79982e77ba248cdcf008f335f09ce34
MD5 89d6f90449bcb5da5636da0df6ec1c66
BLAKE2b-256 29f4ca207afa84db905d12fadd8ad0592f4a5ccdf75f09297c4d3c5e16a4e8a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2.tar.gz:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp314-cp314-win_arm64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 f710b579db45ecc0bd485478fed875b2cf33db6d2e317469f836d998bff11e93
MD5 7995564292a033e43714a76f371e3f61
BLAKE2b-256 1cfafdd951ffca1e13d0f00885b5a7354edacff9d233fd5d18fad549d15923fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp314-cp314-win_arm64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 208dec044a927c6d962b9902041d480ae47a1f95c625e5a36cf826d21950ebed
MD5 f9a925d7ade06b52d338a08138b961b8
BLAKE2b-256 aa67bde064ed1f95f12f61e2380f47a9a6cd6604488ed4b491a9f9eae4dde28d

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp314-cp314-win_amd64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 a5f00140eeaf6f49506ac373f75ee01a5ad89a30f7fdeab41e6bfe6374957899
MD5 27ba34e7ea3bbcf737054a2640efcf7c
BLAKE2b-256 467bc4ba1263b38ad20b10dd063294e45257b6dedded9f7dbe3e28edca405792

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_39_x86_64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 031e547ec0b68c6a4ba1ff3cef40ffcb46f479463b3f5be3882ee19b36c49b55
MD5 781a80fdd139ad53badb75645b30b456
BLAKE2b-256 14fce9ef8b7e6d1066809867170bd0783ad48c06c47b3e9124a9db5b29ac4c56

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_39_aarch64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 57240563ca68a4dfd231ffc7443b34c3f1c21d46896a0f9fc6cdb60a645b816a
MD5 f400b22157bfe34e08a75a791628d11f
BLAKE2b-256 5a386cbafba32ed3735e1f758fffdd005ba9c624f557d2c4748ae4e091db3858

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_35_x86_64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_35_aarch64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_35_aarch64.whl
Algorithm Hash digest
SHA256 bf4948736df7ceecc7b149de59e5d64bba9c756de5ceeb99b484205df7e32e04
MD5 2a3c25e235c6cc32fca2397c3fe6f551
BLAKE2b-256 9fdc8c4656f9f768e6577b8df6f639511874e2e8949eb9e8ba2d99fbe0f65be9

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp314-cp314-manylinux_2_35_aarch64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp314-cp314-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp314-cp314-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 20e30df0101c667afe0ae24d58ec0dd313fa3c902d07cc55f20217ac6a0118c8
MD5 43dde38ac9d602a752a70525eb720f79
BLAKE2b-256 17db258448f38eb35005552f9eb22fd9ae859fbe4feb56de77f4551e6e785b92

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp314-cp314-macosx_26_0_arm64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp314-cp314-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp314-cp314-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 170a9248d39465d932a7704f877863a2e8845c0e08f786463bc48e988d37e427
MD5 78323f06a4877f7f543de1160abe8d65
BLAKE2b-256 49cb8241d91884a38bbc20face0498b34e8b08ce955c053bf851f5d032f4687f

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp314-cp314-macosx_13_0_arm64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp313-cp313-win_arm64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 4ea290b517a312daedb8655f8456e3fc6ac245ce7ec7ea309bbade0b0a386b41
MD5 4daf4491fdff9b0dd96c7cb18039dec0
BLAKE2b-256 58da8a846ae46235f5b85644e4f1d8deadf545578dc0e057cc9c60e13ba28d8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp313-cp313-win_arm64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 844c043ebbd296b3a211293a9c471f6b37e7c6b528aa42566644b93f799e8be9
MD5 8d7a14c13bdc3226d082b456ef1dc4c1
BLAKE2b-256 5014f3ab0aad1bd79fc061f79675a1e2ba2347f14d5791180e9a3436db132cc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp313-cp313-win_amd64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 0b96bf6aaca568770bec55691bed14b118aec6a0d246b1c0630bb10dada4cecd
MD5 3fca87e31fc0b01e7bb7f1b989062523
BLAKE2b-256 7c417fc771dc493d4862a50c230f4e8e3169678edc5486a4235215d0e475d59e

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_39_x86_64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 08a6ce99538bc0f7ddecc008cb67e39bac7311fd28af395b92c102ddb9c6ab3c
MD5 abf89e2bb9f15467490544c36caaa600
BLAKE2b-256 3f7e48be68c130ea0be4585e816d725430dad4afbb1a376694b6a9a06682845a

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_39_aarch64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 8fa3da13db2d830461011f933a5019baa5c5caca28cf460e5317da1d4f7607f7
MD5 4cb3e9f924831656d043f20b2fffcf25
BLAKE2b-256 2ca8b57609d1a38e879bd3e0fdf18b30cdc2125fead627371071f01854eda19a

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_35_x86_64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_35_aarch64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_35_aarch64.whl
Algorithm Hash digest
SHA256 ccde617c4ed326af4f264dcbddc67dc8fe48ef90755f7741cc9783c6eabdf4ea
MD5 2234022d92c447820eb9d7540db89048
BLAKE2b-256 c3acbee1ba0cc9dd97e5845834d06b7c15f2bdea0dc64597d26bc897a07650a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp313-cp313-manylinux_2_35_aarch64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp313-cp313-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp313-cp313-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 f11acbec8cb642bc4edc13d8c2ddfc7fc8e4c76fbfe5987ff76dda5888842975
MD5 245a5663da916f1f1af4201d4257339a
BLAKE2b-256 e894443710223c074872c361a695ba9ed9920d927c4db90417657d8c48dd2564

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp313-cp313-macosx_26_0_arm64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4dab258e39577d1b9468ef6452cf58d513023e14bb51b6c2696101fdf436f6f9
MD5 f4afcd7563c34a64834a03640af3c2f0
BLAKE2b-256 d90e034b3c537e5f2b4c3f3730acc9fe61c947816d77226d3822577a1caa4e0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp313-cp313-macosx_13_0_arm64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp312-cp312-win_arm64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 274d64803a7ffd96dffac3f058d48ae8a6f4a85008c241335230b5c88c2d396e
MD5 94a5acfcc57721406415d999f2ebdba1
BLAKE2b-256 4b4babebeb2c24529b1e1a7e754f758b29ffad193cb0dd6d094b60c777e6db0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp312-cp312-win_arm64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8955528ec4e3715e448aeddabf0a152451f17a13347bfc60585e6aa0d219b716
MD5 eddd6b3944af2c6932878677f041f90c
BLAKE2b-256 6ab9da29fe3077a9de5f495d07d240568865eb409a1130df3c8555a29d3156d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp312-cp312-win_amd64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 4a500049f4f04258636ad1d40f3c32171adb7f963587d02624441748c7860c17
MD5 3ba77ec40af18d3a531422a85209f83e
BLAKE2b-256 07aee899d3e57c6b5fdf6ae3a857667034e7b3797b1b842d2ff7b3eeb2e0251b

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_39_x86_64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 9db4fc2bb4bc79f96261e126e3c41f031f742112f69f8df22de39b06c0ceb8cd
MD5 9e9758b98985fe89b28d0e1713581152
BLAKE2b-256 cfe2d0e4cf4ea94da73cced2dff28c6a9315056de2e07a578f23e69a0e70ad4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_39_aarch64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 5ba68143f2e4ffe68ce8203cb8aed50bcf7c9b3840bb8f391ae7fff754de7e1a
MD5 93029c6a41188ec403c008a62b5d72bb
BLAKE2b-256 60b163e3dd3cfb5807b6d1e59a87f9fb166d5ed670c40261f65664d1f76a06f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_35_x86_64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_35_aarch64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_35_aarch64.whl
Algorithm Hash digest
SHA256 68c8ed8ad465fb8ab4e40a40e5f400edb89669a94b7b10aaf26289db7a020666
MD5 1c6fde2462bb89c3488cc52510de1f1a
BLAKE2b-256 1ebef1ac29120e42cfdae89aabde0505ea744a5893c46c736f691c678ee88425

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp312-cp312-manylinux_2_35_aarch64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp312-cp312-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp312-cp312-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 790e01be6814eac1a483d90b06d61413dba7dfff5d4fa8cf0ad0902fc521a912
MD5 e232496efc5417a2e9e5d8c6163ab47c
BLAKE2b-256 a91093404d086973a7cfd4ecfd04b4e086f6f05cebb71a834872fa3f9e348eb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp312-cp312-macosx_26_0_arm64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 82d4d1b766aa8543899efe60ce29d0de35eddaaeb5e32c81f19110ad4d4fdf13
MD5 3e927d488a6fb48ac516eb06bd124562
BLAKE2b-256 fc7a6a3ea734e202b54adc34faa9932faa34f72282a7a31c966d1bf790560f98

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp312-cp312-macosx_13_0_arm64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp311-cp311-win_arm64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 522dacf5571a861518783f49cb1243c14c2c82253deebdfabbb32c2328f7ca90
MD5 ea4aee37afaf37bc588dea2dce50d789
BLAKE2b-256 9987e90a2389bb007fdba3eed77ac289d2ced4f1ea899ebd29e2d6bcc9cc630e

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp311-cp311-win_arm64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 efa89114a2a21e20835d2dffc6a4401f0807764eedfa780f4a3c93d411092b19
MD5 7624f93dcf0ca3a629caaa1cbf43a4ce
BLAKE2b-256 e353f8da58ce1a22d38c5c07bd8403cc0fbe7291dc74cc9f5a648fdf4b6cd406

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp311-cp311-win_amd64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 c7830b87baacf8d26696b8d904d2371ccd53a5e649e34c5a7baa68eadb1777a3
MD5 540605827c932000075a12a46e7f4e01
BLAKE2b-256 16e3b17107d982936cd2c1bcd15080879657fa50a4e21506d04c87b7c2cd4fb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_39_x86_64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 c693e1eb294580050b0f0606488f1429870074ddeaf9793c0a547ca3b01bd549
MD5 4e015a985e2552c72f891449c1fc809c
BLAKE2b-256 8426df8f88a6a8ca74061bbf3dff77b8088351008629d450bcf72361a0df4622

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_39_aarch64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 b4bc236e067c7286bad6574acb62aabca1720ecf96c9a093e33e72b1c1b9339c
MD5 06a35750c9efff513a43139ea4a23da4
BLAKE2b-256 f5c1a3ae71c144f979c12f974683a620d24476d8c39f82625a35b1e41988f611

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_35_x86_64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_35_aarch64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_35_aarch64.whl
Algorithm Hash digest
SHA256 e0293788f1b74dc812cc8f281b76245381891a8a3452ff5fd3d7a129a1a0861d
MD5 051042dc7052afb1a88ae01f363f6bf4
BLAKE2b-256 49232a6cd44d1b6b1d85112a8e2e14db9bfa6443b945a519af551fbf5a02d1ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp311-cp311-manylinux_2_35_aarch64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp311-cp311-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp311-cp311-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 3ae7c6169e3f57838f3709d2724f5b579ef27df4fd91ff094d5789a4158ca4d5
MD5 d96571b5ecd758411fab9d8a6b6b0426
BLAKE2b-256 aaec18d9550cd98020808f38fc00e31e0c39193630f3929252f7502cfe4a5fe7

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp311-cp311-macosx_26_0_arm64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_constraint2-2.7.2b2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for python_constraint2-2.7.2b2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9fe9da9a00246dfcbe1ab6eb8b34bb9d022b0bfae96d402ccd9edaf5cfbe5e97
MD5 ee4d290f71b51d1f6852da405cf76ff9
BLAKE2b-256 4a1ceedd00e07c80b62c82887e5759e33f1237cbde2f072d6a4aff1914b16347

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_constraint2-2.7.2b2-cp311-cp311-macosx_13_0_arm64.whl:

Publisher: publish-package.yml on python-constraint/python-constraint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2.7.3

41 files

2.7.2

33 files

This release

2.7.2b2 This release

33 files

2.7.1

29 files

2.7.0

29 files

2.6.0

17 files

2.5.0

25 files

2.4.0

21 files

2.3.2

21 files

2.3.1

21 files

2.3.0

21 files

2.2.3

21 files

2.2.2

16 files

2.2.1

16 files

2.2.0

16 files

2.1.0

16 files

2.0.3

16 files

2.0.2

16 files

2.0.1

16 files

2.0.0

16 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page