Skip to main content

passagemath: Interface to the SAT solver glucose

Project description

passagemath is open source mathematical software in Python, released under the GNU General Public Licence GPLv2+.

It is a fork of SageMath, which has been developed 2005-2026 under the motto “Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB”.

The passagemath fork uses the motto “Creating a Free Passage Between the Scientific Python Ecosystem and Mathematical Software Communities.” It was created in October 2024 with the following goals:

Moreover, the passagemath project:

  • provides a stable, frequently updated version of the Sage distribution,

  • integrates additional mathematical software, notably Macaulay2, a full set of GAP packages, and the Combinatorial Matrix Recognition library,

  • curates a library of Sage user packages.

Full documentation is available online.

passagemath attempts to support and provides binary wheels suitable for all major Linux distributions and recent versions of macOS.

Binary wheels for native Windows (x86_64, ARM) are are available for a subset of the passagemath distributions. Use of the full functionality of passagemath on Windows currently requires the use of Windows Subsystem for Linux (WSL) or virtualization.

The supported Python versions in the passagemath-10.8.x series are 3.11.x-3.14.x; the passagemath-10.6.x series (EOL 2026-10) still supports Python 3.10.x.

About this pip-installable distribution package

This pip-installable distribution passagemath-glucose provides an interface to the SAT solver glucose.

What is included

  • Binary wheels on PyPI contain prebuilt copies of glucose executables.

Examples

Using glucose programs on the command line:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose" sage -sh -c glucose

Finding the installation location of a glucose program:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose[test]" ipython

In [1]: from sage.features.sat import Glucose

In [2]: Glucose().absolute_filename()
Out[2]: '.../bin/glucose'

Use with sage.sat:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose[test]" ipython

In [1]: from passagemath_glucose import *

In [2]: from sage.sat.solvers.dimacs import Glucose

In [3]: solver = Glucose(); solver.add_clause((1,2)); solver.add_clause((-1,2)); solver.add_clause((1,-2))

In [4]: solver()
Out[4]: (None, True, True)

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

passagemath_glucose-10.8.2rc1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distributions

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

passagemath_glucose-10.8.2rc1-cp314-cp314t-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

