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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.5rc5-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.5rc5-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.5rc5-cp314-cp314t-macosx_13_0_x86_64.whl (245.8 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.8.5rc5-cp314-cp314t-macosx_13_0_arm64.whl (227.8 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.5rc5-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.5rc5-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.5rc5-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.5rc5-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.5rc5-cp312-abi3-macosx_13_0_x86_64.whl (245.7 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.8.5rc5-cp312-abi3-macosx_13_0_arm64.whl (227.4 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.5rc5-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.5rc5-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.5rc5-cp311-cp311-macosx_13_0_x86_64.whl (245.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.5rc5-cp311-cp311-macosx_13_0_arm64.whl (226.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.8.5rc5.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.5rc5.tar.gz
Algorithm Hash digest
SHA256 d6b3c7a5e4cbd2f19c28e1342452695bab06c303bc53c559a3daae8581efcf1d
MD5 a673b9f5e6fcd0d067588fa30872907b
BLAKE2b-256 ba6a00b71cfa82f402d6f43c8c89b1ce29901aca56510d9fd10545381f000786

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5010318d3eda1869b01f95cbd5c2451f9ef0ff2a56e9ce848014617d5f68e832
MD5 89baa92d53e41215355dec36d135f0a8
BLAKE2b-256 9c8f6edcb6db72f50040c41430bf6b02dc002f05ab58a95db99e886bef779df7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ea0a98b4717969b18c6919d1303a1edd3801e4c6a50b5ef3f87e2444f5b4114f
MD5 f410eed5231777a740316afb86e9d28f
BLAKE2b-256 b1be724c71939e615a3334c8860febfb370661e5f52630d47630bd6a45ddb2e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 39ea1749ea5452307ce7dfc72b884113a03ca6219bcd771f94ec2d494a520a0f
MD5 aacbf80e67dd8b0ff7d55a7123739d88
BLAKE2b-256 f49b90b5c9f836855bf1a45ba33440740e5cb724b3ad3b5a0a166fadad4b5a8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7b8088e0660ad79d4e5d1950c5c25f0d1e214525d91a59c22e7e1cbd7f7ed50f
MD5 b26d707b6148fec4d8aac689725e8292
BLAKE2b-256 f5319b6ebd33a98f3b821bf1235a368f0e6dd7d60055ed95481a8a1836fabe6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6791ff6e266e0a0d7b2f0838e192b177c7bc859e646e4ee3ab9776dfd80b7efa
MD5 17d267e5e7b8076e74b109b6c37b0f2c
BLAKE2b-256 c94e3991e75d0bd9e32fed6cad1ed3bc3c249f652fecb3d23f69411b2e6a2b16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fea12c869cf1fdb80b380be74f108077b060107bf885af1e4f99fe6df96ad9cf
MD5 f568562e37f868c123bd6cc040bed13d
BLAKE2b-256 1dd75821d85409f71d3ff514041cba73afd64ffeca729fa5a50515a87606549e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f91429c343a3a90b7d67c26f5311f1cdcc116bb58ecc7af5273bdbd99c8e8e95
MD5 ea0a6a758f0175db72e613dc1b91465b
BLAKE2b-256 cc6ee6031a1d34b541854e9252f2002d3ba3f7475518e6a5970f6215a34094cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0735c49f02f8cc1ba35b0d60ee792245d8e8cafb56aa76a02ece0a4d5c830ea6
MD5 a3a4555b21e730b6b7d6eca6612d4b9d
BLAKE2b-256 d6a394d486713213c9df59174c03a60a120d2ad0a21a8a5d1216d4928ab0a9a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1f4461926faab8d6446ff0c2c4fa0f30c15e8840571b2b06a3558eb1c2935922
MD5 7af4da53053e4799163a7642355a4125
BLAKE2b-256 c27968c11a2c61c4e3acd1b8b10de3e641eeaa659605e88761b0c3de89f43aa5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6d84b8d6335a74d74a11f16bed52cf796f67e97ef3a68231675b9d232701ee0c
MD5 fd867c9fb5bb327a4091bf7ab1589e21
BLAKE2b-256 19c60ac2a2d8899dc9ef957efeb20414171d9e2e26f2dae5fc1756ddbe5ec9c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f7322d81313cb550c41f58b95405e320b1e6929c5782e3c7bb462b8b96eeb7d3
MD5 333ade148e12f1786a6be8309d681f9d
BLAKE2b-256 5f2089eb260173ab8d82671964c6ef2af143003c0c011015222c5dde87c027fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 faad111577632ab42fd863b77d5d7280397b5d5703cc04a770df6f8b6de08145
MD5 2ad1bbe7eed0c2d032c3d694f25bb438
BLAKE2b-256 265c2c99ac5fb09d32e0177dd58179c73bca337c9273fadff121ae998125eb1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 609d4c54b96dbd7597858a24027f0692c5d213eaefee06c83d1a2c4c21bae361
MD5 08c5533e227a18d36e7a9d2453f126b1
BLAKE2b-256 0a8eaf9f64209a75fc5beaac64642de9eb4b245f63c28a57062f9b58ecb52d29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 09ced6282135c8d00489a2245a702f906ef5fd0614a97a8fc9e052853c8af29c
MD5 661c294a61397ccd87f18764b0b14ff6
BLAKE2b-256 12d4b28b0d5067931780b99850fdbbfaa28cd4b2c59635317c6823e97491e838

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aa864ba3c8524ac75e2fbca11dcdffa677548946218bedb9962dca96d57d1130
MD5 ec43b86c0b1dada4ce4992270e3139e9
BLAKE2b-256 40e8f92156a01db920a0061f799e08e94849497a0df6d6f552650aadf26310b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6229109c21d238ae1f6bf2dbc504e9becb6c3db314af52c99dd814c2a45e5b97
MD5 deda0e0999c51068b5eea1bb28acb252
BLAKE2b-256 cd0233bac4dd778773d6fb83a4d3690b0bbcb41b0206b89069655d5ffd450e16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a8d66bafed9c07d7a309dc83f358d201f2e41eeef9475178930a98a41288c79d
MD5 880a8d9fdd8c53f8ae3103533ae421d6
BLAKE2b-256 f17b5ed605aa33525779fcbf6ea22b94d2b1b216ff2d26949fa752492db25f67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 31a8630da0b36fc6beee422c22ddd9d17c7ac5edf4d2f6bd2807fa3d6ef6e20f
MD5 cad60c6eeadcdef87e25b39d6c63d2ff
BLAKE2b-256 1fd20028724f574ccbdbf8c1cda2dc5000b21e567945d1edd8d2f155b4f4603b

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