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.1rc12.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.1rc12-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.1rc12-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc12-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.1rc12-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.1rc12-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc12-cp313-cp313-macosx_13_0_x86_64.whl (186.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc12-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.1rc12-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc12-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.1rc12-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.1rc12-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc12-cp312-cp312-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc12-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.1rc12-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.1rc12-cp311-cp311-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc12-cp311-cp311-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc12-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.1rc12-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc12-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.1rc12-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.1rc12-cp310-cp310-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc12-cp310-cp310-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12.tar.gz
Algorithm Hash digest
SHA256 458ba794f3b9143d0e872e169ed0484b4c178f3b9fd0ff4b67dfa5b3c335abca
MD5 158635b95f3bff00dc12610ba22d246e
BLAKE2b-256 9313eb3b9c31dc7d3d0682d065ae1395b95ea8d13c14c6caa5f1ba2369a02bd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0bbef9bb4e74d6ec8f61c87cafdf161f60b0f86dc9acf189091d9a9896ac7ab0
MD5 5bde9595c71f2c680adbfe9af6ed56d9
BLAKE2b-256 c5cedca0ae7ecde10281bf2f2a7b2b413c65f6eaae2626e6dcd66acf2e79b53b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5f463a4b5690ee60801c04a26d16833022adfe455c17c598d0280f135351f84c
MD5 571550c4f3cc9230abb6375d0a184bdc
BLAKE2b-256 b2c3952e22b80e6e7c1f92ef139478f49bca19f7309718a6889ed8d8809fb5d4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc12-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.1rc12-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9eb14c1894616b6b1a8b2bf1db9d43104ea90eae8fea7f236e7a13a12afc8387
MD5 c0f01846fd71e09b167db50ae9ff3bd9
BLAKE2b-256 4eacd1a7128a8d860ba8ae6fe3f09d0310e2f6ad6d30a85d199c71dc47ec7c48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 29fe3ff86d7c996bd44b4222f2886acf7b6816a00bdcfb8c7dbebb5ccf51da7e
MD5 bd4b3ea38228d19281fd1084c13f6ddd
BLAKE2b-256 07632aba89f84e580cca8c1839b17479b8f475e368869996630338685b3d5b44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 90f1b3413b1fc7f5149c512874d75315422f33fe1faa6ebb8f77f5e8fcee20b0
MD5 9a159ff81748e5a7d2b163eb74d00c84
BLAKE2b-256 16708c6d5ce2fe31fc80e74d5f7f27592c701e6b814f377bc3b254895f4eb0ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 46c4ca9a747d0496c1df23833aab86a05c997d635c6eeed3d525d864e90a8a24
MD5 ddc24b074b1e06e85d5bcf36e9a3bf22
BLAKE2b-256 1b8eccd41bdab8dc7b534f6ffe59cabcc1c5732c413d6be2499b212d13580ff7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8e0bf07c4c41cbbef303db4661e19d74d5759f456079dc2ed782861cdd97d0b5
MD5 92bd845934cb3d6d22bdb6d733f41e05
BLAKE2b-256 090bc53f4f87bfb83c4129032bfcb2e9e0efe3b475021f219e6e63bceffda9b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e93cb553a5cddff9c2aa524c97882969f37c39d29878e21eab35f9ed2d8c0730
MD5 abc06e56689fda07ca33862ac8a1b2fc
BLAKE2b-256 f608581f6d431696059cafcfe3ea4c255c67705c30cad24616b460fbf6d2658d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc12-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.1rc12-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 64d28b8eaa833b0505a70de17c9d4c75eb841425d848599a03c668b2c1a4feda
MD5 3a2a290b2807d8825488a7d8773900db
BLAKE2b-256 90f2c295cb330c17ec14d6973d8a9a85df19cb996ee8de312f3066486ed56878

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c7e01a7c9367f2e2a351bd2daacd973085c59c92adbb9425e63ac6758518b400
MD5 10a36971f252f046895ac226bdd7a452
BLAKE2b-256 0c815eaea1ea1bc8cd8580fa1f2410bd89742c2e56cb6406a6d2d3d95d6e2d3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7be3c614b881e639cce8bb2c65b44a8b6c825bb207a471c0986aa78a015c6fd6
MD5 96995c76ef2560d0f10de039a5d335e1
BLAKE2b-256 3e9352ef02f44a779e9613d597026bf299ea5b96b45e5ad0336516820f0a2171

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a34af9d896cd641fe2246cd9cbde285e744626df4447b3af94ac982f8a0a1e7d
MD5 31bdd9a565d8c819a39fa0a914dd6ee1
BLAKE2b-256 dddd93ec67c150bf7537ad5d400face245eb6c1bfe025311744557617da31fc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9a3ca73b7758fa823699aa20c604526fe37446c253ce2f40ad598c9733a35f17
MD5 8f176ccb3787c9ab3b8d1717ffc3aea4
BLAKE2b-256 3adc0afb93f192c1dbad6b555fc0938730e31c7548e5c6c9f63a717822505faf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9d8e2da6dc3e48af636c4aaf283a7a376315faac8acf9acb8fc64e18b36f50f3
MD5 3ec132ea4634d524fe04ee61aaad5938
BLAKE2b-256 fda4914a90b48e31136c79e27e22a917487cf3d39a8733d2f00f46a8ed8217c4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc12-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.1rc12-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 80504cdf54b5e1a11d8943f990ae99a80bdc46a0f28971ca40dd90ffd34ee1a9
MD5 c214a3c072467e9ab5089ecf18cf88d4
BLAKE2b-256 74e2dada73ac0ef42a2c376a8d03f8c395a92887805c3b5ab6f3a2e12cea902c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 365a9557306029163ac4863ed2002b97c3361e8d46e45f9db6294c66af0ce9bd
MD5 c33b069352a2c33ca770c758928fefbc
BLAKE2b-256 e6e8ccf7f1e030b63a1d45624069374dcbb637a185225ee38b15096d546ed0e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f9138a2a19ccf6dfa58428f66f34eb8be04f7181fb411e6da6f9aa67b20248e6
MD5 e68daa1cc3a354964c0aaf4e180a49ee
BLAKE2b-256 f998ce2179452e8c58af6624e4015e739ae9c0752dba29adb039c3a2aff6a90a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5f73c301404ffc89474e80d151f1ddae7bb9eab4fd69087096027fdc33cc83b7
MD5 d011134847d8bc4ff8ae9655e11c5291
BLAKE2b-256 70d04420167ac8e821a98fd9d21bc15e58f0a6211577fcd7b97126db81560151

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1179978fb9f3a8abb61acaa76d073df857fdcd0378c23e69d7cfea53e7667def
MD5 84e436944fb623a3d24a3b2cedb7ddf1
BLAKE2b-256 e163ba0decc139bb60f94d3119dc07255a7d3bcfc6ecc0d35777c8001d5788b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8c868c488aeb374bc4293605b005d5a5c487e4146a444ff2a36bf225d09dbe21
MD5 e06797f2929ce1fb85306e861d75c9ee
BLAKE2b-256 caa64d339106a58ba24a2b769398c45a32d73d8144970c1c3db6277ef5b54ba7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc12-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.1rc12-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c92703a634e77dfde57f0415378c1aa32409ad1b176a65af34f5add6a0615867
MD5 a0a80b99e0abe05e745d9340d5ab28e6
BLAKE2b-256 8ea74542e2d7fbec9249353c965663c117d3d4e515e8dc3841fa488cee32f3af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d8ec0be1ce21e8c786f9f64d6e9640cce97149fd92b67d1b64f773632d956485
MD5 c57c3a4171b0f11758d78e73e272e86b
BLAKE2b-256 f18230be629de05778ab5ea46c2af3fd1c9b1e1f73af7fc3386417390f32cc18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 792a522f80aa04f69a38cba353121973407e984960162630ac3f552c15910453
MD5 e030fc84b61f074f13387cfe9be0ea1f
BLAKE2b-256 97f1485ae7f20d8405cbae83153ea6077ee76a0b2e583567ec35801e1a88aa64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc12-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 99a65fa6d9ae6a73fe6782516131e99ad6a849f91f4cd2ac733520eaee784b74
MD5 f55a45ea4550e9101011531b3ac5773f
BLAKE2b-256 72ea266809951dd0fecb487a551b732801edab240de23b5bb2ed7901cb8479a7

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