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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc11-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.1rc11.tar.gz.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11.tar.gz
Algorithm Hash digest
SHA256 555e3efa4bb1484bd2e8a65287441037c3376bcc81cd6a5c9d63653c0cfc83e9
MD5 b244b2576171b147b506aabc00cf3cb8
BLAKE2b-256 4a68148adc18a7c829fede032ba5f169b8a457037e5d09f548d181ad25147156

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d42c5804c543862fd1f3c7318534f1de158186474bf11352921af801410e34de
MD5 17166a5ea0f3699ded7003d39675c5b5
BLAKE2b-256 8e113e2595cc07b597dc5a931a50bd6bd336e0cb068fc50581f3871723b35f82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1ab65556d64641d8aead20a1ddf60960cab3369a3219d93960f9fbe9e631b18f
MD5 21b57900fc734fb53ebb2d32149060aa
BLAKE2b-256 a376563ebb1b5644af90e24998ebfd539d735e254058d405a01a493a8a9b67f1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc11-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.1rc11-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 869cf9211701d8e583809621a41c73745a0644dcfffcca791c6a7a30f39cbaf3
MD5 a62c0601482acf868c3a93bef6593f05
BLAKE2b-256 d94168ef2ffedfcda09fff4dab1a78838e331a067674838f6aab9f50e915fc85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8a8a5ef42d1d237e3742ef2c9e7b3d196710f9e12367e81c17ea696658e5d617
MD5 8f7dda059a8b0fd4f03e768eee1a4a12
BLAKE2b-256 2e0833fd46846c0aa97d90903cb44d14b64bf74b6a41887baf3165e6aa40cf99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1f4a0d40f91c831be28eae99196105917987a0c7053ed577a76a8bba7ecdc130
MD5 b46b10d3fb715fe840408137389d5f2c
BLAKE2b-256 e17faa72bb6dc963f97028b6fa5c1459de027ff2737a0393894342cbb1fbf109

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 58b95b0ae8324774aaeaabf535aa838fa97dc25be48cdec320bd1fc95fb3728c
MD5 0e3128b8f61b72358e64d41cd6583bab
BLAKE2b-256 e1559a356623dbfab4ea1ab449ac70c7452256099806db4ea2a3c83803383d67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4201ca0d00fb80af67c792ce56fb6c670f04a3e0b01c67a0e78826b6ff3c8797
MD5 e1f5978c46b445e2518eef0d1aeb4426
BLAKE2b-256 4d9119b5caa3da7e2efce4ed6895f97bd81ace0fc654fc902260872e847d51f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 99b4e312b279d890fe75758dd7dd530f551b4fb0453e26f137b856aec966f279
MD5 6b7820950b04afa3cd2f8f1d4c27a6ec
BLAKE2b-256 88840913809c297357f77bb2f237042b90ad1234a068c9d79f12e42d49f2a313

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc11-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.1rc11-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b32a8c6d70faad064361bd99527747c3d8defd9ca070485659e529895f5951ce
MD5 4b65ebf71474ab8a2b54e311840df83a
BLAKE2b-256 ea9155409991b7ef403f0a2c71908971648d0b3a4053b74b8ee124e86b5218d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6322dae63ada6ddb2a1d3f3960377afd8f9d2d005d076b44423fd0228f0d213f
MD5 691e4b90ebad8e0967c1e28777213192
BLAKE2b-256 8cd89f854b4e1f893f761b20bf2a119616f097c40e05a1602c23858e4234ee61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6c7402ed6656a521d917cff85a2ebc4ea50bc4d71be3bce86188af6ffbc324aa
MD5 03901a615abfa167e25f0eebc845367e
BLAKE2b-256 8c12c819ef901d5800713360338a3593064ac73577d40a0a57e31a5f60a85679

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bf9317c5957cc876c0928048f8af1e63a02b59fffb1b1daf9c717b4ecb9d8151
MD5 035557ad5fae064b5fd618901e98bced
BLAKE2b-256 7c7905fd9d56a40631546e7430e65b46ae749901b8e77f2abd708f2f3051dfcb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0c1bf7d15f485ff118587ce71ff2851a7ef26606ebf7e7f50797242193055869
MD5 baca5a53050079288e43de1f7308163a
BLAKE2b-256 73f46eb2309b9b2a27b4679b8130fbaea9a798931d7bdac1c718a64911b3958e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 25037c2d4b6044cf03290381b80f14d3ead54b2ce956bbe294eb6c0ebaa0fb3b
MD5 8031fd029f3359a9427fbbfa47d70548
BLAKE2b-256 bd15b3a2f4eb54001529a04c56ce045dad5a89bbae4b0c6fe05baed9754eff35

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc11-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.1rc11-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ca7cdfa47b1376752f00a0995e65b1b93809db7443aecd83550270463d6864d6
MD5 cfff57e92b2113cb7b6467f7e7d36d73
BLAKE2b-256 24f4dfd67b400ff382c8245d9c80ba9ab0874d8468c68c8f2c814b94a61066cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 16676085a83af7698e447fb740c96f092983f19f576e1459dd1066789e63e2be
MD5 c611c7874b6cfc0ca94a7aadff6daea5
BLAKE2b-256 6e17d9490429d087cc1fab1ee9d7995f27d12643ed90e7778e4949f3cdcd1e2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f38625f98941f049381a2c56d636c50bdb08266585dfdbf34b23930545aba081
MD5 c4703a79af8f140c6c6e5f95bf94d567
BLAKE2b-256 293315353a7c43021ec98a769645f5cce83be211d8d0a68232615552136a16a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 36267fa12d4cef0289d312170ac156ee04a299cf46eff5d23b17b3881ee6297f
MD5 25488ad44552cd2f5cd10b9eb4ca50b4
BLAKE2b-256 3a71f46808b2b372eb044e229243f7163c6c89577449513143f1cc17f4db426c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7be9d24e9646787e46ed50ddb5b48f157270323c41bbc78332b27e68efcb5b2f
MD5 cc68144e8f267cf1d43fda81e200a502
BLAKE2b-256 2fa5c0f8b2e73c5e8c51ae87490fb527237b69b6d6cd7cd9fd2c35aae58586cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 49a9f0a4bd9a104035f7d8ba0debf7e07a090424086a18107cdef1e6fcf2696c
MD5 2d0e04514c2b7abba023d0753367785b
BLAKE2b-256 b0c0fc992869bc1d133d9d52dac29b8044709ece94a933f1e7a96dcdb809ea73

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc11-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.1rc11-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 af444e26f42746372475f5553ea639c5b6fe5675171c8ab9dc8c6d28b35e4058
MD5 325b4d46b75d74fe77084c8ceb3254fe
BLAKE2b-256 7e52534f9635ce0d710cf42dfa89774cf2d30efc7c20b3609dfcc22fed151b5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 431bc5ac415a2eb735b741c08c38d5ae97494f4c3b6cceed666aa2484b9d70b4
MD5 9a86995741b037af7590532824b2a354
BLAKE2b-256 85d1d06e081e71d1ab57c7d9edea9737d0ba62b5849dde603a71c248a7e1cc6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9d7dcff3e51eaf07f9e4222a60472266d00e8ab214610a1772c44d54cf2040a8
MD5 4fa136c36de56b0c8dc8eafc54bde14c
BLAKE2b-256 d7cf0c11911d77a5101a5d109775d355b1a4a55cbb38d8fd4540cf3a3fe9ee1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc11-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 098c61752705ee363f2920fded45c37b32f1d4f45df521253d299169aaafed6d
MD5 5bb78f8592bf76ac0863779cedb9d9a4
BLAKE2b-256 53b2db4152f2c5e2e19badc841f7c1ef6655e08a7b52a873f01dbdf6ad45102a

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