cosoco
cosoco is a compact constraint solver, written in C++, that reads XCSP3 instances.
This package ships nothing but the solver executable, built for the platform of the wheel. It contains no binding: cosoco is meant to be run as a separate process.
pip install cosoco
cosoco instance.xml -model=2
import subprocess
from cosoco_bin import PATH
subprocess.run([PATH, "instance.xml", "-model=2"])
cosoco expects the instance first, before any option.
Modeling in Python is the job of PyCSP3, which drives cosoco for you once it is installed:
pip install pycsp3[cosoco]
Metadata
Release files for cosoco 2.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| cosoco-2.6.1-py3-none-musllinux_1_1_x86_64.whl | Python 3 | none | Linux musl 1.1+ x86-64 | Details |
| cosoco-2.6.1-py3-none-musllinux_1_1_aarch64.whl | Python 3 | none | Linux musl 1.1+ ARM64 | Details |
| cosoco-2.6.1-py3-none-manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| cosoco-2.6.1-py3-none-manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| cosoco-2.6.1-py3-none-macosx_11_0_x86_64.whl | Python 3 | none | macOS 11.0+ x86-64 | Details |
| cosoco-2.6.1-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 9.9 MB
Release files / cosoco-2.6.1-py3-none-musllinux_1_1_x86_64.whl
| Download URL | cosoco-2.6.1-py3-none-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Linux musl 1.1+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
891b1cd82c4830014f1a1ce2824966d7cbea15474db4f72646077f2ad55e3b28
|
|
BLAKE2b-256 checksum How to use checksums |
206ab16cd0b324fef6ead11128dac702bd9a84de92744fa5eea86bc6d806737c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / cosoco-2.6.1-py3-none-musllinux_1_1_aarch64.whl
| Download URL | cosoco-2.6.1-py3-none-musllinux_1_1_aarch64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Linux musl 1.1+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
4fc400e9e61f6a5872faf1ed6eac7cbc277091f9d3b777d1d082b51bfbca023e
|
|
BLAKE2b-256 checksum How to use checksums |
6682507490fc1cf9ab2465f3e6e4262a61e2faed520b1ffe5ca326fbc11bac3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / cosoco-2.6.1-py3-none-manylinux_2_17_x86_64.whl
| Download URL | cosoco-2.6.1-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
be829cf12d71f1be83bec6e4fdb7d9fce03d3cee620b47206e2861b9954d6ec5
|
|
BLAKE2b-256 checksum How to use checksums |
f9f5f49f309a37e0034de075f4847b5d6e082a1638453658f6898e1459226dd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / cosoco-2.6.1-py3-none-manylinux_2_17_aarch64.whl
| Download URL | cosoco-2.6.1-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
84f3aa3600710b85354cf7dd803fa5aad6d1228856f741adbb227ed141682d2e
|
|
BLAKE2b-256 checksum How to use checksums |
0520a73c748aba125f0394857efb089fdceb4eab0dbb80f81bbf3257d7ea6343
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / cosoco-2.6.1-py3-none-macosx_11_0_x86_64.whl
| Download URL | cosoco-2.6.1-py3-none-macosx_11_0_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | Python 3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
fc84d44fb2ba22af009c897a2d24eb4d28aa0bf83a6c92ee0d4e541c2e4d1edd
|
|
BLAKE2b-256 checksum How to use checksums |
f448366b4cd069816dc1a16898b425b93572e480e8043d1b4d5de8abba079292
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / cosoco-2.6.1-py3-none-macosx_11_0_arm64.whl
| Download URL | cosoco-2.6.1-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 966.6 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e700220ccd63e3d71a1fa221526221745cf321d66f64e7c40b30ddfdb9fadb73
|
|
BLAKE2b-256 checksum How to use checksums |
6ee722a9855c0db16e8130f17defc0e96ef99462c21f898428c4121b7323cc18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency log