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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.5rc2-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.5rc2-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.5rc2-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.5rc2-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.5rc2.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.5rc2.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.5rc2.tar.gz
Algorithm Hash digest
SHA256 4fb9e27cf3969251106ee8a46a1ad6a2b037fc3b7a78ddf20279960162256c3f
MD5 e7324c75719f289c427eafdff77288a3
BLAKE2b-256 11029fad547da147fbda63b12e0798e1df8f86b2dbbefbc59587a85f995fa17f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8dc3a761891bda0d50091de24e5388513378fb8517049468e817d62b8729d164
MD5 555f5f7159622882911b718e64315f7f
BLAKE2b-256 ccf71eb8dfded66471952f5ab1a5041c04ab85c8118e62f99d04d7b1ebf4223a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5023c0192d3504941adbf46a10c492e443399c3d85d4ee7596946a592ccd7aec
MD5 55f7666e2192516d48e0d08db441daab
BLAKE2b-256 b12651d83a50496937450c7d90662566d477605d622a5a1c2f615d8d8e4fe37f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0f3ea28c90799a83a3e8c60702270a9530337ff281f3953c0f3772e0152c684f
MD5 801efb619ac3ee1c381b1d03b3b12d7c
BLAKE2b-256 b4d9c747847e32abe88ecd469d56cab5109ab4185fef254098197f8c108f7223

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ce9f25c917d5234fb6cf2d84fa045715a631f3e1957b1c35b766de11d0331f81
MD5 2b97775208d1cfe1ebb94b01ee08b312
BLAKE2b-256 8f7dc7678afe85a6880443d0552a403333629da2e9812d00bfe083eb0831a3cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 86692d0e0052fd951968596926846a3cdc30834ec6d0df74b806cea17176a2b7
MD5 a3476273ddaabf76a3d5805f691cda23
BLAKE2b-256 c0123c5668d64fb440bdc005188ffc4a320b1707cf7bdc45ad388914c645be3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 62205e862096d10b409e0ba9aeebcba1554f3d1d658343a8526dbed2e4f93136
MD5 4aeae585d7cacf7425ca8cf7121e6843
BLAKE2b-256 cc5ac9f2e3a98009e38806e24afad8fe2ba3dd3f3dfd3b09987c1494bed0fea8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c0a2e59f57ca8fd862da96acfc9cbe0fa72fedbcd6b2df73b30c086587b5d2c3
MD5 36900f1a4952eef4f8d9e5501be5b235
BLAKE2b-256 20c9c1898efde77e4be585817f1d4927d1224c9374fb83ce381095d4315a9ca1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 37beb0587ff21b13bb85ae57dd7c13c484ecd3fedd609b954f53b6fc44eca93c
MD5 2a80b7d26ba7bc4422a8c79c5fc1f0c3
BLAKE2b-256 9191aeee237941dee9d5c9fcf9dd0c8acf8c510430649495e485b8d941ab060c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 019c29d094a21c4548064a3bbd6e955a79071947377edb3d708f912d3efa7826
MD5 41e835c6ccfbdecbbb23f081d3cf1f35
BLAKE2b-256 ac0f7efe968fe056477327ee372dc3be9157ade87121463e6db7f6907d5c2d6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 15015d5b6ae1d53d2a03d98a35465e9325ff79cc2c82ebbc11cc14ea097b3910
MD5 a4ce40d5f6be112cd5f50155d2425e1b
BLAKE2b-256 9367f97d15c29d6232e21540c5a6646f84905ac22a6e028196eadd1818833a01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fb9f230236bab234b6109f8f9964703a2ead447422a6382b6ffa97d112c8d105
MD5 162069ac3dea0715d873e451550a9df2
BLAKE2b-256 b295bfdbe700c7da532695c9255d9c00b28ed96d4d6951a185bc63d4392d9b11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9860acde77bfe625243609db85b3408deba14b4bc2957f67a8009458fa8016e7
MD5 fa7ada30c082a633b7b2106959201b27
BLAKE2b-256 45f5b4d9c1c396cf483495fd148a5422cb5519d3c251635b30ce3182d3f134ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 710e429f6358bebe4863fc26c4002e346740b6c74b97e0c74f29a59862e3e4e9
MD5 a2a5014011a8fb43cee70aed20143cb2
BLAKE2b-256 edd5ab4746425a6c34ea7a443b04c343e383e647c61ef5d444bd41c09f5f335c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ff144557fc714d592c68481ede017adf6463bb03def380678e365ab9d894b16e
MD5 38df34e05aadc14c3f18b4a376c07b10
BLAKE2b-256 4c5e48f6bd5c081c811547388aaac7f35fabd5b593e01f7d6183998c6e20dad7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 800849c03c7d9aa0e7c33a7b13eb8837248aa9a89376ace01654c8e142911f77
MD5 f448fef426a5dafe7f3c6eefeb7a34f5
BLAKE2b-256 88a9e847ef6ed58db235516fb889c8dd67c68ae6b8745b3359d003fe32fcbd24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 13512d83484ee19e85305fd26c6f3b173f163bff52cd9101bf6fd9a335bd1f4b
MD5 a2de18f3026616071b85e6477cae9a60
BLAKE2b-256 00b5adc64e99252114c7dfef5a93047e497194bb0ff100661072aafe19cd924e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4a3d6da01b0e08b2e2c58f76745101941bba0e1525f7317353989b21334fed50
MD5 026509ce9bb74a6e7ca48e9c62c70298
BLAKE2b-256 bf905ed19259da9ea5e3155a3fc72205f1984d2d7d1472bfd2c762eac50f46eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a3b458e43b0776313ed7b95563cfe940d5b690e85eac8b47114ecb410687c156
MD5 6462295f26b91314c5524fe7d4a5760b
BLAKE2b-256 954721da514e248fc1a4a266cb268d094bc89d2cbc17c46ba1936d33e5762808

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