passagemath_glucose-10.8.2rc1-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2rc1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.8.2rc1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.8.2rc1-cp314-cp314t-macosx_13_0_x86_64.whl (235.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.8.2rc1-cp314-cp314t-macosx_13_0_arm64.whl (220.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.2rc1-cp312-abi3-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ x86-64

passagemath_glucose-10.8.2rc1-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.8.2rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.8.2rc1-cp312-abi3-macosx_13_0_x86_64.whl (235.7 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.8.2rc1-cp312-abi3-macosx_13_0_arm64.whl (220.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.8.2rc1-cp311-cp311-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_glucose-10.8.2rc1-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.8.2rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.8.2rc1-cp311-cp311-macosx_13_0_x86_64.whl (235.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.2rc1-cp311-cp311-macosx_13_0_arm64.whl (219.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.8.2rc1.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.2rc1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for passagemath_glucose-10.8.2rc1.tar.gz
Algorithm Hash digest
SHA256 be3690b5dd0ec887f9b68ab2a40eccd99adbacd2439f56538769e01d3eb5fd22
MD5 95c6286f558da22a8392807085bc4cfa
BLAKE2b-256 47de001da78c15e99280fef3e01564b10b399d20f7e80e832bfeabe26f96ab1a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bbc4f24104fcb9517b2bff6ee5f8178fdcbc5a9bac04668be81939d03cab8d8e
MD5 020f32aa801d13436678fa9a2433d5e2
BLAKE2b-256 c132b931fc1b2449a2f86cb9cfc5152b470da065414eb966435460f15849d553

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 501c60f95d14ee14b8921f0501de26067e94229f3b553ed6c565d9ecebe1eda5
MD5 a61fe5b6e7ce0e4c815161073914d6c3
BLAKE2b-256 f5f7a0c4b5630e17db27da8d916fa08e17615b81416e2c1625e1bb9da5cf677e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7e0bafbde8f4e5d0f59eeb419a02b05c3ab8cb738997a4417faef6b8d73411e9
MD5 ea45eebb5ca09f1a642c29a77a88ffd1
BLAKE2b-256 c303ebc59deaa2bd3edb308cac1f0816180a8e632255458d843a801b3ae504ba

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 449e1b0218598c24c2768bf9757ed6383fd6df2e07be68e0c68efd345dccbdec
MD5 e150a26e3ed14e88424ebf2f1d4f7c28
BLAKE2b-256 3235a1155d693fc5052a2a187c859b02ee98edbca7859768e97f11f051391d3e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 48532826ed66ba965f635f788c46bdb3fe46353c92c2453ced7e5c22e8a10c05
MD5 76765f4561b4fe89c18f858f47d122e7
BLAKE2b-256 fb179ac3b9e814c545e7f658cf391619c2165b2ea81206638c358adbefc2090d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 84a2dcdb1c92e8dc88a1ddd61642ed61f6906bd4165963ce2834839806474e72
MD5 0c3c620bfb04c232be51b5c0929b3d92
BLAKE2b-256 8746decd2a65b11f30eecab73df46c94b36eb49f9c1acd0e2f38fd7d40918ac0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0ae8cef4f13b6552ea7a8b53936052d4dfa8715f32def2fc3ae00aee55c4e582
MD5 89690fca4caa8e3cf96f903a5279141a
BLAKE2b-256 931ca8aa7956ce4e4091ad81ae5b4dedd1d47e10936e4ddb65832ac9684c1b7a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 95696adec7b9b3fe34e4315965ecb67f86a0f18f0908adfd562cc490a1a2d87e
MD5 93982638e4185ba1c6daeec67ddbccfd
BLAKE2b-256 ef5ba12547b8c0854eea5284397ee5478c2b326ada3d0444abc7a8abc0a546be

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e804f3da5007f556c9aefc1a5f1e2717871b60da4befd9b129bd97ded78ea82f
MD5 66e07b08266bc3452179093f50a9c94c
BLAKE2b-256 ceb114d9271ac315ba9e87c3d2e936b9969a4031e8e95d0dbaeb4a9bbbc12b06

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fbc25dcf36b07fa666f186cd7ccd8ae5c259bb6c36469e214199f06ff1944de4
MD5 e3d0c01888342f674b20cc9fd652f75c
BLAKE2b-256 c86a6675011701980e61e22211b55a9d9d78f3e8e0f4215939b325ac6013ebaf

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c499b837e629d3a1a686e93378588e1bb72a68221586b506f2d3e1e75380cb45
MD5 06e0e18ef18b656ba6f166c4b5d8effe
BLAKE2b-256 39b44fb67a9fef50602e567f20dc8185bf039d7471ebb4469df19be8c2125dd7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a7c1836c07e69c2c06f89e2e40b2557748f0e7c7b47ee4aacc91d42975c21d02
MD5 75e2aa7a07ddf3e3935e73491b77c014
BLAKE2b-256 108a3b87c1c184f40094d6f581ff63d0e114201432e2e27fc4e970b3940f7659

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f47fc3d0c70ea448c4cc05b8630e4280492b86325c6ade9237efc78c0ea88ca4
MD5 6f80877bce26ce467e868365ddd042dc
BLAKE2b-256 3f559103f524b58e523534dd5b55e88e5532f7a976f786ee753d58a2010b34f1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 718a9047acf57923c17811930ed9967a80a56f8a8c32caf2d84fd7be314a38c5
MD5 30493fed061f4ca93df83808abc6c8f9
BLAKE2b-256 f1742f48bffd7447fc866e0512083bf97f8ef7f24b474cfa724198888848c8c4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fcb0ddc1f5261995c0015d92acce311620bd19d864777b38d4a8152d36f61c26
MD5 4e44fc2815fa0e34ab70f58ec94c72b7
BLAKE2b-256 8a0788202bb16d331de4cf6d8a535d766f3a4eb95c8ba562878157e1288e2205

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5f52c425fdb88be68a38c8c87d8a3e1e1c5cb9c78ae2ba2f081268d5377cc862
MD5 8e490bb2f69f465a777a0d72ef02875c
BLAKE2b-256 96dfbbd76ccb2da9e1c9099b43de53a9b746d87d62a5519d517eee767acd2b57

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6492ec8b6fc99928bca9ecbf57c38ec922b5294d0786bbfe3081e550da119a1e
MD5 a4a29686fe86f5686acef5c95a7565c7
BLAKE2b-256 648c830cf911ed223807e83cc0b3f7ff0361d7306280406694ccbceeb45adc42

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3713de56209a4f250b061ec17076149f65b8986d4efbc045e136f0665d4d777d
MD5 dbb706acfc948d3a3d53d284bb3d61f9
BLAKE2b-256 3bc0bd3a0f812546d9eadae0356f54e1a3ad24b393bf32f46a1417f35216b249

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page