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-2025 under the motto “Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB”.

The passagemath fork was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support all major Linux distributions and recent versions of macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or virtualization.

Complete sets of binary wheels are provided on PyPI for Python versions 3.10.x-3.13.x. Python 3.13.x is also supported, but some third-party packages are still missing wheels, so compilation from source is triggered for those.

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 sage.all__sagemath_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.6.1rc4.tar.gz (4.3 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.6.1rc4-cp313-cp313-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.1rc4-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.1rc4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.1rc4-cp313-cp313-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc4-cp313-cp313-macosx_13_0_x86_64.whl (186.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc4-cp312-cp312-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.1rc4-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.1rc4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.1rc4-cp312-cp312-macosx_14_0_arm64.whl (176.4 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc4-cp312-cp312-macosx_13_0_x86_64.whl (187.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc4-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.6.1rc4-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.1rc4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.1rc4-cp311-cp311-macosx_14_0_arm64.whl (176.3 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc4-cp311-cp311-macosx_13_0_x86_64.whl (187.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc4-cp310-cp310-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.1rc4-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.1rc4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.1rc4-cp310-cp310-macosx_14_0_arm64.whl (176.5 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc4-cp310-cp310-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file passagemath_glucose-10.6.1rc4.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.1rc4.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for passagemath_glucose-10.6.1rc4.tar.gz
Algorithm Hash digest
SHA256 c6ba84b046a6f36801a4fc0340bd4982e26fa0cb9a1f31a1ba98afa1f1a776cc
MD5 09e6e2abcba4bacf4047b92ed797567c
BLAKE2b-256 d7a1dea18348c85b806c2db816002afebc47a52e83ed6e9aa8dcfb9f303068bc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 89814b51f4aff9580204eeb278555205c2b816b4dc021afc1548944b675935e9
MD5 2f82574a1247bc3491a94b6780527c4e
BLAKE2b-256 995b606e5fbdf9a792b3cf6beef9c876217003d580ebfd9a80a08c9e6fd89949

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 71c04db1eac4e6f1a00acc2694488207973f07757657192fa19cb08f4b06532c
MD5 893bca1b201f96d021182b7359731c44
BLAKE2b-256 d7201dc255e69daec91b93eb64efd2f4640e11dc9af0a356a9fb797537d60a0f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2fdcf3e05d90c441831d57d14fb3af80a28f169eb8e0037ed2079955ea5a6e6b
MD5 6b713b3d719cde144e617c42694252ab
BLAKE2b-256 8f9f4cbb51ca6baf3d2bba197b9e58d873c187829ccc31e164b6137c7cbeaf87

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f2fc41f94ab767e0787c7775dff3ced396f8928195b61ec92aca225ac9d7aeff
MD5 07400dcd03b1c0538159f9eeeb2c6c37
BLAKE2b-256 4afd5b446deca08dc993500474f811d40029d704e63e9d88dd57b0e946b5a13e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ac4181b94ef93069e532e1cddf051c988c9235ed453c925310533fe15fd749b9
MD5 4334fc078924fe0c9a01eb5f3ed369c2
BLAKE2b-256 8bfa062e452f267c78fedac055b14ead393a67f9ac5a0f3dafde5ee625712ceb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cd4d48e3da1b3aac7896c52eab9a567a9103d1675add5f5a99e6b936acbbe0c7
MD5 aacad27e6c3b148e7cef8576978974e3
BLAKE2b-256 93bf4c0abfcd8e0c1318b013c91cde556429ae9fcd8a40e278ba2f2a1272ca50

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ecdc96fbc61dc064a53bb5b983ddbe5bf8b121a29f440c02eeca2fbd0eef81cb
MD5 5bb33c8bfffe2a2e5430019e29305509
BLAKE2b-256 9414e2226307641ae979b45f249c973b2cb63294d2934500da225279d45ce322

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c218a1a489b383cb66a5483d88644fa87eb34efa42a1f661d7f3b85c6f7e1f69
MD5 0003b181596764c8c7110aca7eb71541
BLAKE2b-256 8f3461f257e459ff7c8649b31f550348f7298c3c9d8d53ed9883a7991e721b0c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 461b3451a2beb70a6acd67e0b0be24ae2c885973f40258988d204b21111cf504
MD5 ea17d7b8f2781f4a6cba54fff99bb95f
BLAKE2b-256 bb902ba0de3ec9c66ed40ebc8e77d4372194cdce0b2e5fadab89e218d2fde44f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 99807567002ceae283bed85793e0d8b5faba2d212c6fc90c47a83c9c15687b47
MD5 99d7926da99a53a2e3d6bc56bb8044b2
BLAKE2b-256 2dd249f410e6478a9a09d396691fcde6011af683282413444a5788b4008f3974

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 142139e290da83f54c5ca1b995387e905dff760ffa82e341650761544109eee4
MD5 72a1ce68bf8aa8b296600adb1aafa967
BLAKE2b-256 553e15c7cac76adb916130e0a6003921a76f4f1449a08ea14c83f44d4de23989

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 29780966782f01dcbbcace2453173100e0915a1ef4b6ef016ed40baa5aba41c0
MD5 c42b129fbc1af952d8604bb787799b27
BLAKE2b-256 2eb6a0a7f9a5d679838825a0970c7b0748b4a2eca9b2ef8beb6d38e4fef5e9c3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fcbf3254688e5082605f8822dbc160fb21b19dba0daaba29c99a6d70c38d6866
MD5 7dc125c1b724c591704dc9dcd27ac917
BLAKE2b-256 1a724b0c30dc37df49da1ece2a1a231478c37c5e9fb9c1e01d9483025010a52b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 feeff6737900005d15f9e78cf0b42496f2f66a485d99b87e6b8b5513d0a546a5
MD5 17a5c5d008da5f185f0d9e7fa2867699
BLAKE2b-256 0817be021ef0ac5ad50605b7762c47e95fe93c8daf318022ce67c124a3fe3f6f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d0b5daaf631b5ba6d8114102ddb7f93e7e205ff8866388b7a3ab7152fe5fd0f6
MD5 8d3323b47164f55f2b1b2d1bc7bdf1cf
BLAKE2b-256 47a9eae5191b7d1fa4782554a521acda1c87f23936547e65f3f5cc96e7b75cfd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 709e8f294fd34c810bbc8f3c648861b528b1988feb918b59489c058fb513a195
MD5 47390fec925461189b6525448b2041c3
BLAKE2b-256 bcdfb02b9b93285875ef2204847988a69362c21c378ba8753248c489267ffb00

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d732335064ff84857f0d3460f6e128e04af8d15e318363f2fd2bc53a707e134b
MD5 c2dee6fc11abcc4be0e05ef296de291a
BLAKE2b-256 8d78c7f2df804aaeb0ea951f81333f911706967cd78bb60439f3eb097032ea38

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 993839208e9299b024d1d382bbd158f44648973960dfb6c7d2da419092a8d308
MD5 96675969cf9b53ceb08898dab31e910d
BLAKE2b-256 50f5b8eb2824ae47e12e688736cad22dbb11717ee7a523f9fb321e4c6d51cd8d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0691bdd0a69d9c592dbbc6a9a215f63266e81f3ec438af8109f291506e013fd5
MD5 c8db0b832ee836b26cd62a5dba2aec15
BLAKE2b-256 6bd8189c2bdee5793e3b2fda6cb9e16fd3b04ea9cdbc7586394eaedce8101292

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b32c037dbdb8d696913c148e78ca8eaa32a72dc9bce751aff8f774811897c513
MD5 a3edcb9e79af65cc4442c9ced3f4c5a5
BLAKE2b-256 93f2c979793370c0a5dc16dd42d2b05745273fde21db35559eedab5ff8cb63a0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5c5cf2e21e429337e424aea1d24928cf9e8c0ad07f7eac946c6dc5e87c229b31
MD5 ce3c32904983386a3b9c3dd53036bdad
BLAKE2b-256 2198d8e47ff90f295c61fe5eb2682c4c0616eefac387bafd8a507796c062d085

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 95ceb8ad44db5828436016ffd6ec8545db50ad2ec8100e1803d5b37a1a1afa33
MD5 6a57434353e359c6767275fbe4fc3222
BLAKE2b-256 6f26174e1b4509601e31b5b9f2031147e790fd655ec308c4039f4a9b287e9048

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c021acc7f9a185b495e5b4f72bd724346f969c93b490792e05f34ef3f8c92eec
MD5 31fe0219546445600922d67fbe0977a4
BLAKE2b-256 0d373d57abc64befc779371b5b7147976879d9512787b687cd33ed58f9ef3ecc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc4-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc4-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c4a1bdc89ddd69d581b32b17e83de0d52914b1156b7af687282d0866852a3434
MD5 86f9ea5a6353ef54f6d3e791f3d74742
BLAKE2b-256 6b770b30a52a0eb2209affe9379f29214256a0d742c8f980336f942dfe2fa16b

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