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-2026 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:

Moreover, the passagemath project:

  • provides a stable, frequently updated version of the Sage distribution,

  • integrates additional mathematical software, notably Macaulay2, a full set of GAP packages, and the Combinatorial Matrix Recognition library,

  • curates a library of Sage user packages.

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, ARM) 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.8.x series are 3.11.x-3.14.x; the passagemath-10.6.x series (EOL 2026-10) still supports Python 3.10.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.8.5rc3.tar.gz (5.1 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.8.5rc3-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.8.5rc3-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.5rc3-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.8.5rc3-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.8.5rc3-cp314-cp314t-macosx_13_0_x86_64.whl (235.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.8.5rc3-cp314-cp314t-macosx_13_0_arm64.whl (220.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.5rc3-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.8.5rc3-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.5rc3-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.8.5rc3-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.8.5rc3-cp312-abi3-macosx_13_0_x86_64.whl (235.6 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.8.5rc3-cp312-abi3-macosx_13_0_arm64.whl (220.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.5rc3-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.8.5rc3-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.8.5rc3-cp311-cp311-macosx_13_0_x86_64.whl (235.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.5rc3-cp311-cp311-macosx_13_0_arm64.whl (219.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.8.5rc3.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for passagemath_glucose-10.8.5rc3.tar.gz
Algorithm Hash digest
SHA256 41c4dab3b8717d2bef0e5fa19432e0209d17a6ae60c364a4670e44349cab08e1
MD5 33abe57bada67cbf4991a03de6b35c7c
BLAKE2b-256 6b0a4210e69fcba394df82e22d1d9ac72f7f752035143063df2adbdf4562b269

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc3-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 eb8004dbee2cdea3e0fd7082bd5e8bab829983671d5bb5f1b2e8fafd8b1bc5f1
MD5 09c09b2faec5b0b53a6f8c744a67c8c6
BLAKE2b-256 9e2113399332fb96e08d812aeed9f1ba2597fc653ce3cbba1c2cf4e4ed6f9417

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc3-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ed0485e3dcb8c8a18c8dbb84a4ffad6f84ca02ec6e1976df9104231ff7441766
MD5 114dab001bfaf3c597eeee7f9ff97fe2
BLAKE2b-256 983905b4f51a892e11307a9ce9154f3585d5b34d79f36f564f464baa19fcf9f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b57a6eee67d48825ae2900c5eb17b480123e9944c0a8929d142f112871c33fee
MD5 87dfdcbcffcc84945fad53a5bf799b8b
BLAKE2b-256 b776221ca4be8e288999ad4ac9e09ac455265855acb8f22a9708887481909120

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7fbaf391c7a99041b1a349d14e0e03c7a9555f94e1eff92e9e76269eaec415fc
MD5 4cdab2ae1c4e6b0b4efdc677267b925b
BLAKE2b-256 427ec2a3b411e69453d9e1d6d1d1f6ea410f1c6cce821aaa0992490ce54abf6a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc3-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f590109cb1c8a979df9975ebc7853353a73f5c3562130cfb17b17283a6efa0c2
MD5 8637ad44376db1a4cb3599f86e38ad3e
BLAKE2b-256 d31ec428c3cc57c9db357dee1194cdc098a7808e4a1600d5d4c478750ce8233e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc3-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 309736125f2663c288d614db9efbdb4f6be444a01646c19ec4cb9c22707fb857
MD5 42207a92124e936713c63bac86ec949e
BLAKE2b-256 2cd2cf2e428b9ed04adfbf47eab377f3e1670013a863da27ab8176872330bc08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d930f713284fb73a676e9ffc99be939b1fbb2c4fc52f5d351e1d0355e946d64e
MD5 f9e8f17caec5951589e698cdba28d2ef
BLAKE2b-256 ce6e85a13f6913dbbb3bf2ba4da92f78328cb4a2998f1fdd8e394dcc255b0f10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ac0ad8119cc2a39b156d660325d9e051adb6e684477eb9c311f5051d1b9d445f
MD5 a9ea8e38628f5beaadc2e9233ea1d9e4
BLAKE2b-256 e0c1d64583f4f5978ca6fb8fc435aec60f3500dd36d634e9a429aa8298df76ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d0fd15f3264e685bfa423010f9c2cfd7ac464b25c7f558cd04182e99ba758b07
MD5 07ec63bc2cf5009f237149e19c4f22a4
BLAKE2b-256 d942f8b0c3a30f9aecdcd166757b81bf42c69ece8c386a5fcc8f10c367401a2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a933bf96364946d5d301515d1cc62bcbd73f380c9c2c7efc6f4a1a98ed8e8f04
MD5 beb4b7f987ebac35edf45d99d9e29634
BLAKE2b-256 cf67a82f20688861e1e3b3fd92f1417f27dd840f99b63d5be6fe4eb77b45b34b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d57a03d52a73350b2f26e11b1051f53f416263691142921171112a5a8de209d7
MD5 98003059bb43f4adc435303f84c0ed8f
BLAKE2b-256 57d402bfc3b5eda0f8fd30894b6704bca24e706b18c264deda0ed60172624bc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d61de38c4b60645b59da49e5debcf76099bc8b67b9c70285ba4484642530d0a2
MD5 b995889f70e34bba5494e5a0639711bf
BLAKE2b-256 c4a96a3f324ec1c01d7235ab958080a57af6e74f9701b1842f66630afe79238b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dfcd616002efb2a08d85030ed4e568f843961c1fae3e87182ae0cf25bc11b563
MD5 6ac352a132890469f94b70c68caf4b35
BLAKE2b-256 c3c2a09721efe29f8312eb0f0bbdd1e989232295809172a3c7b2dccf62cc5d9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 eb99ba97b3dd192b7b065f159593a4d66cda7a6d721428f776399ec5d2eb3417
MD5 534abf6a56bc384bcec38bffb2da147c
BLAKE2b-256 0f388c332a19b7ca03c559bcab426ffc74fa47314474e4feb6b0f9c4387c8617

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 52a224959bce354ff5c5a6057da906ad12c795db6e1e0c0eb779a4f88ed0e5cb
MD5 3bdf44d6389887637fc9207bc56a07ed
BLAKE2b-256 23c0053a7e93a23469bb3c3081c124bc80b2aa35171775478f6a72b6c3507684

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 96777c37fb64b7125f14ca5f239f37fd1cda10fd2cb971eaeeb05568015777f0
MD5 45fad510b9e17d722f28357adbb7ecd0
BLAKE2b-256 b8c652c3a8c093eb1e1bcdc83ae1b95aaff343c37bbed99335c3ae8bbff12183

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 472df7c70769669c60401d9ff3fc5c85c110aec76b2e30f3b12510e6d22890eb
MD5 b412021eec98cc69bd7f9c7dcafb5953
BLAKE2b-256 cb83bc1c02c348fe41da606a9ab15d72d909a9520efb415a9de9a679f820c635

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4e4e0bd7d23ca28cd860bb73500ca588f335dedb42af4cf61db7acc197b71014
MD5 0e65857d505a2921cd55e014ab8a123a
BLAKE2b-256 1d4b22db5ac6353c7b97df3bf785f491daefc828ccf3e515a1883ad15f3c0325

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