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 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:

Full documentation is available online.

passagemath attempts to support and provides binary wheels suitable for all major Linux distributions and recent versions of macOS.

For the Linux aarch64 (ARM) platform, some third-party packages are still missing wheels; see the instructions for building them from source.

Binary wheels for native Windows (x86_64) 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.6.x series are 3.10.x-3.13.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 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.4.tar.gz (4.5 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.4-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.4-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.4-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.4-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.4-cp313-cp313-macosx_14_0_arm64.whl (176.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.4-cp313-cp313-macosx_13_0_x86_64.whl (186.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.4-cp312-cp312-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.4-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.4-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.4-cp312-cp312-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.4-cp312-cp312-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_glucose-10.6.4-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.4-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.4-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.4-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.4-cp311-cp311-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.4-cp311-cp311-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.4-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.4-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.4-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.4-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.4-cp310-cp310-macosx_14_0_arm64.whl (176.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.4-cp310-cp310-macosx_13_0_x86_64.whl (187.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file passagemath_glucose-10.6.4.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.4.tar.gz
  • Upload date:
  • Size: 4.5 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.4.tar.gz
Algorithm Hash digest
SHA256 313fd27a0b3175613266e83c0fcf120802b7a05f037f60141366a7d1932e2f1e
MD5 94991fd74b0832ffe259c34f65d6674c
BLAKE2b-256 23fda22ccf81055879c9beb2ab25bd26b0c7133ae054379750cd7a8aa7c51a5b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 73e1d3b777d1d5f9cf9cdb1b36a8c41448141d21a9145a84182165b5bf8fbae6
MD5 ba1a679c9a555b6dcdaa074090b1693e
BLAKE2b-256 832a138ae1065f3c9abe3dbf1dc5782c782e1a4b8cc18b661134f0af3614e3f2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 abaeb8e268a9427ed1122b1b09dd451d54ee5705d40d426d1f281faf12387f9d
MD5 0bc83d3b1e78db48bdc93133200d4920
BLAKE2b-256 517578229b33fbc58284a17f3dae610373bb0e82c5479f730efa4a4775329631

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-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.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 74dbd3637ab874cf69154d57c6441e512f8d764077ece5fe625a19439d4ce22b
MD5 edea7c7440f0f91c62edcb501527e42e
BLAKE2b-256 34e145dac97c0c6e6b352ed8c68b7c47ef8b391d3ec8b82db5de2ad05cffab20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9039b48a08995758595d117252088d150f7380d9063f4ec3f33028d9326597db
MD5 9fd930d108f78a6e25e9c148100e5f3d
BLAKE2b-256 798a1c8ecafaa33de57c194a581df6b6cf80969e0e0557dfebe47de47f58ad20

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8a11ac13eff55a6dc2f59bfa2ef2f5fa374b74aeb1ad2e0b001cfa5f335177a0
MD5 515760446e6e75c09277a09500fd4442
BLAKE2b-256 6e2bfc46fea5ddd22ddbc1666fd982cb2ec60b0ed5f93db8eddad77da14acda8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 30ddf9df43c139bba23232bee567af9e5467ca56345cb24227680468f9e9d0a6
MD5 6db142123b63fe32e97c4b06b2856402
BLAKE2b-256 4eb4fdbb61b209bbe8f1a6903bcc201cc93954ac4fc70ff038f51e309c8b1c19

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1e7f1afa755ed6630ab4509a505b42a518ff096d2814699bb0fea4d8002921bf
MD5 fd74c7f22536393b2c8486bc79a1a7e5
BLAKE2b-256 205b122912984a5a16d634b5b8759337ded134a195c7c52d73469dc064f4e75c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bed944573d42181750b5c96c2a22aab763692f405729bee447cd9f23effe4cc6
MD5 89b6a3e38f02c4ede3155a97c45607e4
BLAKE2b-256 caa1d40cbda2da76d7ac0c6075929fb81ec3a677ebcda80643c7a15e9c3f3b56

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-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.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e60704b9d3f9ed556327e81d062b241d48b856586b53c86ea196cbb6c76d0436
MD5 79b7625f909650f1a5a82c7c1d6ccab9
BLAKE2b-256 dbb100a6ff079d0a7b394b8ea5f66eb3d0141f78038cc511d5b06c0f42dff08f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3d184e11fc1e96a540584118d47bede971875e0c60ca07a68f9b2e8fa9121c49
MD5 0f5bbb4301611209fcb4a5843cc01489
BLAKE2b-256 a572f3cbcf9c3e11879ee1134f24a664d7a547b6267ae78a0aca10475479b0cf

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b25011a9ba46694581d7461b81fc1f90ed0ba9344fc0518ae5d95039018beefd
MD5 69c5fb22fe9b37532dcd382a7e2acecc
BLAKE2b-256 a5fc15dbe483d0a50b753588042d4689e6e3b8362712fd94a5950d362b841ada

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1d2de5383b1cfa6d4ed62ffb360fe487935fa1a9a9172b0902f816225f414637
MD5 2d52f085c8a0d297dcadd882eb3d18a7
BLAKE2b-256 8ba2f1f6e65e092db6b028803b93391252bc257e9c3098477412fd3c4f835bbc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d9a8a049c9748b9f74cc1a0a4ccec24777f69074c1a5b84ef94879a61f63cd62
MD5 65da2e4060960620a6f14bb4cdb1b958
BLAKE2b-256 444b930a19d67901a736e116d1c5a74497debf95bc2f67cae22b0ac87a89ad90

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 798b2ef59798283e67a6cca24268afa3460f1e7664b6fa740ff22d5bae2ae0ce
MD5 43e4c9b7dfecca6e679f827b1948e773
BLAKE2b-256 381474f3472c32692c864a997ab8ac2700e74108700b002cdae9be89322547e4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-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.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eae2a79c90c688365f474bb64eda4a0cac643a4c5b75e73ffb468efabf4b6cea
MD5 7a94621d5ddc1460eadeeba7d9c45298
BLAKE2b-256 8c4950a07718da9e03c24adda3228c4fbc18c8fd8897c9064a678cfac83cb146

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 034b656788dd6a9ba9771823eabe926228e68778b36013951c23f009a6082a27
MD5 990623aeb536e4c6f670e8bf2822f2c6
BLAKE2b-256 60f41ae1a8148df760af783e8f8867d96246d68863fe8ea41b7bcd53e81b198d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 02d5a88e90ee241a6e9056994e34981e818974cdc2f0379c463c09f922ef268e
MD5 4966016fcf211a21ca4010bf6089927e
BLAKE2b-256 da20bf4de26deaf375aa577e33b0d5dc835930c12824baa4f1db90e3c0d62d77

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 00c6923c020ba5af45c3d86a6dfeb091d96011b93fc3a09c90dac26a5abb558f
MD5 1ddad6a522bc4353d90167cdb733a934
BLAKE2b-256 28eb8e9e56dd176b474ea0b44d6848da5a884424fbdedab4f236cfb412fc402d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bddc0b55af3e02483d5fa69f4290cf7f3db2027ad996480b10118b21084b6234
MD5 324128e487a7732eeafd45d8781a7f84
BLAKE2b-256 40e1e6420f7a285238eb3ecc6a9134fda1dcb729d31c9bd272eb4a558406df0e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 759b2573d0562800c2868092fe489a03395ac5201b96fdf5f4b012ddca83a114
MD5 70eae7086fab8840fef762ca7f71e47d
BLAKE2b-256 63ad7aec133ad3c7fab51ea3e03fd7d61472f1c12b8221d8818a090e58bce8fe

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-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.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a524847e15a3fd758b27c8d2299324ba91591847cfc7bc43b4f2f23c5264d0c2
MD5 63bdd162ecb622f4347fef111bba99d4
BLAKE2b-256 1af3292d9bb00dd2ec9c8a389557763d3a76cc4efd221a809b091693a9a60f6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 88922bbf7d8dfb0ca9a013df567004610576d3541fba46d2fd2f21268f90694b
MD5 008f5da231a090c80b42ea8f2a333ac1
BLAKE2b-256 0afeb83f77f666c35b67797897ef8bb47273c11165cfc0d9e0deabb911c4ee9c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bb093672501fc15d7ab61f703922a8df827383b99330184f02942993c8ab765d
MD5 4c9f37e3c4e70d84ea3faf79263dab72
BLAKE2b-256 3b58de27ddd0c3fe933d8ea1e211823f12400a612fbeea40d9e429b22b935495

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.4-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.4-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fbdbc23960e4be0ebf2ace14b3c407001ccfd1f5f4ae85584a272becf707c131
MD5 875426df5b24acc7f5af700f4c85869e
BLAKE2b-256 92184c19ce8e4d3fddd66d3cbedb0ce84e2a5e691ae692c23d25302ba0fa79d5

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