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 Distribution

passagemath_glucose-10.8.1a1.tar.gz (4.7 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.8.1a1-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.1a1-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.1a1-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.1a1-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.1a1-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.1a1-cp314-cp314t-macosx_13_0_arm64.whl (220.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.1a1-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.1a1-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.1a1-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.1a1-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.1a1-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.1a1-cp312-abi3-macosx_13_0_arm64.whl (220.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.1a1-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.1a1-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.1a1-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.1a1-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.1a1.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.1a1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for passagemath_glucose-10.8.1a1.tar.gz
Algorithm Hash digest
SHA256 d02b0a36f356b6d66c6b730d1bf8f9286b2d6e6a8c247e8f6b74a236041da7ed
MD5 9f7a1f3b11d1913e8983f8a1b70d376a
BLAKE2b-256 9cda85136dbaa90b47304b5dac5060d43310f675f8cd346d13e8eab063592302

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 00671a5180a2b0067ae6fe49c51996c7a572f71bffe7b951afe1ae0fc19522e5
MD5 644d2f4b8106877627346b95b0a9cabc
BLAKE2b-256 c125116551007f47678723d07b1578c716fc30c764f4d14c2074f26d29994c39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d42746d1d1b0a8cd78e95d4db0059e7a6281aabdb69ad398f30893e9fd4fe982
MD5 3b95b0bfbbe62949ec3445375b63a26d
BLAKE2b-256 10d4663ab4fead7d40accbdc6c3364a8a1ad213508224e453b2e7aa89eae708b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b78ab53f72420b891ab0e3134ea323fd728070254226370a85429670eec60d99
MD5 14f425a1f5acde0b6b070a2ec7be822f
BLAKE2b-256 6f6ec3fd16b460fba28c090ea1df5e5b543b985ccee9cf23513cb9c47e4dd462

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 755bbd0236672c6b80f2276ea6a5b4894bb9f9294e7244543e92eaff4f0b70b7
MD5 da4a7cb104415db10bf75cddab342c17
BLAKE2b-256 9d4beb3dbd82fb211e611956cdb11208421646dd632bc43a491c3582d68d7ab9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6386908a0dc77d4120647950ffebd9f0bf50bd2a80e59a3ff8d596827bcdd987
MD5 1add67123e708ecf56f84036a7bee5d3
BLAKE2b-256 a326bfa18d518343252f74dd67089ad4b9a22033035764ec9120ea58ec60bdbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2deaa432653d137edf3c556e8c326301b89eda5910841c9238b56b03e790ff82
MD5 b60d43bed24633892efd9f87b33abc1e
BLAKE2b-256 0834876bc37cadfc1d6d0c1e50eb542ffba8431896027f1693f068849749b151

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7829aee3ad254dc8128ee68f9e2251e58c4d58f043d38b02b61f5c21f0665b81
MD5 686acf046b23db0205a36ba5026d9fc9
BLAKE2b-256 0a76a1834a2be2302eeb7f5f0f168fb8d9d847a100f077720e3ee45aefcbc7ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5e279c443594edc896e3a0ea49ba98ce08e8d7562cef5a104cea23716282c7ee
MD5 dd9d5a76f68e11a7a1dc63200091c930
BLAKE2b-256 cd95bbfad9b90e771cbcbf6826d2e5757460d5a3a76ec4df134f5f0f03f1e1b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ffb9b3356b28c7492b54f097db23e456db7d4f1a769c611d5c1b1808bf6e2e0a
MD5 799a0928d8063fbcf5d3739ef4318f88
BLAKE2b-256 b3043f65b5974a077c97d0975ba8f02a94281b0b02ae186d3900b47ab2778d5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 39176d2e6cc96a672bc7c6637b2506328252305f032bc7d65b57d28335b4a12f
MD5 3d5ec4147ebacd840f29c65637383339
BLAKE2b-256 2dc5ac46e5065818c6167e2bfcb4392d17fd32b2dbf12cad46bd7ba1c7fac5bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 33c2147aeae8e2ba8c57d43543fa5b0f3babcaba6c6b26c2f99cf53b8c31e89d
MD5 e870bd9d4353420c451345afafd10db7
BLAKE2b-256 670c74f94461162a2f15c4e2349db0eb1ab6cd26eb9d6d805182b5e2175b61eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 23d1aa7c7af7149148e35eb15d97f24b811a7c68d44927038a13ef97cc0f669c
MD5 ec38a0c91fbbe2d575bbb1a41201f643
BLAKE2b-256 c6bc9a1621386d4b8741e4871eee69b2aef90bf792df82514c902c7341c7b34f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 00308312c82e61b54cd8004ad9a7aca5adec249ef7fb8e24d178e5dfc09855ac
MD5 98386d83b2264bbc6f3494ac47fcc4a5
BLAKE2b-256 a4a916ade1b66929715a92106b6c9d9b3cb5166ee52f255dc01d70c50f741993

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 11beb1e6dfbc02faaa66db7fc561f7659dafc45a92cc284ad238a656340e5590
MD5 c8e02129d64b78fd8eb93519307405b8
BLAKE2b-256 6269afb029c8a86b0dccf77dd5bc903e2c953aaa6f17bdaba0570de3698fdc63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ae7b2615cae1cd7bdfaf51393df08694a42382ebe176df2ccf0832d0443756b5
MD5 06232ba5de1b89ac4dbacf96c9876503
BLAKE2b-256 c8f9ca5817d628c923427b58d89fe9616ed21357729287f99760a01a3efdafeb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ebcea2d73b150f57412ef5246b54aef22034bafa0e3c934461554bdbc288c042
MD5 9ecb71b0909cfaf11d0d76f0c71d558d
BLAKE2b-256 8cf7dc5b43b1fe24c12d655d08d133e3844c5a5b96ebb072873d2b6a31b80d46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 be28baf14706319071580d2e2c7f9665231a61104b64d6fd352a12ffbb37a2ad
MD5 c460d53cf657a10f4e511e6c6489ae33
BLAKE2b-256 2bd12c536e3c5445be5e4f2efa5e00a1a87b22af8e7d1871de3061b5aa87161b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1f6fcad9b4c830c2a96919c7ba9cf2dd6118ed239795948b0b13bafa16e16cee
MD5 6f59720267940b10c9d0f51d201676b0
BLAKE2b-256 b844be7697755ba6f6e713b0c38afd13bd12a12f6856524e9778e6e332cf84e3

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