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.1rc2.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.1rc2-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.1rc2-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.8.1rc2.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.1rc2.tar.gz
Algorithm Hash digest
SHA256 ff874808a348429a7f9343ad24bb90671316c2d85cc40a19cb8feb101d65cf26
MD5 7e9252c3fa4023418d66e22e6d2b3ee8
BLAKE2b-256 f773b1acffce3f3e5e2047376d02214f5d2e3651d636d4afe8a330a3c3d87665

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f9902989e2ae80dfc5b5b8c9d752bc8f001ff77d817f9f0071204f5557b74472
MD5 1feb720f18ee07f6d377621f80f2d4a7
BLAKE2b-256 d931ac5cb47fe51ff1565e0452aaff8152e438e0156cfadaaba9a609ca365224

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c2903f3b582649bc5f0782268be6255b3b48215d3fab225fabc347a6d8a22023
MD5 d1296e90cec9e7ec00ff07721ae8cdfc
BLAKE2b-256 84ff61f193820a1f4195872da5dd9f4fe1c5ea70d37f16320e4d5dc023889673

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b4eba08772ccce27547853604b884865c072ef82650061ab28e0b0d83d4df6db
MD5 cdad25d578775609b8fa40ea45c8e7ee
BLAKE2b-256 f8c258fe17138d300836008ba3528138d70a56eb67c4e3d7b151b4f949e1ac9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 71cb2dfeae58314995edb032a49b2812883ac8bd6439be09969ad08787606a94
MD5 49007bb8451a82a4cb27cc6f8d7b0555
BLAKE2b-256 7f2bd1310b014afb64b082fd16267933be40956670e14345437e07921cae7928

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 03e8c188951e8cc51bfd0ddfeb8e8b7b6ddf1dfa3a1a2819138349a4c645e1a4
MD5 f982219fd2503347930be7f747fc07a8
BLAKE2b-256 1907ac4e67cf8461f7d6cfc6c8d32bb54a08e588d95bf883b055db8677e8dc2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 903681b1576dc2522691bc3a0e2fd0adcbc0a29a01f38cbabec26fe7b39cbbee
MD5 da466d5fc9b58167530c5a1e929d61a5
BLAKE2b-256 8d77db0ad8643e2f83b7c00645adc75ab11948c0b4488a8ae53e3eec22755362

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2758532f8245e2144599fa504c06826015d858cedb08c5b82866214d41e62a69
MD5 2a93f815dbae5766f92d73cde60d689b
BLAKE2b-256 dcc870c2704b9bb134d6424112fa4cc0def635c85a41b988de561a3ceaf390d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e7b3f30d608ed0e3f46d3c36c0790c657fc5c3fa5926d5bd18a68971f7699d4d
MD5 2557b0088ef76d7fe301031ab5536f0c
BLAKE2b-256 66cf652ecbd74c0a23f9fd3caea1d0ba1c57659b5d0d915765b149e72d1d9e4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dfc34747e65631525d7070d0bee4382f1cbd97dfd04f86ab0e001f4d6d0e042d
MD5 a8c2fa325a66f1213d0057f94564dbc7
BLAKE2b-256 0d2da87a27ad3a85dcd1f68c96ba6a64ced020ad1c393ad21422de226072d059

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9e115670e1655aeb9f5321fc12e7bec3d9c308d15016199486f344aa692c9a3a
MD5 ba5b0a2fe402e7fd8352515f27298ecd
BLAKE2b-256 8bb00ce88f9f5883dd8f29640da8ccd4508cf1eafd35eb4b47ba4dbb9292c8c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 169c9e40c74b4519ea90dfd952340fd741d1e06a74bb1549626739a900c91f1d
MD5 10edf40a38bea8a32ad1cd87a14d4549
BLAKE2b-256 d41577eb57871c8ea9a8420596dc2783715d80504c11e0767ac7ceec89d12af5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 34c37736a38172950e32546fa7aada11b4d6e92178bb73a039f49ced20c53817
MD5 0db67af93dbdbfa0b994ee826746cc23
BLAKE2b-256 51afb43fccfbc8a1460e5d8f89e1a5432a09aaaed07bfae353f02e6707fd7b13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 453b2b9d74e4d6414f832ec0cd4b5163b0cabc036d1c36b7c59cb4e5f3b4516a
MD5 35461bad0f9b2ca9c17fd3a712330ac3
BLAKE2b-256 d5d118b286961e186a02188e520259e244585fb5dcf07032d8d89246b5342617

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bf936b52a111280e9e7be3b1ccdef02557156fe24a278429ea1d19b99f159881
MD5 c26c33b00e81c7b03f2055cafc645550
BLAKE2b-256 cc790897c2547bc4d1933dd1a3affff3359ec0f1a617ebee2e1645b1a5fd6526

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 36d01e913c6b350b9001eafff5c6bb282366f0fd992583d45fd10ad1e7d067d2
MD5 2a0af7ae3ab32f16241823215b4e439c
BLAKE2b-256 c27501dbc2a455a26af943b9d44ab44acd669af31eba003ab4d60c949954042d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 52b4227c90b5ab1c3a5f766c89d27fc4647a5cbc09e94d097f7d93479885c982
MD5 dae4dfac175f651940960b4f133ccb9c
BLAKE2b-256 142ef6525d0b19e8ec48142f9c8fae3496beae19a9e2212abed898240283c0c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a2c1b73129ddd701dcd2e887497e3a573fe0b6f70b5be2797aa8942bf640fc56
MD5 ab064bfaced299ba99671a3c5dd0647f
BLAKE2b-256 8b542d6f650d97bcbe78994457f5017dd6bf23d32db5eaea5c7463301d5600be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 623fdc0074f046a5dbdc14e7391e4e17ab823adef60341b61436f86fc2052e55
MD5 d3f37d5d5053d90ec69aed973f46da72
BLAKE2b-256 d3b7159da5cb011195eecc0de8eb6a4ed282c75cdb9dc40233134c58eb198fd5

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