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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.6.1rc7.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for passagemath_glucose-10.6.1rc7.tar.gz
Algorithm Hash digest
SHA256 94c16f52578a4e6774b4dbe9606a3f74d7de8c58b360ff71d28796a969345128
MD5 6f5861bb8811959c00425bd6e5a53dca
BLAKE2b-256 a8c5daad01498734c5f6fc8ae8bdca52fd2ec01f79fc625a432877a0824ce0ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c57474bac9f4b6aa30a4b24fa530615c0a813786d52d737c37eb9e7d61ed7e6c
MD5 121912130736a4f8682667aceca1769c
BLAKE2b-256 81efcdaa32edfa6b665f91f5c470f1d0122643b8f0d60a2950a7f47a193f6a1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1b4714cfc136e58f19d27787716c58efda29e47c65a787ffddeffa63ccb24188
MD5 9a3500bc901f09fb8d8fb254df6fb90a
BLAKE2b-256 5c62e992d5b6e25dd4dfa302ae04d86c31f0eda9390ac7f27dcb7b7aa6272181

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc7-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.1rc7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f7c91e43bcf3d6c7ef39b25df1e6e36e6336864fc7592778549ea35deece443f
MD5 db6e7c4a0fc1c6fb6e70a16c8991a62b
BLAKE2b-256 f36e8c5abafa57c2aed7ac427667e173516ce3a6b93747e970d8578eba765768

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9624df1153de49825212dd8459593a86d6ec102fedf2e5652eb55b2ddf5aa689
MD5 34c4b6751279a59529e1bb2fe417582a
BLAKE2b-256 78e3a4a26e014841d34333b54291465ac8fc763bb1970bc760dbafde7e254eb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2edaced0dbe7d2cc57cff1be7fe2dc756f41780ce625d08ad73f6bc695571b7c
MD5 0df33dbb8b48828e2ecc22d72d3371be
BLAKE2b-256 d5b0e09d809c8655900754250fa137915fffdaeccaa8ef3839932f529120c009

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dec8c44686cae5b3f054db57c41e2998b160ce7c14d16c6f205cc1f71a33b347
MD5 e014258899df3f08baaff97e71026803
BLAKE2b-256 53275b456ef2d36e78fe157703e2a15da96ca75edac99585a72ae9642429eeb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e825d4734a54699d6d23dda99af24ce435944b7b6802eae40515e9bcdc5357bf
MD5 294063317677655958d27f301d07e0a2
BLAKE2b-256 bb39b018749ffe0aee2c31f50add661a55c4a458ffa40627f9d52cca1a2f1d19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 674c6119dfeb41fc927585605f9293ea3229872a9726f6bbbf61d1f91f70ee46
MD5 2301b2192b817ab7bbb192fab29ab08f
BLAKE2b-256 5324578a2f02db85b2379c1f41dc9aefd34c5fe9f590095ce556e683a8f91877

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc7-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.1rc7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c3b83319288c16dc73fcc934515e36b0c1a01e9628cb31a9cd79867827ac6754
MD5 796a427908bc865a1a0042ff8e0f6f57
BLAKE2b-256 90da5597b301c9de4742b458bfd5d3d0786146b81ae8ed0a890622c653fdd52b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f07c1faa4954959fc443addd08df6a8388d87130b352d478e7f9dfa8adc45fb2
MD5 3d476713de1565d5edb1c55f5f88f98d
BLAKE2b-256 7e9a2101237b8c21381494de2b8f518e110721f2d089e3b223ec23eb56ed1d19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c3d6847bbf9e38f8c49da0fb08f2a238344b38e8bf94da8a6494469d41f2ee48
MD5 bac4f11dbf38e4f0768add4b56c06b23
BLAKE2b-256 02b7c890bc0bcd1b5a2783095e747dbd232f3c0dc41dd3e68dda2c7f54c83c84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bad3c3f2a26cda8bbf1e3889c2e36170ecafb18da29d15f0fd3853e9f1065aae
MD5 6cdc95366b3bbf21b7d05564cf02f4b1
BLAKE2b-256 9b104b429551babebe7edf66a117eaecbf8c3626c82cf80cffa8fc9f36ea60af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2b56c45522562a24bcbc13a0c8bccc3946981b496e887be55328ac6bd9952ea7
MD5 5edab81aab1d6ef64e716e98be4a2591
BLAKE2b-256 415626aa49492f4e8f2a7ecf74d0e9cdb88cd7a31c71e29f7dce356f7d03ed80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1ec96c2d950ed410a63aa5ef784e03370781936a8822dd7fea4b06b195db5bb0
MD5 e99d2aeda24cf047f88f50b03ef861af
BLAKE2b-256 47d10f2754263e75de844c9b1834edf758c375da19286c787a50d107d85db262

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc7-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.1rc7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8dd5326ea8c4d65a85758f14c86461d4ea1565b8eb85d497fc4e2db2d9d46431
MD5 c10fc497bf3400aca6917acac8684b76
BLAKE2b-256 763a27e4380824756f2ff49130bf7dccfab62511b87bf33792072068c6545ed7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 01d45c6df0747e55c537b1c979ad653aeaffda7c6aa728035c5d66c1c5a3aabf
MD5 596b674835c14108195aedeead2866a2
BLAKE2b-256 e9a0dbc507e006f039249ccc0f208023926d0c7e00eb3b049d120484fc85f154

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 19f43720b10a5ef700bfdd40a7bb69108a994244aaaf5e3169e69e87bcdad876
MD5 137c6b99c924b38aef14f1db628dde4e
BLAKE2b-256 946785d0f062e4935a296d4e7e4bdb48c2777a443c1ef9e38ad0a15834024791

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 578771657724bf784c89d7deb081f9bbc2f4690968a2f139a00ac2d6afdf8038
MD5 2fbcedd894ff4af1ec011bcb57165302
BLAKE2b-256 9dda41133f8b58998b1437b80ae315ccba865a0d9e9b4fcf9272213a4f469e6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9564d94bf167bf785b84cbd50f66bbc5947d3b934b7b84ed97ed879c6d3343f4
MD5 01c4037ded97aa48bbb6255e11cf871e
BLAKE2b-256 dcd54e3ed4141e69f71e11948fb07e562ccbd27973af280a4e10b1d942ecb595

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ce3607f0d21c409dfbe537c66a5979b29045d0e7ee7cb5921f85885dd872c157
MD5 14459d2b65772f34ea379c2e506a9f87
BLAKE2b-256 db87245589da73f85676257842200629c2a2bc1aabf922a77145efc2c9ebb83b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc7-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.1rc7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2cd2e059514e82a916a7488d9e97eff12271eed8d54901993a81538af680a3c6
MD5 4e26bc2d052cd986cb8531d1810d2d54
BLAKE2b-256 52c12f39543cdf303cfdfb2588d4f47c749b25840608908db42b3b791412f943

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e6486f2499a1cc2f27f28f67e77169e78a72bd812e885d1859c43c1e5c5a2cea
MD5 1043acf98863186733d54d13d4055e5d
BLAKE2b-256 18c0b2522a251c52fd3435132dd7174ab10fa3ce5ff2e90f0c740863185708fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b7f6ab9f39c7601110ef2135da6ada1afc888426e6cc17e4aee1e2c60558e809
MD5 2000a8bd8407977029f3f0c3fdedd02e
BLAKE2b-256 c3dce93624ac15a6c959e5e984df486429e960f56b78a7ad5910bbd189a4045d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc7-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f35b9278f43d012ceadeb2fff3f0909853f7b6a02ec4794ecc23ac389f432e52
MD5 330550bda5e6d3bdf615a78d02e8908f
BLAKE2b-256 e89e141eb4139a35e61ae932d4bc1452f5db1f66d05804adb41025aadaddf0b0

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