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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.3rc3-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.3rc3-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.3rc3-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.3rc3-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.3rc3.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.3rc3.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.3rc3.tar.gz
Algorithm Hash digest
SHA256 9e51a84fbded5c1a0b4c4e7ac90a514e9d128d047bf5e38081004915ee065e71
MD5 dc1147c4228b55c09d2ed438f2c6cf86
BLAKE2b-256 7189db2b9269cdb0714381c9fd3f5891c1de2db7305dfc4dbf5a54fc5ded6d5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 14cca598966230257df421d9843195be445119c63fc4a25bf932aa4465c6d2da
MD5 9f043ffe109de0065471449b81a2d75e
BLAKE2b-256 123fa1ab675623d457eb17857bd21976a50c5dd02e4da4f7e02017ca468869b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 70ca438a2baa2cc49292368b3b14ed9c630b84bcdbb4e6dcb42bfdd634fef2ac
MD5 71dac3c5d8738802a4c8555201aee3cc
BLAKE2b-256 eb1d6825ba6077e18e5ea5114e6f28990801da8a7037a75e7b5e00ff4b101fa4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25b2752f0eba6c243a4a2ba5ab2d9548002a91643d2f77814bb5d68023a310fe
MD5 0a5abe8a0aaf5c9809d28a4bf1baab45
BLAKE2b-256 5c4b294eb0d74c98318d2597fd4193bced46591ac6e920090aa175b342559f63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ec2c9da8009ac1ea3615bc2bdfe5c4952d17b4fea2382c703248562ef31d0eb8
MD5 4bb5422a3f0a3fcc4b0ff425f44fe13a
BLAKE2b-256 deff7504c9912417d0889f9b9160612710f27c3b7e1893c68ef960111e5b273e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3a8119321ab2a805b76156726e8e4a0b21da3ce40a844256b3c0048afc04ba5c
MD5 a76febdd7c4bdd33def9e7099abcc14a
BLAKE2b-256 457de948c19413b00391a4ab29f941a378ec34de04405012b5c7edf0ff4348c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6e956ab5ff5abb7de5b0e6ca8279e71820e4704ad982791711b0d394e9e98a0e
MD5 f8de4a120bd9a0ac50e469b44422d515
BLAKE2b-256 a92e5d30c469fd6e806128c625aa09f67c299d4a0d6649ba87c12a95da3c921c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 abbb72726766fc6f63ae05a29ea09ebc6896a68d1ebdf3a2aebd2b97d9e19d23
MD5 4cfb728daeee906c8bf23cb53dfa847f
BLAKE2b-256 a587c206eb3687f599e33fdfe38c98dc7ca9d800ee33c6411bda8c77592bbedb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8e9649bffc66eea06351d7ca09d34b4fa309fbc207e9b36b10eb005d22e5ea8d
MD5 2a8afe732c71e353c790b9e2ad3a5047
BLAKE2b-256 5e1ad70e50adf6ea75769ef6d79268920151d1594ddaf01f1fdd5fa030ac5cd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 176e7530100fbc51a7d4ad46baafdab9f424ded7ed317c2b129b4c493d71455a
MD5 a82f9500c8bf87c747536e34e583453e
BLAKE2b-256 3a8e9403e79e57c92e6a58fc9683d7b5d6d5073a7ee3388c411fa90be02c67f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c3470dc1c36ac9fb6a8419f4dbdb718f1f671410154abb91d55c75ae8c657dbd
MD5 3a6774e352ce6c56b119dea30c96d140
BLAKE2b-256 8adc0f7fac8934c7c027a51b049fc18e3d16be958df2afb9a70d6cca8269a829

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8f4f0fde3fab357a91c19d30f4300d492041351fc40b597788f6aec4707ac682
MD5 b052c70e6d71e86cdbc82907829129db
BLAKE2b-256 3933b105f70f9b4129bc3c2f978fde8840ddffe2d597708e0b862b016d6a314a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a6d22529f0bc6bcd0ac9821ea47fe87a4a13f539261978e7e36d44f089ff7e65
MD5 0fd828b338fc276fdc968568afc1bcdb
BLAKE2b-256 003b2ecba206f09982b8259072c152495624c5ec2e81f181ce75a1637026c616

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7ef321f531f99e964db9afd88c9543e4ba0706584580d6f61d3801ddf0f3320f
MD5 e4ced1f74f55c6fc38c2421a4cc36d21
BLAKE2b-256 5beced55f407ce5ede74579414eb9c2f308b36d1b5ccc211dd2377a03ecb9103

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 701e10b991f206323bb8e998eb7d4df8299ab240db26dcadf0af96a231193d6a
MD5 612b272ffa3a90cd52129e77bea80b17
BLAKE2b-256 a29e4579bd8edf2e15f3e6821ca620ba866ee177681e8fefc07ec3530129f0c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 10092010db18fd48903b0ca7a44dc7bae12ff4ad080ed9a9366eba93cb746db3
MD5 a7df7ceabfb81b4c8830442538f4a717
BLAKE2b-256 f26021023307e232f53b5f61d8d7eb58e865ab4e22ec72addf1d821aaf5d4bb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 16be1a796087ba86c510dc60a31e051b527fbc985f2aa77f0f36a49d79d01d48
MD5 1b5db343e9d6de8c4cf0e315f966138a
BLAKE2b-256 399912bae34e76f7826f11e71e0612ab44cf8bcc3416d5e262c02dea6b60f5f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8ff31970ced779153af6eee4b8923dd1812ffef7ee851940895c67e685358dbc
MD5 2faac667decb0c3425659753012fb142
BLAKE2b-256 701d9875c7819da118cb441459ffc657eb093fcd0cbb0407cf4d8c1257ad39aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e98af023ce90f30284c0455247f031ce5d788f3279486664c605b16026af137d
MD5 575b9668fa6b425cfab16b20165ec76a
BLAKE2b-256 286740d11f16dbdf1c2a9ac91b8f10d0ecee55f56563a900589256e9da3a8eb3

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