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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.3rc2-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.3rc2-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.3rc2-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.3rc2-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.3rc2-cp312-abi3-macosx_13_0_x86_64.whl (235.7 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.8.3rc2-cp312-abi3-macosx_13_0_arm64.whl (220.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.8.3rc2.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.3rc2.tar.gz
Algorithm Hash digest
SHA256 211052b96f91c7bcab2c279a00f89b5d17b829c83377c4eb3c861474038308d4
MD5 9c95b88a56046eae13865adc65afa063
BLAKE2b-256 33aa29054d74402cb3f8f693e98ee0056d46a4c17a81111ae4f5223d2f44869f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 46bee9d71d7ce4cc114830c69820cf32ba4fbe3f0857dccbeff414984c8039f9
MD5 5f0857cc7f48e1e74479ae1a6fc97933
BLAKE2b-256 d7827e53121a40d8492563a4b905442e9e5a6342179e07983ce5ec7641576bb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 66ed3bc8e60b5cb27f2aa05b4e0820ec8e65b947884098cb82bac4e74dd6195e
MD5 cc464dfe52fb97e7c0793d3b3de82e2f
BLAKE2b-256 d56f9e51562032aff9fee425673a0130a64ab3db2de1c1e6d1afcacc9077801a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1e905467e86ffeb0d8fb2a9162ac40b51e7e9bbf5bef8f05d862319186e4426e
MD5 12fc8b72140da6f59fbd4af206d1ca66
BLAKE2b-256 b1765875878ff01def4a2949dbfbd2bbcec834f64a60031a784f6a229efc1001

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e5be6a2a4dac215c37b42412838ec9c128931d4743fbe3558799086dc49712c2
MD5 37ff42e3f03c2b569f024e885ee5fe99
BLAKE2b-256 e1ce7dee9f95a1f142a52a476757b9e731ac3a088aa28ad91d7cc0566e728ae9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a63c3e1bf01a5e564003a36fbe5f845cebe5d069c397e2db4eb803484b027150
MD5 89f403caf45d24e250c04c34fe6259e8
BLAKE2b-256 7845805a1b03b8cb9305ec321f12ddfc1ae9accd80f626e325f4dd6a1c31a951

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 709c1cf18f2308381fc9c5f93423f034d420c079ecfd634ec81274aef2bac16f
MD5 d966b7fe8b155161d4b334fa1b155cc1
BLAKE2b-256 4ff14d053e1ec3130aafbfd8b003389633000a6c72918760878ebbe045291ad6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0028d5913f30798d359cd049bc9efd35c42102b469cb9fb19551268240cb5b0b
MD5 5f98dbe42773eac7d572cc72e8163de7
BLAKE2b-256 cf929cc4ef68c44c8229bd48179a4a586c33eced098f87326ab10b97da24820a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 19b0be9a78e0caeca7f2b7b4e2c013c9422fd5eb758623a53fff1f62d722f78c
MD5 fdb44b0a0d27ce60de13aba1ea01af90
BLAKE2b-256 9bcfdc2f5ab397ec866887bd019272df6f7b566ef47d5b8a10d6b01d4fad90af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 09e02ce097720239626ce20a685e65595b0e0edf0300022abb535cc8eb73ebb1
MD5 4890f88cf6474ec013ee168a95a59b7d
BLAKE2b-256 a8aa438517c1bc5555efa60b1e9abdd5384c7619bb786cc4cb4923b86533fc3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 163336e4bd17c1de6a646e44b90fff39423741f773186326f5b66467b6062634
MD5 968866aa155aa88c4b6822fe12495722
BLAKE2b-256 b9be7e376a7f99f9827032f51a3188741cb7393a947498f299f2aee869908c29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3bba74f6f8bef3efed1c572b30a4e46bde5e6909f7dc4c3d46761f70c6af4d47
MD5 739e22ec26178bddefa46b7d20a6409e
BLAKE2b-256 5653559429751a251da66472ab140533d1d0f8513a08bad7c9f7fdbb575aecf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7801750f2ef52664e2b9cee94df16c3f66f6ed66a0217b6c040f810c898e6219
MD5 1a450cd2bc0994ce0c495661b313fe19
BLAKE2b-256 656f771f7f310da60137635c92a6f58f9662e2bc94f4498aa15697d5c939e1ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 391b8cec6bb07ddcfb1799eecc9391d17d8736744f6f0fa3e626043b0c195c56
MD5 2f02466c73f2e54135c4cd2442da0c6c
BLAKE2b-256 718eb16a518008295a6abecf87b3958a87f785a31a6eee28c659b044919e8477

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8b877b84349ac97d2fc69074fe2b03775f992275a643e93e75bbdd8936a0e9b9
MD5 808058977a52cd5ac2198f3ca850fe6b
BLAKE2b-256 34e8221629c1ca679b25c5ddbdabe264e710cab161ea7996388c74df96e89296

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a4a4946d6ca01af5d586cc1b675c68b36d61c11be2f6013d0c698c9b7cb1b742
MD5 1266087b5f8864f3a072df37f4e34dff
BLAKE2b-256 ca1a39a3f85604c8b1ac35d6de47b4e42c8167be5a7bcc08e51d496f0afe63b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2f53a53f64aa33dee12503e0a45fcdaf12908321b90a2cd24aaf7f5546d65704
MD5 d7694702c74b85c6bec4ecfbe0aeb0d6
BLAKE2b-256 d542745aebe4f2223ccfb2838cfc3e832011c1fe26d2ec3019e20a19e9ea3abe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e5e1d0720f814355257c8196b43556865f03ddcfd2e89eb4ee02575ef106795c
MD5 ee1970524562de880c6e4c8cceb3ef70
BLAKE2b-256 2e35afc748637a381df0753029090ab89812fb199663bfe32f5b997d22671511

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4ad88aa4998141ba6876b56e31cfb4a390006a8e66e62445b269609b0d372ba8
MD5 b1dbab09558585441218f780903a0481
BLAKE2b-256 b546e84a0dbbee46cdbe44ccccddd1fc44aa1c36a7271f2c0fed7a2c6e7a9031

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