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.

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.14.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 passagemath_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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

passagemath_glucose-10.8.1rc1-cp314-cp314t-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

passagemath_glucose-10.8.1rc1-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.1rc1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.8.1rc1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.8.1rc1-cp314-cp314t-macosx_13_0_x86_64.whl (235.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.8.1rc1-cp314-cp314t-macosx_13_0_arm64.whl (220.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.1rc1-cp312-abi3-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ x86-64

passagemath_glucose-10.8.1rc1-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.1rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.8.1rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.8.1rc1-cp312-abi3-macosx_13_0_x86_64.whl (235.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.8.1rc1-cp312-abi3-macosx_13_0_arm64.whl (220.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.8.1rc1-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.8.1rc1-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.1rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.8.1rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.8.1rc1-cp311-cp311-macosx_13_0_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.1rc1-cp311-cp311-macosx_13_0_arm64.whl (219.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.8.1rc1-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 25556fc33c54c21fccb4bb5f840c3f771794c13364d906fab436787fda86415b
MD5 03ed6718019747b5181492e30db3541c
BLAKE2b-256 346cc96515af869ac62a0bbfabad5a1fdb370bdd2c695b6f0f593f6ddefe3b93

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 462af06eb2ba4992af05eada88b960fbd998094c24a9a51b1130919537dec0dc
MD5 4dc5801a9e56440c130488c90ac1f3b0
BLAKE2b-256 a24d9a2b86f61184016c9cc6c7897532da7ddd8458d919495302fbbd445221bf

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9ff3247d8ae618655e3952d21ae8b6cc4e0327f79d8910b4ef25bb39bfd43453
MD5 fad7abe0fe8d180418456af2fd690024
BLAKE2b-256 00bf34bb65741c977a6ec4070abbca9f9f23405d6bbc436a80adfe4b610020e3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ad3c6ed33a5ca302dd193e18d30aa679d5ffd32da822055c9210f8454b01d2a3
MD5 b5160993766c8c175df7b17ffd92679e
BLAKE2b-256 af39706c19877b8515e935a2981c93faaf1dea1b53ce679826912b4c9086cca5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bf8f9382dfbfdd01c7adb991aef25bc2030d26de9e8e1f5e03f6f77a86b86f45
MD5 d3dcf9b20dfac8f69ba7a57d002a4525
BLAKE2b-256 08727ed6c165435ec0f75578cd2a2851db9c7413e3b2663f486be9a17f4d563e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 36d6a33068f86143908dcc190ecb7e5cc2b4f74645cef007553e4f9edd6a49bd
MD5 ff9033661c35706582acbcae8850dc3e
BLAKE2b-256 41238dae99aa280e1f63e31f50c5c616851adcede145982f01c25766fab5333c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 48d160f7ed1bf603b66852e8de3472880bcc0c7d08cbc0ef5445e2db68882fcb
MD5 72674b2b51a2569992b1d9a6be6e7e9f
BLAKE2b-256 3dafcea47db05b4e1d7a72e7620e8e6d65c6c8bc6e6b89cff4939243d9e74f39

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8e883e8bfef29f53e63490e45d4ec7ef3e3c8a12631b4f386738e8af4da5e4a9
MD5 4fa1cd874fb8849bda1c15e4b2fe96a3
BLAKE2b-256 a0d52a34f9494be7fb788d642f9412a001afa35ad83018824b680dc042efc246

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0295732d69373ebe3391d726041b86b319eacc26ef78d7fcd421395c41dbee19
MD5 9fc9a076ab554fd7fbfa0ab4f94ae167
BLAKE2b-256 5c0096c4f4cd780529aa1be5430ca83fe5a1eb116c2d87d833a52bd6c1eb53b0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e536b64856bfa0cadb86adb28d6125fbf91d56e5e74bce526dface2a24d66cd5
MD5 72e4ad96a56fa616b20af9f417b91d2b
BLAKE2b-256 0a6fe19c0a0da464ba05d7bea389fe2060eb68174ad1f25480cc7c8d70dbd6d7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d3d4703207afdbdd2ce1de9bec6546db79b8ab78048107f42f2acfc901f6ba7b
MD5 db245c27fc4a475f4072f0e60d6ae653
BLAKE2b-256 d9e081fc4b574646dfadf54c5da405a378e999b807ce563337f60aa83ede2b38

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2cb29a302b08cd78ee37dd2b8402be7c676f7d977ae797212eecca559fe3eb91
MD5 984ccb3cb8d6a0eebd9f7c1f210ac4ad
BLAKE2b-256 2338b5737a0f3c03f96dc59057b66112e5b5269a2a55768c14f94d294efd4069

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 870994968e0549adac62e52f1b3bc2ce285fcf7cad9cabf680a8286b3ba1a13b
MD5 b8b948dc5a17ade23ac11ad5d7e9062a
BLAKE2b-256 c4b026dff6b7ac616499c413a634342273bcd223734a135b10b72f4a451e7664

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1319e0bc28f33c702eed55ebff0010d3820a309201eba3c76186ea520e55660a
MD5 fe92b872bb50aa44003ec265e5c5f94e
BLAKE2b-256 3ee979f7bd7e11ad0ca803e8d9b64b7495de2d5ba1722604d1d6f50f65e78037

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a7c55d2bae4c894a6cd2414e108b2de0f94fd3346bf2cd9c3cc041f5b37cd2e4
MD5 418ac51db500e68360a996834164971e
BLAKE2b-256 d557c85246c2555cf6754b22e3b6537607ad4851ce1ab54311b7526114082497

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9468901bc5868bd7d977b00e6994641d428de93a173a45870258e63cac675838
MD5 fd51dc72a06c97577d846d342643d4ae
BLAKE2b-256 0d3d20a8787f2729f15a79f183255f89836368fe5ea4daecc465f86c8a993111

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3c2d3aa2331f4751f0b6469cd9c4f4560372d2b922859c9014cd8b1624ccc961
MD5 350613f6c85e18b842eb8960e451d5e4
BLAKE2b-256 3c274e9ee34ff6bebe7503ff41ecaaba21452d968429fe5202b18501dc06d79c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1rc1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 df3c603500ca12836a2038a0b2704346e2a54e1e5b15df16fd6e09536517b921
MD5 7ee489c6c8ed3d2714bd3f578be9df31
BLAKE2b-256 59d740561f989a6f2afcb0ab3343647986ef0224c51f9a0bdfeeac44066f17bc

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