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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.8.2rc0-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.2rc0-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2rc0-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.2rc0-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.2rc0-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.2rc0-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.2rc0.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.2rc0.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.2rc0.tar.gz
Algorithm Hash digest
SHA256 39756d902f93c97bea3c1f0459ed706933eb139fb9ee49dc632132af59f6e7e5
MD5 08086f4aafc0aa16b2bcea1e18b63287
BLAKE2b-256 297a624e3101e53bc3a7a09c3bcb45f3615566cd4c872c7d2b461f00f021717f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a6f2d4666ccd1c882aacbb40cdce7556356471b7900f5cac2202aa4a85155071
MD5 a4ade2f1ddd507dc38141bf68fae919a
BLAKE2b-256 b2e17ff3cf6c2ac879e689a38fd89652b0200662f5f7d4b1518bf06793f024c9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9d9d389d97e2c2c44d533b211f2084bfce741a95004ddbf86a993b94c2c267f3
MD5 c0dfc24f3d3f016081dfc6fd9c262aab
BLAKE2b-256 bb60436cd8d0dada7558c08edf18f86e3493a5e4518a3f50b891d455d87041c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d73a3a313287f39f6d90d70d8303d63659c88ee2abfa2b72744964532c6468cb
MD5 e468e8fc06003d41d454ffa82c3eb8f4
BLAKE2b-256 f0a05ab037e07ce33510f17f3c718fcaf62a7149ad19b203619a67305512dcdb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b9e651670e1eafdbf9e694492137474c0f68ab598c306183be9786ef8234cf53
MD5 233c163f617341867910717443fce83d
BLAKE2b-256 3be3b2890b7ac412c030450ee101ea602ceea54e63c31a2726e098001e180ff2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ae3fee56b27b13d818dd34b515559332657e6f651260c4356e82c046072e4eed
MD5 0d0d94ab3359ff0fd04d407077194175
BLAKE2b-256 f85dd18b9937e09d9f80d326fa2f5682fbefc30173d967a870dd8a7ed4c71e57

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 366d9795716c64b01613f4fac7f53d3d32cf5ac799810f88d1b19048bc88dd20
MD5 b9ff2ca4382f5367775b2ca2db5bd126
BLAKE2b-256 4070a16711881fd7972e738c8d7c874b0a3d9c8348a7c5c86afc8b2bb6114403

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cf39e24ecf8def085fe88aa51cd50990255e76d662d8282091afeeaee9326d44
MD5 5d69f72718d4cf98afc98a2252695d0b
BLAKE2b-256 c14ecb46e2f4c0734742afca5a6f1068a60255de1af264d787ba5067902bba31

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c8ec077c059f66a48f87b7bf935275966e552c4443f1151d4a910a0e32de29aa
MD5 5e8ac0cb358b54eac5b8e775ad4034ff
BLAKE2b-256 a466cbdd496e993855aee6acacca7c5e96cec328679b8df98b3cae7e885be8cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c098f22bf8fe48ec3e29e475b014a1b0cf7b5f67a2346cf4c6760e7b68385da3
MD5 5182d708eab19daf3e8dff2d92e3afa4
BLAKE2b-256 63954fa9c5736f8b48e2bcd9af58b827d0e225e899145badc3b969cf078875f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 26ad8687da13a7a30c74989a47a6a89320a20327c12623e05f398fd96fd366b9
MD5 d0d3e5779705b302c7c6861336835de2
BLAKE2b-256 4f0b92ee83c81396ff6af8b604c46ceec60938fb7352b5dd376186e6f6311462

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d141e347d801b51b3ae8e210e1668346ab290fe919549ddd5f7e3d3e2312693c
MD5 15c05116e738e449e77b06b822a61968
BLAKE2b-256 71439ddb913801170e804cc1e20ec20ce45f00bffc94dea11d5ac6aa5b48f722

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e488da45043684fbbb5891d660577f178317019f9a919bde66b45a9e339072fd
MD5 79fa4126ddae51e6d543cdb114edd067
BLAKE2b-256 1ca3021ad227d6e8ebfce5d2709a78d445f53c15547eb3f82f2bc4c5b2bc6539

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1564c22b49277b05b1abe6a9046ef1199809e3d7c5ed618bff61540071d80d57
MD5 e27e71081ca7e7066d1ef45a015baa40
BLAKE2b-256 533357aea272f3820438ca4b30b57d0a8137ff78c1b0afbff545948c754d145c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 11546e393a06b0cab82a5c27bfdc05fabef83c6af2b204e17801c7419fa38ca3
MD5 f6bdd668c7be35e7b4c9b11572ab52f2
BLAKE2b-256 d96a6c495275a17a9569b0beb04df1bf352ad7ef27b307907c80499019fd8dd5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c6f62378f4bc7924066cf196cb81a63fa62bff57f36fcc4be41a0435970c7f9f
MD5 db0af9a4ba2b9a0c0d1c1fb3877a1097
BLAKE2b-256 f43fd76faec75ea8665202b09039c3f0e51b8f90ba73276babed3e0123324004

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3eab5e14021eb6c400ceb446e974b87227b8618afe18828b38e8cb42566024a2
MD5 86b968a6aa63369ba9864ea5176534c9
BLAKE2b-256 aaadc3085f76b65d32f63b647475effb3c1865315ac3108c4b8fd0c0d58775dd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2732875ce144627776dca1aebf1a3ceb19a569867cbc0068e9c23a1818566a36
MD5 a32df9f66bcfa50a52786bafd4361219
BLAKE2b-256 88ab24a837872ccaf1e2606e4ad7ba1c4ad5950bfc658b064b652e5a3c0d739e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 45a6aca80e4afb5c6dbc42d7ad9abd1a83347dd2d2aaf67d06227db9af059a06
MD5 cf6ae7fd9a2446d2279a8d6f6cbd22bd
BLAKE2b-256 bdbecbd84384cb99cbbd1cdb07429bef737f44a8d43571361297873415b4dc80

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