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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.5-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.5-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.5-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.5-cp310-cp310-macosx_13_0_x86_64.whl (187.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.5.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.5.tar.gz
Algorithm Hash digest
SHA256 bd7e62bf55475c979f6d6deccf6f8ec945ca9cd40081d479d3f9ec8350d00da0
MD5 dc861e7234dae969ca1fb4bca97cd3ad
BLAKE2b-256 1533d9f7354c249af578b36c5a5d84710ab73c0f92f8a5228fc47dbd907642e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 71c79f7cd6723851336883798741c54b271e928f6bed428e8ad0e2329e247556
MD5 e3570afc438c963183755fdbef32fb51
BLAKE2b-256 ee748afab3e664145a00f661ed3b2033c118fcd70b6cb16ecd23385bb7e061c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7e09ad7c6dfaab71b5af91541f294af12ca423b6f15c76a00588ffea55da2a8d
MD5 da1335192b06da8b278b684f333e0834
BLAKE2b-256 2eca73f813e100042dfd8461905f8c9b8d8b40722d4c4a4b4a06b95993b9c45d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.5-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.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8142a6fcffa46b8a73ae41554f3ec6bba2c9a4d0e09300217e6c6eee2fdba62b
MD5 6c59a1ca607dbc9665083a6deb0ae0f0
BLAKE2b-256 4c235f18c19c905e12a352b5a1f4359de378bf1bdd8d81166b204c6cbd7b9ff3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 788a939947876957130641e022d2913d5058280d4d70c68dd3bfb91728d15847
MD5 e16eeae19653d9eeb5e7a2a8a5ca21f6
BLAKE2b-256 9df4fcb550d7f33ca98a8056ec8495cf0c7cfa7967f69a31a2dd61929d9aa749

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d1e06a73659a9dd0a14c6f5607def2c8f5cd03bca25d8b99f384ad2af65e7a3c
MD5 58ffdf5e8d19639276c6d5c413c2622a
BLAKE2b-256 a040738acd99559df3c3c474eeaaaafd0e87466c10bd596f92d982014ca6b79f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 82455b5c6bcb90c5783df7f33d252a2d43e3a225fedafec29e201cb8a8e95b3b
MD5 aeef1680cf8f93c6fb44e5a1bc3095bb
BLAKE2b-256 364aa6b274ef24fe969247d15db1aa7482b6db09d37c3ac6866d04e8ca064539

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 81233a6cbcb00e331fa24d69b7907cdf35fdf751631101650874df6c630cf49e
MD5 2ccc4ac17bc24ced5ac3baa738ffed6f
BLAKE2b-256 ff18490dcc5091f5f18867488be42bdb532bad950ee965982824a0b324f4878a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8292562524e281450deb54c4b7e78be284bc486ae11412add1f0f1dbf784fa2a
MD5 03af43e4a6ace43a7710e4ea9cd69f98
BLAKE2b-256 db02b25b34a4a615197d397b9a70e5fb31df2d9afb2a40f1004fd7cbaab89aa5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.5-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.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3dd71d6e195b07ab447ee3f4f415b1ac2a8588e423eaf89ec55d7164ea2c20d1
MD5 b2012963bb27dc32be736d3633ba2e0c
BLAKE2b-256 0d144a90a431804d28a6f71a87b170f4087bb4c03faee9f840a5515b738418fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0164a7f4654e90c1efafcf10e2a92f32c8e744b736e1aa7b7b6590773686f4c7
MD5 ffaea7e0f5f828b48d4214d513f2a6c2
BLAKE2b-256 203981d7da794a29449562185badd55c8b15fc74693ee954be6a42817e047b28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7672e9f1394ead20b7520957b6470c4db1da350b4062210133b13f83aa02550c
MD5 83c74c6da23156fe9f0e2ba7b2a6bec3
BLAKE2b-256 fb4f14bcba8a0c42658f9f7178f602be4e3aa5a29557a0742ade18d239ac7dfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a289776c13df73d235baccd9f4d83ce0d9ce6edd14160eafa50e74257f1d1ec5
MD5 d61e39c9db297911501aa2db3d16278a
BLAKE2b-256 c695f664acbd5fbcda8ac0cb02c5f50860d72d9a7a87e93aa75b942ec3cb904e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2a1f44e6f18f7d63b5527566840f4393808a26a1b80676134cd862eb251e671b
MD5 47310de03b8e50efd413f6e5d3264e21
BLAKE2b-256 14049d123369a93956df5012453d8aa7e67782eed2d794f44ad2dac95fee8314

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8964bf8a73410f0b275a33d8a9cdd8dbcfc978daf75dec0d61db95bc40a194a8
MD5 65e5128a4152c21fa1540298e5bfdd6a
BLAKE2b-256 b65fff240154614a1ab36a38560d959dea1dada3fe2615511f8c5a6318c9d199

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.5-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.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5ac2979e1f9e759a48f12b30241ed075947270b81424b35a9aa9f9056271da56
MD5 50617fae0c94c78299e6fcfeb42f2908
BLAKE2b-256 6779a2bbb58604177a6bbfd0165fa15d767f3d0c131efd5e2d018f8f60ab3002

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c95b84f1e6c836606d04d70b0635bc48b005d964ab5399dac3e527877ed99196
MD5 e83d6f9f6aa6b4325c7b88ce60b5958b
BLAKE2b-256 06830ea05a05fc93139839429e6af1a21de4bae90a1c7fd0bc688f00583bffb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a4d23034301a52049f47f35a71184c284d3f99eced230769f892e43f353d6874
MD5 b7f5d0ebb96e26790227e926dad9d9f0
BLAKE2b-256 995de76c41293f1b2269ed9cf5942eae0a58151b14bc499bca0cb56597680e6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 35c0b92a1ce11498f81db6c769fdeaa5dc4e1bc0b312ce05846ef15b5f935d9f
MD5 4b5efc922eecb672f407d435b22342d7
BLAKE2b-256 c675111136f6e5d2a1bd4248c12f38177aa8ffd95f79844b245e276a661b8fa0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 41bad2fd3d867237e061f579a1edd1b0d20a4bef9c3e5abea95693f0023aeffe
MD5 8807f2bf8a3d55deac67a2914b420fe8
BLAKE2b-256 5a74dd3241a66ad5b34193b0195673c36d6ed27a4e67492697e00af33ba042fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 598edb5bf97dad26f78dafe00ce2e8dd56c880fa0d2fc93730d2e0001dbce464
MD5 ce83d3d6fcafc25888594a0ba4f84cb5
BLAKE2b-256 65c7af46cb2a9b3ca76d641d8e82bb3ce5d251e39fa88152b5d32b9e7276910c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.5-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.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5e06dee00a7b1b93d96eaccb06d2ca68b1dc9439d2d917410eea4bcfa9e42ab7
MD5 edc428b2f4a1ba75c190fd2968f6505e
BLAKE2b-256 bc788aedb69d0e853e7faa5a1ca6ee9a58c50ba1318c6d3f09054b3117632e6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fced61d8f420ee6682009b5d7436b8a8281e0ca689944cdab08968b5c71a3b4f
MD5 27fbf087fec6c9601a9671d4bb7a5a16
BLAKE2b-256 adda9aa857a0b3b91262344c2918a7460c77e87e7d5b1ea606c6290b01ccd474

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6a943d9a77659b1120e0cd2b25a2ec59ee3b8812aa24b5412501bc480baa0c13
MD5 cce166b8b9a14928c831b4e086fab097
BLAKE2b-256 a7f788ee02803eb1ab4e536c840dfce8e13a473d37dbb7828970c03a67a967f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.5-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0f28c173aa1b3ef905961f3d1734acfc8d08eb75ed1e916ab8aecc9b4108382e
MD5 da2ed945b0c2e55e286faa98a54405be
BLAKE2b-256 c94507541d56c006993fa7b057feaeaf99e1f34aaa572dd33eebb466335ac271

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