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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15.tar.gz
Algorithm Hash digest
SHA256 0456160636438cc559c91d76334c8421dd087a73be2703b4bcd16a7e8fe888ad
MD5 7303115c87020ebe21ce327402fb110f
BLAKE2b-256 f72be54b7b6ff36380cd0f1f512e2f546d65c92545e8883124608e86c44d5ab1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ac6bc727f0dcc697ad68122dd4f1463eabeeb207e62bd7d1aa8195c6f220d6c3
MD5 c3aed277f5d8b453176d2803bf19eee5
BLAKE2b-256 521f11e6a01d629169a657a1919832734219c7bd415b8326e67745926159e692

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b0e8a9b446608175e6d3dbf69561fd0dc214b5955e3681745f0b5d5c001611cd
MD5 cc7b0688e8be473df5e374aed9e00ea8
BLAKE2b-256 5902f8ec72f252f6be27e1aa178165b1f67ff60c4a740bddefccc21edaf0f14c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc15-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.1rc15-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0ae6bc40d7fce374a03c90a49f63e9aa3f440a04c28f10982a667ea7a5cbb73a
MD5 b785927c5ee8bbb84b45378ba2b8df2c
BLAKE2b-256 f8a67ff33aa7de03c1482db3c514883618126adfc30fc072b011881512354f2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 40724071ddd034abbc47f9d472ed0f29f5223c4059b8ccb6da650f6a53c47c1e
MD5 4e37ae09e9ad6c786b5b2affd5b8b2ef
BLAKE2b-256 c93de2974639ad99ec1407083a574bc7452a8d5b3119ceacae04249d0957864b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 56df7e399989be830d203c38303ef0e5fd9211bd5acddf5707b103ef0604b1bd
MD5 585a4e6c60e25d487bd3194f23b5da2f
BLAKE2b-256 0daf6d2c72e8fea4af92bfcfccea438944f8221bc2a78795a04dcadaef765f6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0ddcc1ced3a0079453e3f7e77a08533220b1cfed0dee3f6424f091384651f869
MD5 53655f8add2b3156f914fa70bbc33e71
BLAKE2b-256 6064331f6d6fcc6487b5cbe2bbd9e232d27be9aa259849083b2adf3a59236bcb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2fe0630b86eb53a6600bb9acb8ec72112050b3dcb4a0fc711a6f33045a55ff45
MD5 6e27757569f50c8a4eb01da2121a8484
BLAKE2b-256 9aace8a3f8c6799d3f65ef541200a1fa13d81c288e460ed9d58f74b12f3711b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 04f9ec316eef106898a68598796a97040e7305dce93cde26edb8054add8ba1d9
MD5 8809a774131e9c024b75e7a0b1cbb169
BLAKE2b-256 0346d34ffe59358ba3bc24f872237f9c3ba0e00e3de994f9b73ef4735ac46e27

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc15-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.1rc15-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d0a7fb5f8d2fa7d76447b0be7f703837e5aff7e87d0f438bb55fc1fef81c6ba5
MD5 8181a98b6bf12c32854a9887b406805b
BLAKE2b-256 52744ed97ee763512db7607546c84e7ef0c563b66aeeeefb3f926035bb433d06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 112bf1458aa1482e4eed0270875d5239314b23bb1307f15f00d147eb6ab68456
MD5 7e476bfe8eae66cfd3493ebd00599eab
BLAKE2b-256 8607f7a11ddeccd5927d415e5455049096bfa6c8a180eec56bc95acbbb3394a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1e3442e78b12ffa18856d480b5480ba224007e6d443a2afeea9f66dc12d160b3
MD5 60242ab26efd6619d73358f1bac57afc
BLAKE2b-256 882289c50cf669fa227c37f2ae9060ba72855ecfd60b814f53cfcfdaa18d1bf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 43457744e4e28c1d618508a59725d18376bad200dd00f2033a8508d4a4a74fc8
MD5 fc9d463612cca63e9b22903659fe4d63
BLAKE2b-256 65c4a6b3e4a73270926ec1168a4aaa36f4b79b4150247222e8ba0118c49b3a58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c3c3851974aca27c305fddfe2a08df3db2b7d372cc6b0c3adadff025b812888e
MD5 2bd4995ececa145eee94c65601d33918
BLAKE2b-256 27bbb038db6ce0b36579a939e03c1f11cfea40636cc18d55152808e3f7642ddb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 99d35280d3cf5396ed05fcae7343e486d36ffd3b9bdea6ec89c23ff2b2f56eb5
MD5 a5844ba0c89668fe5a7a4b3ede9b4ccb
BLAKE2b-256 37396469282f3ab2f5a5accf82ab697f089f13917a4f316b61fbc7f473520fb2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc15-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.1rc15-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 73c070a77d8c8310f7f1f1a7341a8e9b5d1b79e0bd69c5a6b16a4422eb8b6a97
MD5 4eecd0017af77a24046ea47740a50c12
BLAKE2b-256 bc96d293d02bac06b9b89ce4de81dcf3eecc1898c2322c2a115214170045096e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 515b0feac6871005db4dd610c2c4740df3880bcc42d49e183878635b216e346b
MD5 39774a55b3975c154c346545c253749f
BLAKE2b-256 b9978b75ad7c31d8d175600360e8522c6a01a6fc6bedcd4f1be275519ec6cdc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 30c32d1c651c5c8497ca03cc5eb287f65e05280d01d8c321f30a0ed12dcdf3c1
MD5 6d01ed16796c306350d91a771cad546d
BLAKE2b-256 2a80b63175e914e1444bd8b918c27e8b37dde31fafd28956f90a52a72d207733

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fdc18bd832a325b9d68199d38e1b895f129cfe1d56a0c391a3977e8f630f7904
MD5 66eec1832a4380a3e164f9e1f6af137f
BLAKE2b-256 ddefa31307f9972b7b02be58067e8b4dfedd035ef570db3d5eb4b32eab3b32c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 656dd58d3d0edd2be97ed8df0f403aeef720b10a29d1552bfb05b9f7dd915b82
MD5 d40fb7c5f3a422f2feb2fa1413a423bd
BLAKE2b-256 854e419c249a92d6f565f8493eee1e3b4c9f249c75df0f2b74c6e0ed808d0090

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c6c802aeb4a6ae8773c48b461c65f396a35831ed9fe89586050aa4e35d61fccc
MD5 a2a5dc869a6893694cf4a3d2a71400fe
BLAKE2b-256 37b38d2d04093214bce9af11d8206b8b30b40f5022604e95edd4da7ea13b7aaa

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc15-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.1rc15-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7e1b91794ebfc76094a27ea032692b46d2f4347337e38df6027ef5806b1a0ba9
MD5 ec15310b32a72e95b17f8dea81b587ee
BLAKE2b-256 72ebe51a048898a49dbfc07ce9ea8a53a2813154a119e83c5ea5ee9eed07d023

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ce21db8679785a155a5c1f1fd3538bb30bd402a79e351597a77073b0915693a6
MD5 41025d430915f8ea786804fcc9c80797
BLAKE2b-256 245c9d7692ae7f9f884d789d7e61bf17e152d29755e67d604d433178e7551a2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 46856c00c789a82253f0322a4684e00a816721ebe21f747e6cb217f6942ee48b
MD5 734e0bb668f9024862b3dbfe5ec7e36f
BLAKE2b-256 13fa9b587bfbd1aad218b36619e1504c00e02aeb8df69266ffc88d70a081315c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc15-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 408f0a852394fc6966e6914373c88610b73cb1c14ad34247e02a689291e3506d
MD5 7818b3f5e98b4fc39387d14b91d3e6f0
BLAKE2b-256 5d773fea75758d73e336700d442160e7e954659ab9c14e2f794d434cef642281

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