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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.4-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.4-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.4-cp311-cp311-macosx_13_0_x86_64.whl (234.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.4-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.4.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.4.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.4.tar.gz
Algorithm Hash digest
SHA256 7aa8abfbc7b7e5a2c46dbb8815e5d8a312aa5331c2495371a3d27c3c1c809a79
MD5 0e83446d0a0e75261cb2dda1e3a81dd4
BLAKE2b-256 53bf7a24ce7c263cbcc0f70af136363b02ab7bd4d770fe72cb0e0508b1dc65a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c9abf743b50aad333d2f968bb945bd5b5e5004809fa72a4ef4d30d21d10169e7
MD5 bd622b191b10949170d394c2ee0980d7
BLAKE2b-256 0b1b9c288ef2d287b1d76e8ec0d1836179b606ec50aebd5b7c95b21581ddd936

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e44633e2b409811c75e8ba00fa95b732b9cbb739bff919b310670112159c199a
MD5 6552334469545ecba5139d0e565f416d
BLAKE2b-256 7813a047010f4906fcc568a118a4041fc247acef0c1d43be7e8c8f4faa55931a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 edef9357d81b2ce17927e1a94a20c131257c23c37d4ec87dbc20bb0789b63782
MD5 2d75755e53389b5f89cb91751494c18b
BLAKE2b-256 e132b37b2dedafb1feccd2074915ffa627a26dc4495eda50e49a9f632ffb9796

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 972ccc42f3565678be9a3a52ef09e748db5705ffc7b576de8d61b5f404048346
MD5 f186ee7f876bb1ff6c11901af9b68cf6
BLAKE2b-256 c3139ade234cf372c86355664d1cdcc3e741824d68210f517a2bb5e8df227ad9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f961e1549d7e943df3ef8ccd3d661c7e2921510179b4586c3dd253c98d9c4724
MD5 db46576d96917185c6d77ecfce4374c6
BLAKE2b-256 c41ceeba43432a148e47f8d74724674a0b574aa59a98a835ebca865de03a5cdc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d5e6a3f5898c087466b490f2415c7c782473a87afc9cf6fdbf7ea2352efab5f6
MD5 3f31b36b428294f04063a36470aeb745
BLAKE2b-256 73d69b926aca7cea16a792a03bd8ca3bfdfe346bbaf46f74b46c801a2128e714

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ff74f6c0b864c4b92a9555b52b43e70098d15b948215851a4ef47ee6326a8aa8
MD5 ba6b7383fc6ce37e0e985a7a3d3fda01
BLAKE2b-256 e78cedc791a6fb4ef76e1084d52056a6ec3ef2574f0fb72b235a1594ec24b638

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 99974ef723643b78967fdd9323ae452ed14ff619de1781fab50ace9fb02f328d
MD5 6ea9a2296bc7b0580165dec6c6972017
BLAKE2b-256 e8f67c6752efdbe437d7e5ad55fbceaf463a7117d2da604a84413a2133335d16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 145b43d6e92857413c3e6779769a793688fec8879579ab9d7f216f2979bb2b75
MD5 828620e517d6de80f290b84e8ef5a983
BLAKE2b-256 1be30f25e0d48ee10b13c89864c8c22b7e55d4956e209132a2ae848c9c62e329

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ef7d7deaf1bd46dbce4289887375a1d268d8f90d8a6b3db445844906b70b8290
MD5 54d41454049087805b15cb46ba54126d
BLAKE2b-256 29164d9637c9087f2456adc5a1ef4975181ef4dfaacc0c862afbea75b2be9ab7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1d6cffd82ed1d4482bf210c9e39d1790a4288536993fe49d66e561bd2a48efd7
MD5 4e885a674a8b008ab1ee257e2d10bef2
BLAKE2b-256 804e2a8f7adce930e93d938f67b8e3de81ba0483145f4cd01d0eca1f76d0a253

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f80755e760b3397c7c677f9c9215de3d8c3e31fd72e6fccbc8fc4084f990b338
MD5 e0d7fb6fcce1a63fa9b8a3010226f0a3
BLAKE2b-256 17e518fe87fc7ce627028838614a0567187d27823bab4a22f22c8a0f113128de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b4cbcd8146238020200f15dbafc10cd9a31f548a03cfbad8b06d5490f50033e9
MD5 bcd427a755618818e27576a7c49de97f
BLAKE2b-256 89278eba5641f3484f9f42c05ce7924c67018e331d9fcc07faa4190256058113

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b789e5a8254e0a7073a9c28ba68f6e165da9e26fcffa312dab76050c8ef52d22
MD5 3174fb2c77c6b6431c9226d67091722a
BLAKE2b-256 b9841330f9592f221fbd36f2bc17294478486e1bf03d868fff4a9027601d34d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b7e06188c6dd5a00dbd8ca7252d42ad52a2320fb512431eb0087c602a27dacd1
MD5 ed47577ebd1eddac179f6f89ac6afebc
BLAKE2b-256 162eddce37adbe869870b30c7286461d7e9518a67e4b492e4c9f3ce261b4c363

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 29496bfd93b480bd6bcbeb61cbf37133e1ee58bc34c09a2e9090ec77db7b63c7
MD5 c37169af5a0d2d369223bcd24761cbe4
BLAKE2b-256 f05a248980a940b43e761c827812d48ff2d3c9ca9a17685a6d076b6088bfd8a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 56334be290f972ca9413ed3db42dcd99d1cfb9b79ba2808644ec4a9ad3514d2c
MD5 8ae1631057daf5d71aba6d37a4f27234
BLAKE2b-256 abc6f03a90216970cfa2a96090ad0a5cadaabd2cdaffc5f4e31fea53a38bac36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 921af63d3a9cc1b3291edce942a077271cdac99038c062db06d048a6e8a5b792
MD5 e6e7559df3846da8d9071dd44a7f5869
BLAKE2b-256 e7ff79546fa81c67109cfda5c589326d99fac7dccea29df676cc0039f9587cc3

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