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.1rc14.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.1rc14-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.1rc14-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc14-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.1rc14-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.1rc14-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc14-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.1rc14-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.1rc14-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc14-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.1rc14.tar.gz.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14.tar.gz
Algorithm Hash digest
SHA256 3ff8dd9f09584f3b88b7f9365b4e156df4d71440e19f3f9dd98a629c97459f49
MD5 17cbcce35c01833f9aebafeac6c66e53
BLAKE2b-256 5e6b2bad0dab0807ef027cffdf1f12d71dcf82a7bdc7e5a4f4d88ef4dca01bc9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ea9c050097da32acb6e6111702f63f666cd55a1a80e0af921aa71fcddabfa322
MD5 bcaa1e30600cb8e5e29c03538f57ab94
BLAKE2b-256 04ff5b39c61b46d995d77f0d03a9a6aabe25a9c7068bdce279a5fd9e745227f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2ca6391e8cdbf5130098165824bef7ea3ce9edf0bfa342c52aab38f62b139aa0
MD5 8ae6d97ecd6deddf0cb1c86da1f0ce95
BLAKE2b-256 7fe46bb0da9d13de57084fca5beac27243667be4b1b4234084c963455166228c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc14-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.1rc14-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2ab710b1e7789ede6d4fe4ae4be8da99c36ffb2dd63be984df4061cbbd233a76
MD5 5e94b040b51ce76783a6fee5bf341925
BLAKE2b-256 0642b758524d9e289bf61586b6bd2f58ecbda0f28bda940db12625982a431e8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bb93e93c19894cd0514725df05093a0de58d71df8e4360b0732ff355f089b147
MD5 99eb978489177fd18da2ba04d7c162e5
BLAKE2b-256 2148ce13be9e20b13960999fa569893bda6571b24b9670debed8eeeac98f31df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ccda741bc622714cedb5f6e2c6dd38d20f69b328633a9d98526c0736c202ccd3
MD5 419dd0991ed93e02fdb534f92e871f87
BLAKE2b-256 6bd7b9314a17c06f529c88cc3e5679968a49565cbf35eaeddd23554f3ea384ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a2d9abd32427df8602a83c46c1df72fb23b988c53c9b5eaf45f4f658b55e8e10
MD5 f6d0d54894da92614b847f8c1047da11
BLAKE2b-256 0ce8619b489fef8247ed6ad1da9313ade6ad7da67a9795da6c05e4dc7b0f6bf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 072ea612cf67e26c84ab2decbc38383d49c1239729805ee63683e4003ed312ca
MD5 83bd624e7d6e2f38364f77429eb1a957
BLAKE2b-256 520515f4600e67bd93994deee3106651eabc905f301d24bd85fc7e76f916df33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 18965647cac97b4e38088485dcdf764a93fca0116cc437e4cce339c9b7298400
MD5 152a80e19f43b0d000c6553a482d86d7
BLAKE2b-256 aa0dedc5af47288da6a5cd12a2fdfd5da6acf4944b5fca6cd558a96ee53fb676

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc14-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.1rc14-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 827e410c19ab93ed18a4fa8063288a55b8c61b9a7c0c44d2535db2bfe7e43aa4
MD5 ff7a1d0af312d1b6f3a39969c7a1af2b
BLAKE2b-256 0e90f83cfcbd3b74a9a38a8eefd155fb455f2dc94c3559dde3e7e45243ab171b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a097af70ebdac0608c776f93993a1a7a251a8966599747bef48e07cff73fbe0a
MD5 788a706b49585618f57dce65216170a6
BLAKE2b-256 889a4924d39aff7e33935f07b4f22ec9766cdc9a67008bd4e699128412a62f72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 652dad6884997b7c8cf07aac3fc2e3787588b994920bdf913aca8eddd249f949
MD5 b987317c6863f819423c61e2125072d8
BLAKE2b-256 229d16dc1e6db39b584357936b5a044d1c7c0b821f7369ef5ad3fb4cc3138046

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c49c0fc3aebd3fbe59474d1dd6543537c1073693deeea9a32bf8e94c7f4a748b
MD5 dab43a82c12c4ed0ee73ea2c7dfdb129
BLAKE2b-256 d2a5756595c0aded761ac16c3dbac203f63bcb2661d27da497fb573c802ababc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 88ac993653b78780280e4c62c775b826bc12d4ddec6f68fbe43f2b8326a5d688
MD5 1c83c556fa44064384509f2357c5f388
BLAKE2b-256 78967f4d2bb4582a41c757f2a1d3a6d41cc5a39a0e58715893ef8d3f02ebef8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 aed3db3194ecd48c4f61f5e0f59b56e733dfbbe6e9f89647472451d994ea533b
MD5 ad604e916b705e8200a90f5c3a28dbb2
BLAKE2b-256 a138477a9ab246f6aec405aa41eeb3a8be0dc8913e61bdf3c0523c0ae11dc89a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc14-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.1rc14-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e4ee65f1e71dcee95b4072cd86dbe1d5e8c0f2e1e1b5348ef9ecc0355ae9dd4c
MD5 77e5062d3ad3e4a4fffbb24d2895bd8c
BLAKE2b-256 2f6faa5874dddff0880c8d1fac3d1e9228a23ad945f3631f54fa9809ae0f02f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bf74d1f2717f435c091160c719dd2870fbe41361809bb29eda37c5315195da92
MD5 36e090af5717907cba4b7c280c3e20df
BLAKE2b-256 57a66de13e6b5e9a0227602e2f1d0efba953197d07637b9b3633654fa3dab16f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b5ad073bff01e512042a8291552718551d5208efe37315bca6ff286ba0842554
MD5 d45e0ab856eb32b64e6e87dca81ced88
BLAKE2b-256 295555a356a0d89f080f31bb8d392f9d62644f7f67eb550d7aba4bb6e421ee53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 79d5b9c72e9372c888813f34989b8c79870a77739da638c1e740226bb75a2387
MD5 f25faea695b56659a453d7e1718ca60b
BLAKE2b-256 303aa50365920ac21421382e502b6400cd6118de2271139c924168b045feba21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fea234a4f10dd9bd7a0043bc115a6acfa6e3490dc8e265c168def13e0db27544
MD5 27b302b88a05e050efd2f5fd2185eeff
BLAKE2b-256 14fc32aeb4f82836200d16259c9e78129c02b6d28be6c9ebad6a39810064c8b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b1ab48c4d07b06ed438c37992dff17499c7e61159930887a43a0908f82fa4856
MD5 a946c2b59be4b05a5d915a876d8fe47d
BLAKE2b-256 a85c688d2b54eb229786eb83879cdc722b3391f97e7bb4891210e31592e41cce

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc14-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.1rc14-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5e6098900ebce70ed1ca1b0dc813981e443e141969f4ec78be5443176c71897c
MD5 84529be44fd7d4c1068dd6e3b9487f1b
BLAKE2b-256 9ae71fc56f28818f3af9e4e25393b7ea529b7f4fa571599d92952a3941327113

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5ed2ca99861f803ba6b8b2c038a8867747bd59ab93c971a09ee1af4ea36f3031
MD5 91960b3129b58912a81a8ec402d048c3
BLAKE2b-256 055065f5a4673bd21ba2b05caef56a378ecac2a06b596d06881be27845e40c33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d50232f18a70667d679aeeddfc599d55a68aad1bb83bba8bd9f964e289f8c5be
MD5 939009764fd0ac75cdaa780153bc7c26
BLAKE2b-256 12cb01bb93b103605c4b5b5aab1d9bea64ec8f96f122b14eab513f3c2fc2b605

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc14-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3737422fb20bac0aec939521dbe527d451ce9b9c22c9dbbd2ed7015e08398f5b
MD5 db7a11c4a2685fe93a4b97aa3f541fc0
BLAKE2b-256 50f1134e1b8d6d73b42ef467c63069adb907006562b86597b12bfee6aea5ae23

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