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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.28-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.28-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.28-cp313-cp313-macosx_14_0_arm64.whl (175.2 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.28-cp313-cp313-macosx_13_0_x86_64.whl (186.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.28-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.28-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.28-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.28-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.28-cp312-cp312-macosx_14_0_arm64.whl (175.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.28-cp312-cp312-macosx_13_0_x86_64.whl (186.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.28-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.28-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.28-cp311-cp311-macosx_14_0_arm64.whl (175.1 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.28-cp311-cp311-macosx_13_0_x86_64.whl (185.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.28-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.28-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.28-cp310-cp310-macosx_14_0_arm64.whl (175.3 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.28-cp310-cp310-macosx_13_0_x86_64.whl (186.1 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.28.tar.gz
  • Upload date:
  • Size: 4.3 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.28.tar.gz
Algorithm Hash digest
SHA256 365cbda18c198efd0684010878ac21e795ab555cd946057956680fe623ed4694
MD5 69e4a5a8fe578ac36c13b8fbde7c2362
BLAKE2b-256 a0345b0ef2bde65077fadfbee905c841ef318a140c124ed4d35ee20169d1816d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 663c0ae57034041d31d86fa089ff8a9b025a7f249d411b85ec65900a1961f366
MD5 28b9b0a76052f54b834ada55a3e9ed37
BLAKE2b-256 4250c5613c6f7fed511fa086f5b95c1ac37e4faf263e60a394a5b06a63d1be84

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 388376d40fc69615576a56b28331efc7f07fd466010ca501d7801b3e4b36efd7
MD5 afb333378af65fd741139f26c61dcfba
BLAKE2b-256 cfe219032c5306a0591a68976ebcbbd2d27f3d72c7b8d698321bc1bc1f1d55f1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-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.28-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cd838e82a364fe8bbe7f4fefa70d49cc1182124f4ed3bb9c9134c35da3bcd4a8
MD5 e5fbd6f4e5008cfcdda43f90c35bef79
BLAKE2b-256 dabd6760ee0b1a6d9e93eb2923fd07bb7c502640951badbe4babaaf8ed9dd11b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3eee97392e6743bbd52f9947c00d1c809300fd1ec1d5af4b0f4e5824e5684ff1
MD5 a16165ab6a4fea2f753b4b498e7799eb
BLAKE2b-256 e2b4451b2619c43db8a0d20846a98047ca128f75f4f007d1f8a9ea503c09eeea

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a51f3d75ac03e9bb1a1cb5b1fa023e96ea46df3adf42bcfa5f4fd1e1205f0004
MD5 fbbbfcb9de376d311536a5f114b99af9
BLAKE2b-256 8cef5cdac232ac7a5fad4c7465d4aaa4146b5d9d3164cd83323345114c783ba5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a85a192aa51146b741739b8e9d0d636ad8237a531ff6bef133c740829fcda7ab
MD5 67ea7faf9ccc1c30d3c907909c7854d2
BLAKE2b-256 9e6dc5aa0ff90463ff354f437151fe49705f64dcd50ff954226d91eea47e559c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 09eb6de24dff7086a85ab76beb98ebfdc7f98dda80bed98716a618ca810113bf
MD5 cfeb74f839e6aebb0dea7ba72e04ee23
BLAKE2b-256 2c56d753c418ee955abd842129fcc8d767c3c50e1693c7c183f03a01d9f3a2be

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7a9533eaba57a5b5cab3970aa3731e7abc247e8caf4f3b1fbaca4ac8ffa7c7fe
MD5 ed5c2d13a488225a92c9ad1b0e797006
BLAKE2b-256 8c17c2209746ddfc7e33fef03088ab710d4a7358317ab5348a86168d17db0900

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-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.28-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d8035efac9fc826f716e0ecdb5a2dc5b94332ddb2e4acbed1007deb28e04ad24
MD5 7158eb32f243ce1ede996e379ad9fd10
BLAKE2b-256 1aa4141159853b24838567c20059284dc26145e2fda8c5e78c07c6708618af1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 024dff07aa6a58b9b5f187187d629e85727749fc06eca817ddc9bd3c8ef5518f
MD5 8bb6e24d86b173a85b1175acd2aa280e
BLAKE2b-256 96b6dbfb9ecd1bf64c7f3e56ee7fbd887d4fa10d85afb877d1a0d42df2079a03

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b50986ab24c1d6086959d2ebe419980ac04e124d7f8d81f4d14d2cd2dc1365d5
MD5 497702b403b4d69b4aa2c60e467869f4
BLAKE2b-256 05e880af8774513cb73793f0b2b527f064ba5cbaa3dfe03c0c2eefbc49def9ff

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3b34d369f74e6a1b13943632796a031f729786f846a56ce7e56bdfdf79d6246e
MD5 23b67fb502fea73671b5ebeb8c0508bb
BLAKE2b-256 a6624e4eb8d440e17397e4a72b212c4248a88d66d0f8fa7df7cd334cd9c1a26a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d35d4b4cfc9d224b84279e39324a2897c98c7b6145d101be616f256f6ba9d743
MD5 8f98398d8900cc8a37cf77368e586f30
BLAKE2b-256 56a760024f668ed3b4be606b53ff7f7069cc0c80f143a2e27bd740fe979f5a0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 43fe80f3f2e2713d8301bf386847272ebb65d13e365e254a5062f3f5c24db021
MD5 7b182a235015cf40f229e561e544e6ae
BLAKE2b-256 aac819b172da0cf9d59959428d0b021ec4219f911d271b778a6b1a477055da36

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-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.28-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 43622abe3cc2f9889ddbdeb39695d2d08b3bc4308744ae0e8b4f21272120e2f1
MD5 b2dfd34da22ff615dc2e24383a93e7ec
BLAKE2b-256 9dd6db3fee253328e4b9204178d3f06f033e0f2d7ae813fb12296e39d9935c51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 13ab6327f91181006209f789695a45891dbf096c7f255a35094ce9a8954c375e
MD5 ba7aeb267ea9ca20e4d59c6509be131d
BLAKE2b-256 0dece508a65c919a91137397e873d0747ae22a7aed35a9bd3979db30144c1297

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c106a227166fc0fe1ef6d861ebfc642a7d7f47ddd94f16e5f74c2da22deca80f
MD5 faef9d7fa02af749d165908d07ac65f3
BLAKE2b-256 2a9d91847b43da708ee21cbc454e550e472b67c2c7c187142176afbfc8f41355

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 469a46465376c8959370638f165cbb3217c57afa8b430782a972bc84d5b383f8
MD5 ba3ebe1db49a8036859736d2f5ddb6f2
BLAKE2b-256 a10d3cc9a09443ba18fed495f8d8da851aa3cdf73ddc87560335553fda6fa9fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 78a6c089891e54352a4d05b130934e3bbc6e5f44421a353be05167068c41cee7
MD5 d655d7ded3c7663f221ba603254e66fb
BLAKE2b-256 5b133e6e5d1b3d79f57a219bc64c3dff515e5a69241af236f4c08b3a385d4b70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2128fa64b1818570262a94a03bd203368fed9a374666dfd928e20ba1d27ae96a
MD5 27ef038fcf6e5ea3fef246750c5bf731
BLAKE2b-256 5b4aa07f254dde76c3a49424e66454897b6afe4f893cf091aa77196a76852c29

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-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.28-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e39f4c37542eef74ffb361a4242b97a40974f848077fe02d36c94bf5b8eea047
MD5 94157053b8f0e393d5dbc31f249fc02f
BLAKE2b-256 92894da5866b472a9a5e532466d8b12c53cf8ad624ca4edfe035b3b70e4f84a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e74e7b38cbc641661b325fd83a2bf57c16140bf246b4317675746671def262d7
MD5 6f158b9eed1486fa8f9447caf8ca1bab
BLAKE2b-256 e7a24345f16b249517d5a2c324af4d2f7a6644d47f112a6b335b0dd99d7d7b7e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.28-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 725c5573679b425fba0f5d2c0691cc4355bb2263d493dfbd42d2c0381f28844f
MD5 09cb7be2045eaa3ec3e4097223322e14
BLAKE2b-256 7d3e3a992a46eee2f8ad16b9903f0ad2a63e709e72aa1c21b83a20ae6bcd850d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.28-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9cd923b5a44aa78e1d502af40b5d14927005f87ca139db3c2d685c3acece6d14
MD5 33dd652a55f39c87a503893eddc1d967
BLAKE2b-256 d8cc81a2ed80fa0b4d50f8382b0ebe0c5be05054628a92b0db83c6fa6c239bdc

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