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.2rc4.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.2rc4-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.2rc4-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2rc4-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.2rc4-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.2rc4-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.2rc4-cp314-cp314t-macosx_13_0_arm64.whl (220.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4-cp312-abi3-macosx_13_0_arm64.whl (220.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.8.2rc4-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.2rc4-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2rc4-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.2rc4-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.2rc4-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.2rc4-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.2rc4.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.2rc4.tar.gz
  • Upload date:
  • Size: 5.1 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.8.2rc4.tar.gz
Algorithm Hash digest
SHA256 67e56385e290fde7a60999f373baad71a9d04e96dd1491f89890e3dbe8d6e805
MD5 0bc0e5cd0cb3b705e35c6561c53b9da0
BLAKE2b-256 bd55b5526c360186d164f9ecaf2508eef6a454d3e08a16b40c7b9c4cafc47ad1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6e21adbc0122dcd028e8967a22e6990841b97314934a7028f084e7c36e030cbe
MD5 8a98250d3834c14523e62a2a3b360a43
BLAKE2b-256 f9959616a3acf6f03adbdabee03fe40333212921bce5872ccb042662435811ee

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f662a3fa8661025f7b3363bffe097e28fa96f58fe93bfab9c5db9c176854b51f
MD5 98d5fd3b55a57e8722bfa1bb2460d521
BLAKE2b-256 3c7fa875c45e2ede9048001fddff1f3e2553b4add52dd73019275a7f7a6175df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4520a84f4b36f25e075d46c2bf1fa0d82e353ba38ffff99e08f1b6b34a7b8ba0
MD5 adf72ff56c15f40cbfe89a69f8b2343c
BLAKE2b-256 f3ae03cef84b61d68d23e9fa343c9ef78b0abf3101947d92b954c1ccc3397f33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e0b2265594d106d96af4dc26dc256107b916d3ecd0eed70d9a0a1aeacb811e22
MD5 43bd39c1d36a4d5fbc2f96428a59f77f
BLAKE2b-256 9e96eb759e1f71fdebed4a1bf0450df31ee6000ad4f8f58f8d2bdaf3c07bd548

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 51ce271800d478f5419d8fc74d530e8e9e25c31e5c4264f9d15c7ae332fff693
MD5 997cdee018135e2e7f300b0ea37025cc
BLAKE2b-256 e9dfa1c6db2206e5900d7dfeaf07a526e01adf7b0b340accef125e386543a81a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ac4cbdb1d734cd3136b92eb019139738ab5bca4ead32247be5a97c4854cc8eb0
MD5 0985edfe772e4daeb22e44fde02e4880
BLAKE2b-256 1969ba4caa5a87e90588a11edca4f5ac131a2e8215f2ef7371023e9ec43fcb3c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7486927c4bcc4a657943625d6099bea1fd3b52a8878d1ba10dadcd9d1a4ab9dc
MD5 232cb34d22673f12bcfa4fa5ec2a17c4
BLAKE2b-256 2b2a123dd6ab6564302ebe390665f7dbe840fd940e3be9d87f587a4de4f0b857

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1ba2482c0bcf7b701801ef58a7da7c6dca0cbbc0de9d03ff029d1d197e86aaa5
MD5 4356a9bfeaf22a2b63f4c242f99d202b
BLAKE2b-256 0aa55a708a7da5d16302a41161dcec12862b1a0248e72a35940c95fb05dc956c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 77f81d4d35ee1f334f37bd5cec92950ad4bb0a414b2c456d724f4559e4b0ba7a
MD5 89114190e4ecac3f6dc2fe1cac2cff65
BLAKE2b-256 d63dba35f0cde6537f327976da09d0c4b78acf216183fae64f14f232abc89db7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 62d5d4cda9fb2896cf2b64021ba900b61d3b1c644c3ba4a9d9de8f13778bc6c5
MD5 7bd1aceccd92cf1d64757ab5f7772193
BLAKE2b-256 b1a2a1734a7178907b8931267f1bbfa8ff6a52e2d6589a7e9c411eb1dccbddbe

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f8f367fa9bfe281e375154a857763c44304083da14a2f3674d89c1a3b7ac00ff
MD5 8e479494ee34329043626ef7bef445f6
BLAKE2b-256 492a7535a0e6028350810ca19343049c28831cf17a1b4295f84c11432d7d0b9a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8eae6d812135e686a139ea20d5d721e802fcdc3831a9f09fb9b4bdd9845c37d7
MD5 244ac2ec8629729408b59111a7a3d963
BLAKE2b-256 e82b4cb6d903e068b931ebe732c7910e3b499a964cd3de399b674661aa6c746c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0253152257551ab36c99f11ce4dd16992940e4320704a4476b068eb76acc7fa8
MD5 531f8c63af2dd202e900068f8692052f
BLAKE2b-256 ee1cd25518039acb3aff54c8ca6aaabfd8f1bae0da0e90206a4929ce579fb778

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4524abd510cdc3f9d4a06dda1e3223f1d552b3dd96af5d47a883e1ec31902be4
MD5 137d28e6a1f0c9927ccc5a1a3fa37fc4
BLAKE2b-256 8bca0736aae6c4934474aac348b115a78bd59504312196f61dd447698bcf5c0b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4f76b5fe6344a431649b323aaa6e8d94cc1c825a10960015ee023049d8b6c15f
MD5 258f416631b52ecb6f035612904766a9
BLAKE2b-256 87272940cc0c2d6c88a2f41cf409a5e363ea5f1a0f60b5736bba3ad9c3420eac

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7dc97f6678f22d4710415a7186253a1b794048f35d2079942d701c23bc47376b
MD5 291e6ea2d82b888e2645aa6affc7f31c
BLAKE2b-256 19c093b3a4855ae71e0ae188e9fa62d2be1036d11c496d76eee712d123f5d0a2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b9a111e5b580292913938009579dc892264d2bd75f2f57b2d2d4cc3f898d645d
MD5 61241e80d2e611575d225f0bae96c1b4
BLAKE2b-256 08fb02f18a2f3ece2b7bc67c4330a1cb1df49d445fa3962a1bbaecb791f3eb77

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc4-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 93db680938ddf50d6a0b0f6088d71433ea8e3bb46e5fd219a24db2a715462167
MD5 f04e20fc4003df9d35b9564675361c96
BLAKE2b-256 ebf6e5cc9e72c75f80c85393251bf5654900b160aef18db998bf3126c484b55c

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