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-2025 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:

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) 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.6.x series are 3.10.x-3.13.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 sage.all__sagemath_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.6.29.tar.gz (4.4 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.6.29-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.6.29-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.29-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.6.29-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.29-cp312-abi3-macosx_14_0_arm64.whl (175.6 kB view details)

Uploaded CPython 3.12+macOS 14.0+ ARM64

passagemath_glucose-10.6.29-cp312-abi3-macosx_13_0_x86_64.whl (186.5 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.6.29-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.6.29-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.29-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.29-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.29-cp311-cp311-macosx_14_0_arm64.whl (175.1 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.29-cp311-cp311-macosx_13_0_x86_64.whl (185.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.29-cp310-cp310-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.29-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.29-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.29-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.29-cp310-cp310-macosx_14_0_arm64.whl (175.3 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.29-cp310-cp310-macosx_13_0_x86_64.whl (186.1 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file passagemath_glucose-10.6.29.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.29.tar.gz
  • Upload date:
  • Size: 4.4 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.6.29.tar.gz
Algorithm Hash digest
SHA256 f3ff68afe0283636f213ee1f9ba4db2c1e83822badec75ec9d43cc1c30cdcb93
MD5 95955a384f4c4bb4b399e5344fe24358
BLAKE2b-256 b8304842244748dcfd6ef0557017c38cf3781d249b6ad255943e00ba09e86a00

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9b3df4f8d60a02acb6dccb54efb96bbabcc2de5aea4698c0b2277eb6c9f9cba8
MD5 fe8cf5def0431c05e51a1b12d3d87696
BLAKE2b-256 4ec96383c4cf8146d5f75d16b0b02cd41f3588184af3106c395d3c6df2ba513b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a5953150c7fdd6d8b015fdc10b289705386033c04f64c92b62da04a51dda0321
MD5 4a8e426e094df73403afa759c6a09083
BLAKE2b-256 91e56f1f65606506a866818f8976d72c286ef9138d6c5bb0645b099df73abd93

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ed8eecca291213e94cc4159138c715d07e7d27672a0a740bdb4f4f7599bf2716
MD5 285a6c7ca06346887496d901dc12c339
BLAKE2b-256 8154fe2ec7b10bc98b40a6966c104302233a36f5d9cd3a99ba9fae8832646a9f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 41b1c6ece3abce1ea822401355d71e656863167ed925a0e5771335d9450b0af2
MD5 e4b1618ffd3d943ea8854656ec55f200
BLAKE2b-256 daf7069b9de8863fe1da100b886e0587e2c9c39468965ca8ab0da31ccc752c9a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp312-abi3-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp312-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 274a352ad103371bcfc059bf47ee5614f57ae8eee492385d3e1574f9cda39e61
MD5 11a2ccf91c201f06e55fbe0ace09c17c
BLAKE2b-256 81d84826a4447ca77ee8a355f0bde1ef780e69f97af1fc2addb5f34b2d88ec17

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 39fbc40efb5d7e90c0e82123148fe66739b7d47705ba8e839e313f1ff5aac45e
MD5 dee62633a6c78971bdd60fff672cbb1d
BLAKE2b-256 3e000af789f7087653fdbc8e7e9525b5076e828a97ba4b315bf33455ca081317

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e683b39798a1830bd17cca9b375bd9ab69f2a36981ed3d808556e26048678050
MD5 6dbcb096d45f793d32f0c73bbee5a895
BLAKE2b-256 a5a4400fb2bada30c9693a2a867d9aa231700453304e9f8b552b1076ddb20bf3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 78769704940a34bc21983d19c2514087f49ffa80f7e17574b4099167b90c08af
MD5 c0a243938b324216d4a73c6fe9851816
BLAKE2b-256 db2a3dc1977efe8153f951eb08f60509db1b3eb4c27d7e2c5d665cc4492d8259

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e7e56da7bc78efe233915301b77c7866685d2b9c5512cbf7207ee07bc6a5a6d8
MD5 8638bd267fd9011103311e2338a761e3
BLAKE2b-256 3c5a35426cb52de877340066d529fa95c65b01989a25ddc2abfb51830bac02a8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fa6a731c45b74c9e8cf68fa6c1f8cc9ec47c2fe8c6484937583cd6dfb40200ca
MD5 269185123eb0cff70d7b5f075c4e16b8
BLAKE2b-256 8d9daf575aa99570b5a2f95960449a11f0eb20680cf0d31c5d5670b83e8f32f3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ba483bcd15400c7185d4025e02911da1f3fefe68f732644f7a5d05e3c3f79eee
MD5 5df7a0df0d69db414319b70cbedaaebc
BLAKE2b-256 296d68c9647820a3e62bd3af0a16f4fdce70f02cc59f4c1c6b8dbb1b03f0776e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d53bade7514c643f33292dfbc2f5a801374fada8de0677a5fc7d1ef12c943f74
MD5 4de40df9cd63e07dfd6f0b23436b44c2
BLAKE2b-256 b342e6365099b8e92ef140f52249357a0f54d6d6eb4b0eb600cd5c13271dfb8f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bc3aa76a85d792bf51b8f5e598649c333fab2f7b352bc1138ac103d2c57a7e39
MD5 f02c6ea166eeebee7efd1a7f74f405c3
BLAKE2b-256 e38a0f77b927df3220d964f3a72b742a69fe48fd67e11e4355832cc6e6b8552a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 049361025d93fa93a500c127041cc29bb4094a608bae8d7a8e83300876abc300
MD5 fcd4fe011dab479180b95b39e1a7cba7
BLAKE2b-256 42d0501f45031565e03de7ea96a86091508431851c9aa2331537a02fc1bf751b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ac4f097e200048ef36bf86c4aa723c962529bc21e9419d070df7a626a4d6df77
MD5 f97f95aa20b5701088548973e8beae95
BLAKE2b-256 5d029d88e8a5b3f250b8639dff84d6813f7f91e2068797d5d7b2a9a081f89862

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ae4b3a89845411b8209318fdfd0a41cc75fe693a6def1b8d4ca530ba9dd6fc42
MD5 52ce1c5a93af99d4938bf832ad2ac8ff
BLAKE2b-256 9fd2713f0c9f519ebff9f38987b13b0c89e644ef280d06ff8dc1aa6f76882311

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fa368339cfed66b7b0d625f9c3dbab6635d65e718adf2f36407da04f2d7211cd
MD5 3a73d27e01ff2372cc2ab267742a83fe
BLAKE2b-256 05c39cd0d48951ed6f2637f039a02cda6b8a9e9da6ad1ea5e25216d1b0ecfed8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.29-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.29-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 03be718f0f415a5e604fb94d9485557bc2e869483c1c0bfb2cd41085f5efe5b6
MD5 159ea0e3ca8f2fc5ca1f623f07e07fc8
BLAKE2b-256 65cbfd06771875fccf028189b60168481ee28beb579c8674eb67d65184586aec

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