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.14.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 passagemath_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.41.tar.gz (4.7 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.41-cp314-cp314t-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.41-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.41-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.41-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.41-cp314-cp314t-macosx_13_0_x86_64.whl (235.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.6.41-cp314-cp314t-macosx_13_0_arm64.whl (220.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.6.41-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.41-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.41-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.41-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.41-cp312-abi3-macosx_13_0_x86_64.whl (235.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.6.41-cp312-abi3-macosx_13_0_arm64.whl (219.9 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.41-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.41-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.41-cp311-cp311-macosx_13_0_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.41-cp311-cp311-macosx_13_0_arm64.whl (219.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_glucose-10.6.41-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.41-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.41-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.41-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.41-cp310-cp310-macosx_13_0_x86_64.whl (234.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.41-cp310-cp310-macosx_13_0_arm64.whl (219.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.41.tar.gz
  • Upload date:
  • Size: 4.7 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.41.tar.gz
Algorithm Hash digest
SHA256 b8c07c64fd2efcf355d6bc8223a2182272d916033a38a680a29623582b611c75
MD5 8e645719f1042fdc579986e71c12cf39
BLAKE2b-256 15e202026f2cec33e0467df51482f1582f679b856173b4929ced7da62bafbe8e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 38578d665f501d492806a6ac568ed81ed0a6a17216ad94eb0646df815082b186
MD5 82ee2896707af2f13b6839c54692e18d
BLAKE2b-256 b4abe317dd7933dba3094f4469b79e1b15d81c6491b3390f809d20e955c60c64

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 692b9064c284edac6f47713715e9f4a94eb0543b898acf1984d9cb4db4c5eb7d
MD5 35116f34e36a93bc99c08d427b4c85f3
BLAKE2b-256 58948eeae7d02f1e32c9e0c510cc847ef99636c7a541e17e8c6ea01a53e75ce2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5e816da8dd37a53b45bbaf85073ff6c9e2550d104f5bd9fec5b7a0e898280a50
MD5 9a75eec4197562a31eef3ecf7242dc38
BLAKE2b-256 d48c98ca660e8fbeacce406cb4b4c076766de6eedb67f52b2645e44f0d413016

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fb145e0e36f54a4e49a51553ac8fe72c0e80f3de82326712031952b91bdcae0a
MD5 c015a8c38b5ae4c0b15b2f2f266b5220
BLAKE2b-256 f31f3352845b058713dffb64b42e4f0a808575b17c77829c1764b90888812c06

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ef3d8e299b7aa506a561deeb2fe2ebf53e39e4f94dc114553cec6f5f42924ecd
MD5 95945fa638ad85fd59c8acb52dcb9b25
BLAKE2b-256 92daef5a5cfecee27b0688d275594275ddf2d03f62fb4724c865fdb7919038fe

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0f41b029506c8125cb7011c68a42390ae92f7af5e0e68c7e277d1e11db21c6b0
MD5 64931611e998a0d734974d3c49f6da68
BLAKE2b-256 5e12cdbbee14054c4bdb3ea38a0877b27232e8a064c15745cb8b640b11e6ed6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 76a5be12981ed3ce7756cc0566a06772c3b7d8d7286802067bde64f8edb69f13
MD5 7f656953e7f73a7f63d37b6524edff6f
BLAKE2b-256 c4590b81b11065bc75533fdf22e1fd880b284c0379617c3326052793fdd6aab4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0ba16c57e899cf3eb1c6d0e303ada97ec0e2993f790b5c5191099d71f430dc12
MD5 c8267ca36d0f287116ced7cd2dca2c9e
BLAKE2b-256 e1ad1fcb88a102232d5532295ca9f6a44f9ad19a9d7efc303a08d553a391e3ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ed1ead64e42405594af52e86da6f4debb825eaba0dc6fa5c0b9f00483200e310
MD5 ea8b0bed066bb92505d390c905ac1c7a
BLAKE2b-256 5146a3a9e5f3f7bf7720d0858c52496602376319fbf70f8eee92cd306e6572c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e7d898e66edf100ad44eb93b3114f414842afaa6b80548ca11d6c421d063b305
MD5 4d93e055416e23e3866798b10c98cde2
BLAKE2b-256 05cda1cd7e699e85ad0731ef5cb13faa5917d2496f9bc455c87bc0a1a17ef5d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ea6014ee69698da21760f0d68bd56bb6362caad2bae8653a40dba900e13a2d06
MD5 18796b93c9193e6ba7343de887c23b85
BLAKE2b-256 8fb8ff812694f1d41d82df713da952d057da8b3767a8c249feefae3ca56e82ff

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cc9f346c7a1d98d6af0fcdae7dcbb61eed4c59926721d5f9528f364251d9d67c
MD5 da6b08f2bfeb98bf91f6b253635e0b51
BLAKE2b-256 0ec48287bc5f1f54b13c388de527274e85f5de6b734e4112f2ecf0647fd01fb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a9973f8df585bd63e8ebca7df4046fd995c2dffcb4d4c54ca45e11693f59cd64
MD5 a7e5b5274a53299104865d4a66091bc0
BLAKE2b-256 fd63b8c509d4c2f798c2623607fd3927f070de6e94f563a126de0b363995391c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ec67fd97c9acbb3f6bb07c9629611e5a36a03ca86663b8515a0e8e75071670f4
MD5 175fe121f943563c8757b574e8550895
BLAKE2b-256 65f885a68f297a294d037b3f244cdb1327ada020c1487cfde6fbc858fbf836b2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 94a22fe003adc5ed92fcc64f1399c84cd8e511c5e79911aa66a148736adbd41c
MD5 7de01210f1e9121aa5fe0c7682f4cd2d
BLAKE2b-256 97dac8abf48f89c4abbf7d4fc8ad55c3305dfee57a46cf3bf9b9d92c5954bac6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6170ed40c543932a1ca3ff47e2b5ec2a19ab9cb681181642dd12aa9ab0d45f88
MD5 125a7cdae0224cbdd5b5c0d15b3d53ae
BLAKE2b-256 98f8b69c1d338287a88dc6c264e35ae443a296c5c0e7e1eacf6c560edddb5628

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0da93a8b8ac62b6084e3f724a992c7eed4b8f00f33d814e2e64a1c9fb9096475
MD5 a81dbb6c05b601f2a1ce43cea2668a38
BLAKE2b-256 f073cdabc111a0cf3a64e7bde4db31a71b73bd3ccc520324ff08858da1a92150

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d5823f77e893b8089dd341285b29df428e60ffc7e0950c114e2bb918fd352f5f
MD5 5862537ee76075acefd7cc07272682b2
BLAKE2b-256 7284fd62243969e833598b82eb3b07a857479742322ba31c70fab7679591480c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dda7fc82ddee5b1614a09144a9268c3d9a9e562c54aa76257c060d7a19ad05cc
MD5 5cc42abe33ace6eeaf73bd315fdc8531
BLAKE2b-256 24d7b257c94d114ba6ef8ca430b216caa0da14fbce1c245c313ee1a81398facb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2c59957e37b33b2d7f9e4b7a50d4eaff05b4c944c8d6228a0a1ea884785fea77
MD5 db3389145b0f3312280ed5e593048858
BLAKE2b-256 90fd599e6d0193adc7de224fa70ea11acc2d35a419d5e6baa3009792300f326c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c95174fecda4dbb1b14ed92ce5942ce4b609a6f1c079a67c3952d1156c2eb188
MD5 bd8076316d489926c1bed2aca09b7868
BLAKE2b-256 2235293d07f353b4597fe37812443fa9773d1242814db6ce577f80d52c692752

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 eb447adbb7c4320a2f9a76532508d3c8e2ddacc5b7612673aea1467cd5a3465b
MD5 eb97ee501962083f78cec9cb0ab5497d
BLAKE2b-256 e75a024eb5ab46fc1e0bea3072f41505b5ca91a7bacb935859794081b1768a72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5ed5de550eff47faa90dcbf9c3e17a42f7c68e7ab5143f7b415276342bfb8bc7
MD5 ad52f3ed394087a06048ddaf5639c70c
BLAKE2b-256 2cda4c03f4d150d77043f6b03ee0d2c5aafa403d4e6ce76ecb5eb467ebf57dd6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.41-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.41-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 15715a6d1c70b5c54f0f0a66e0d7cc9bbc13905cdae87c52afe0321a4229d33e
MD5 0bc6ac9be64ad14630946bc5d7efcdd6
BLAKE2b-256 52f7030e8ab5e2c99db2691cf2653f432db7a204f7bb8836f7516619fde5a326

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