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 was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support all major Linux distributions and recent versions of macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or virtualization.

Complete sets of binary wheels are provided on PyPI for Python versions 3.10.x-3.13.x. Python 3.13.x is also supported, but some third-party packages are still missing wheels, so compilation from source is triggered for those.

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.1rc13.tar.gz (4.3 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.1rc13-cp313-cp313-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.1rc13-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.1rc13-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.1rc13-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc13-cp313-cp313-macosx_13_0_x86_64.whl (186.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc13-cp312-cp312-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.1rc13-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.1rc13-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.1rc13-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc13-cp312-cp312-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc13-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.1rc13-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc13-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.1rc13-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.1rc13-cp311-cp311-macosx_14_0_arm64.whl (176.5 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc13-cp311-cp311-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc13-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.1rc13-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc13-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.1rc13-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.1rc13-cp310-cp310-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc13-cp310-cp310-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file passagemath_glucose-10.6.1rc13.tar.gz.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13.tar.gz
Algorithm Hash digest
SHA256 6ff05ec1b72e573106106c5815a7f2e74c21459b92366d2aeab504c14121f345
MD5 7a33c98fe0514e1bed77e8d44c1ab8ad
BLAKE2b-256 baa3ec18a05e9b5fffa7fd0a9398efe12044bb770dd4855ef5d8687222c7c4cf

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 49adc3e574372e6d76cb8c171aa9ddd6aee2d44313b1043a1b7e66d75643e60b
MD5 3f4de49379e793c95d7b25a04b172f66
BLAKE2b-256 19c0d163c4147fad6834ff6272598b6cd6bdcd045f5385d5f8adf037d8472fe4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b9739cb3b691c402b6dc1c447bc45f83689ae1e8af87a7389813d8321b180305
MD5 1970b975f7cc46171eacdd1a1e700239
BLAKE2b-256 375bb0c52a9fc56a4d9ec6b673f98ce4da052085892fb93305c54826512c1046

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 58e03e59bc1daefe31cc01583a5015d9826371283cd737b069b26cb2e5a077c3
MD5 0926027935bd6ac2d61eb1323f4e8fca
BLAKE2b-256 c3327fb5b5349edc08bc0f64ce9b5c6efbc66cba8b78460bc13454cd78cd1f6c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ad3f94d1b15f38e2016cf19895e8db1d87256cdf1ccc639e1b8b6354a0949147
MD5 ca030d3ead1d84c2ab5fe01c6e2076ad
BLAKE2b-256 d23462d0ed99267865cfd26aeb3a62ed7fb828abeaa7fc1d782b0c581ff49623

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ad32101b06eefe4890acc17b83cc9be965cc5f5a0b24a60bc281e477e2e68002
MD5 153eae62835aed3359c0e00e08850eec
BLAKE2b-256 6010bc6b5e96210e47f3134e41aac745312bd45ccd604e03c395cfce52fc5049

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 efc00c29db59d08f6f3ddadcf62c339f8133b192d2a865ef0554eef4301412e4
MD5 b8df07830bd2cf18d49f5d4feec14b9d
BLAKE2b-256 ecedd72d042f7001537805b177419be7a527bac8387ea42cf4060d757fc48095

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 aee7f9f93e63cd880c7148a46e282a9678b742620a8631d38aa54f4da42acd59
MD5 691c3c7173fc3d89c238944a9394673f
BLAKE2b-256 b08ef274fc0b3f4fc8a9d25ad8eb1792ded69a3d06a92fe3b812f7a4b599e5f9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5a34d28eb7e81a430e56dd4fec183028037d80d46a5f4b3c56f1295c3c400caf
MD5 dcc818ce08a71a50e21c8409e5b6c64d
BLAKE2b-256 831c5631f8b9d73e36bbb329b58fbfaa200fcee7c77d9639f5d5a44e4889c90c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b53ec02950fd1601d334de4b90f340b51f889ac3a03901827083f33964f39818
MD5 f78390a7f8c52d0c2581a3ff4ba2c739
BLAKE2b-256 0cec21bf11987d2949679ae654c9cbd87bcfcbf8c89e21db4336373bd35913bd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8ac527d3d8241b874c76d06019cb782f9fa64c61634415cab9b1b37b39152e3c
MD5 e09318cc4fc9d14c8cfef612a2b6c0d8
BLAKE2b-256 88c8f6e8f788edeb4b21eef2c7155a583756058a3c2100ee00d58036bf65f412

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c91e59bd17b0656486bcdc4148c81f8fc5c87fd80782ee78ecbac8b3f4ec7492
MD5 e8d66d112b8e82d5584fd1077d619af1
BLAKE2b-256 9144f33253040f9bc9555b67bcdf590c5d85828ce4d150daf15cf1a7f9363e68

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 66db2eaa6f0ca3fa2178fbd0d16ac252080f8821c39b456966da90d2b6fb7a48
MD5 563334e7fe4d8aa34ccdf4afcc399054
BLAKE2b-256 0741577f44f4e8ed944566d3ab72c7c163d71dc71aa1ffa4c33dec8977915264

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5849d3023d21aca56e95a660fa1e5b5b62a612fdf52b27e92c2c60f920abbe24
MD5 2ba7e7b23c0496b059d7014575a446e8
BLAKE2b-256 8aa11aa0da1c568265079d06234ec9ea5a490add6a86b5f684c821f2ab2ceee9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5b9f94d0b411032313fa2cda56e22cb08854850024f85607c5a9bbf80dcc46a0
MD5 636a072e9409730397353a0a61fae559
BLAKE2b-256 5145802bda5b5374b504a6644a27aadf54b0fd8a095715d6aaba41629e343477

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-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.1rc13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cd7079b2ce2fab06001dfc5bd08be282f2dfd3dbbb45834277a2cb479647254b
MD5 66cce2b067819926ab5c487132c0ac88
BLAKE2b-256 91f73e3b2b9bc5b0f9e45e102dcfa59f65ee869b4239ceadf1ad573d163cf56f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 18dd8116152b08426c4ed554c2d1bf7aad6c13076a196c3018bcaaaf2f82b032
MD5 a467eacbe29c18e8478951b4eaf649a9
BLAKE2b-256 3f4328dc844075568b32498f450331c5ce8f15d3558349be208a8b8767a75697

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 232d027650405263f72f518467b190a94e69f1dca675982b3391be0633e656de
MD5 8f8e8ca084eb9b593f815e6c30a1f154
BLAKE2b-256 48d4415fef2bed3ab77b15982f809d60f26646c53e305563a035414aad4eeffc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7476e66dacfec68a7bf12729c5bff4af7ca1ce8985c87117fabb98d9413d6416
MD5 88cff5a6d13cc1665099849d15fe75bd
BLAKE2b-256 c859eb409c2149a74e092f284cd3b736487163c1f338b5d97400ca70b0585024

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ffe896a2c5bb0bce8f2ad8eced8693b2967441929bc5052723a99794cba698e8
MD5 bdd6e45859cc1ddcbde1f2cf4199d6c6
BLAKE2b-256 9080b507a8d342e68e76560354ac94fc4856d9db55cdca1de993c7ca5a66136d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f507950b847660c3489ced84ec40ad53008ca019cc1a95e94815067dbda2cdce
MD5 ee8e9ffa2ecbc8fad9fca69b006a089e
BLAKE2b-256 ab931d4b019586b92fdae499802b9355e4d3c7049297a47e0d561cfc34cce83e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-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.1rc13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e46e03b87dff114be952175a9c5361331dfd1a06156d9ffd7a60c9cdaad0a2df
MD5 09f822938bb2b47afb82e088fe88e34a
BLAKE2b-256 7d9b2a3ce2349c2144b032b1642f53bfa0123d1ccd13326244d3ade0be3435b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8336342166f1f43a22f586995f8a7b004131f3079a20c60dba25de3a0e365209
MD5 ada8d2426bbea8bcca09b498991c6eee
BLAKE2b-256 e96c3854eb427237bb8fae1dfeab40028311e511a804841e15695f76768a69ba

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4dac4c86c78f971efd6cf55fee723244e967539ce1cb24324b55d84c61351886
MD5 82feb457f028c972125220eb1a018578
BLAKE2b-256 4b0c2410b39e3b5ddc1378200403164b3433e1645ed068007f150d6af570fba8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc13-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc13-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fd5bd0f1360e99b7f43ad133c5a47129a0fffedd156406f24a19d921f1b8dd73
MD5 14afe86b5797bc7cdd354739776b768e
BLAKE2b-256 d1b24775d60ce17beea188e948e373ab811032f6bb2ccdd28eab99b6007cabea

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