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.31rc3.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.31rc3-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.31rc3-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.31rc3-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.6.31rc3-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.6.31rc3-cp312-abi3-macosx_13_0_x86_64.whl (241.2 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.6.31rc3-cp312-abi3-macosx_13_0_arm64.whl (220.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.6.31rc3-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.31rc3-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.31rc3-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.6.31rc3-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.6.31rc3-cp311-cp311-macosx_13_0_x86_64.whl (240.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.31rc3-cp311-cp311-macosx_13_0_arm64.whl (219.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_glucose-10.6.31rc3-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.31rc3-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.31rc3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.31rc3-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.31rc3-cp310-cp310-macosx_13_0_x86_64.whl (240.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.31rc3-cp310-cp310-macosx_13_0_arm64.whl (219.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.6.31rc3.tar.gz.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3.tar.gz
Algorithm Hash digest
SHA256 f576c21e563dfe3da4974e50c65c18f875db6b679719bbf517ea99760899ec21
MD5 de2985b2df65019269eda0a9f0d40064
BLAKE2b-256 7ae73df336334f77d6b97520cd0bdf6e32e43f12076cfe85173dce3720b49acb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 582c5cb1af99ac4f2a7be72b1b6fcbff880f146626db016454231e48740c3efa
MD5 b463bb30130fa7a7cde3bb8f1a597961
BLAKE2b-256 999e2849be4472fbc4add5063f40c98ad3975a1b9163faea7a0f09207ce69e93

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c87fa4e7dc1a5bb1a5c95a7d328b9ec10b9c011c62bcd77e3744d60f0b47c925
MD5 f858db32f5e4fbf92c37c3726b667a93
BLAKE2b-256 22bed8b7e5f6fe2f1765be1f42ea12b9811d827fee4c75fac2456f9351448ac8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1fc6bcb9684e40ddc5a4dc1a653ea1d008063866eca9360c8d88c492f9286ddc
MD5 302df79d7de9ec747eb32841529fcbcd
BLAKE2b-256 c357a8162d4abb8fb625490c02fbe91e0c38eaa2eae5acee2ebb6554d9570dde

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4fe108a5c5568a5dfc137a324e0a648ded2a2a5abbd15d5e84096b192f2275e3
MD5 48eada0c4e7f62bce5574476ae52e543
BLAKE2b-256 3533e28e48f220d529bedccd958a33a623a732fc0674ea8592119f570b9f9467

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f655995b7ebad2d3318eff9dd5ac15afe0a0211cccd4ce85707b900e0cf0e8aa
MD5 a48aa7ff59e8922b7f566f8fca8139ef
BLAKE2b-256 e68316f85face5d9ddbbceaddc9bc9bc514fb37e5361fe8bcc1575c49dfecb39

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5bb8d0adb26f3601852f52afd388409d15ae3383c27565f557bf10da60f552e7
MD5 c9971b99e02934fa995b7d5d7fecc912
BLAKE2b-256 71008f6ce45849117999000708040ca5f4d8b16a1fa73a6decc7abc986f874b0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e432e742d3c42eab25d90404009f1754a4c88615fba1fbf1155e4502cb92a0d1
MD5 03faf7d5c6bd51f325e9aa07f62bef8c
BLAKE2b-256 5ff56efe7a68126ca52d8f6688e601ae0b8677f768404ce317c1cade4d58b6eb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ca487f49c1475edb4fa512b1aa221ff8d433a47ff2bed647e423f9c0231faa06
MD5 cdf8593f92dc7598209ac2952270cd60
BLAKE2b-256 1520b9a5cc16befaac75cd6063b5f3817d021ce3b77817c44de2f01e6eb52567

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 210f9a1755c25f5fd67adaa5b7d88ab820ee01f8e8e0888ba327ad6418ada682
MD5 97683b4ffd3424cf4e8ea054a9d378eb
BLAKE2b-256 5341c8352b2ce76968a587e15afada068608aa52dcc1d909e8136d01d8aeb8bb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8f5c9a2fa24de12e36524aeb40550f3c8b7d364fdb94dbbf345964e8000421aa
MD5 44ea2477d01fd66b6611f4662c40cb39
BLAKE2b-256 90ef88901ba8a0272530e302384ab90b1bf96a4f3215493ad0d446d5856c5b73

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 582881c7bf0d99379a3f8ff6ba19b222731cb05f6696c0891b12e62aa71d2961
MD5 fd8e941cc70b3033712afd2a2a03e578
BLAKE2b-256 9dc9f32c46324e277a1d548803194e38300c4c5bf1c54e707d1dc2d3b6cacb8a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6d266a5da4d6f33e08bdc87c72bcc04f36aa690de115308b45787f7541218f9e
MD5 a450f599d7cec105690183b5af6ac2de
BLAKE2b-256 3c8d1235178d64f5db2bc0d45ab803426f088326b16b2fab0703d127fa4935a7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d4a524b8feb8ff0eddd98ec9a52a02602155d9483c8313c460884ac7ab3147c7
MD5 7b1795f02da6b251eeb4550bca4b4652
BLAKE2b-256 7d1d4a8bd5f62c6c49c61d69a3b9bc5ccaee4e21a82360632a6428fad0b5535b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1421f0b348fd4b4c30eb08c99431936a6793afe7fb6e017a0c9de6fc2b1f71a2
MD5 562d482ae4bc252e549b1b141662b64c
BLAKE2b-256 f23dd0264ada1426dfab3f482884053cfed3e2b25436c96c0f7ea7751f70a9cc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ae89095d58f95d36bc1663ba6f65e42093746aeb7d1f906aa2dccef3a2a2cbee
MD5 a36cb891cd1825a4e600119e0e7f6e9d
BLAKE2b-256 3b12b31a2ff513a401a1b1b6fd204dbf4250f5c0fe3f6f8e3433a222abf6af52

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2de0359fc9f24e295973d39e8a07b4ea61cc8a0c1b1c7e68c99860b7e45b5588
MD5 2386c1a2a69bb91e17ff536d394d701b
BLAKE2b-256 620202c7d34e7c4ee80c8101ce9c4913f906b6f52bf4ee607cb111ace160ef57

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b51673bfc138457b6d691833799be169ef64d16f0020257aa84f6e1f9e7487c2
MD5 ee5dc082756267b7bea74b39ae66d501
BLAKE2b-256 6dd94845da4f173582ff27904b3a24f2cd9e7db291e9f0379c1d5943f0167a7a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc3-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc3-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b76ed49bec7375ff4bebb557d65f225ce4d5a67eaa04639d0e4728180ad164a6
MD5 e5ec03a2274b044cbfabe9cbc0560b5b
BLAKE2b-256 5b651bbaadeb0f80c4334fedd505527d0b84031c211917fa1f6cb9f7554283e0

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