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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.42-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.6.42-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.6.42-cp314-cp314t-macosx_13_0_x86_64.whl (235.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.6.42-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.6.42-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.42-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.6.42-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.6.42-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.6.42-cp312-abi3-macosx_13_0_arm64.whl (219.9 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.6.42-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.42-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.42-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.6.42-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.6.42-cp311-cp311-macosx_13_0_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_glucose-10.6.42-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.42-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.42-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.42-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.42-cp310-cp310-macosx_13_0_x86_64.whl (234.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.42-cp310-cp310-macosx_13_0_arm64.whl (219.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.6.42.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.42.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.6.42.tar.gz
Algorithm Hash digest
SHA256 fed744166cb1be7621354607045841b15aa72d5c06bb421630f06cac56526cff
MD5 75cc00dcd9d3c01f57f37748e414c4f3
BLAKE2b-256 daf7df7b44f66c93fc7515f133a21bd43d30f4b79ef6d1f79e43e64cdb627523

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 882f841aa837d3b09d308da54b447131fee51e01ce3f34a476435ef0f4801454
MD5 84916a997aff1a1bb6b516d76f2a8cfc
BLAKE2b-256 39a8ac107bcc6d9a877f78d5927f6c41e452a9df7da7834ae17401c78fe5a341

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 50c05e2f1c995e2ef7f3c11eee9aa9b71bd87a6c3f858bb3f14353c9de2fce63
MD5 cacb36e026f41912a28aaf0e7734d406
BLAKE2b-256 309f98ed33ab8c7358027c3bf645d333a6c9b343a77b3d20958769d3816ba8ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b7bba4519e45e4e18289160d981b757dc580d604f0f2055a918cf7bdcc69a1e0
MD5 7d0958e899a895c0f94c72181d5329ad
BLAKE2b-256 69019752c162f7bc772928b98c4d2f8b0ff1733479445960954c4cb3be1188c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0404e455e6f63e65ea9b2e0a7955365ac69270982b95d671f6af6df42154430b
MD5 1574a1a1b5350228bf437be6b2247189
BLAKE2b-256 ba689fa484da48134bf36121141c7037441ed69fcada6d93e918be577906c506

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 79228fd5c49c2a6d2ed0d428ea23f1360cf3350d59204d77352a307cc3682473
MD5 b1a895f1fd3aa682ddf4f2ddbed46090
BLAKE2b-256 262802880f4521a65e62d5cb111d3273c9d1876e7aee50374512ff2a5205ad0b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 49bf4538776847c3697ae4f3e2a7188da392ced11407f8de2328a82062aee47d
MD5 ff00d3ca5776c2a2c9c015ef15cd9d8f
BLAKE2b-256 7eea2f179cd80659768cae59e08ae324c338ab7ce8844363fb31b98342624439

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e806e4db12e972d9a9d4575f04040a7460a3c46b8fc3559aac2d74da8b1e4799
MD5 4cf480c03f034a166e8c37916816dab3
BLAKE2b-256 bb17b62959e4c2c6825950235b9daead83a62e82f1da699e2b7ca937a2742e2d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5250aa263b5780401ad77c461b1a515d51c066b13ae50d046938d81fc97f3235
MD5 41afe6e9e05dc55f630931c1b70ed0bf
BLAKE2b-256 a18fbc8db9f20007b91337b1cf354dbc2e348c3f66c151af0b318ac55428f4f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25f16221ca489bd7659fe107bdc5f82e1eda47fadec957fa500a6b29c59f15bf
MD5 d45a52dccd318766332d63f893dbf04f
BLAKE2b-256 5f7729f1de912f1ade1b19131964c5f04fba4d2ed08129ffda470909fa692119

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 37dc90d2e51f22654ad0a645f76ca22bba93b88ebbd89a26f4943bd76c4a720e
MD5 a5a340ea9e2cd9263465458d93e3b754
BLAKE2b-256 d4da8a47341b15c986ae09addd7d3384354dece1996d29ee8dc9ed6070db8f0c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5f4cdbe66562a2f8cecac9ddfac2036fe742eedfb03730b68dc956f0f8b4c473
MD5 795a5ec2b82a1c8a65b023187e000ce9
BLAKE2b-256 a432aa069445d9eeaf9b3b58b36ecb4ccd6f29e33300c80a7b782eb9c0829ea4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2e209b8d839fb14b1634fd732ea034f4de8573a3fb38e1504cd3a76c86a0aa60
MD5 5093aeaccef0c9114ec7afaabeae18d6
BLAKE2b-256 60c516339d14c15ef4793b9c4c614d358b3e6b479fb9c870b7fec0f2ff0cf0e2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2bd0307d87531c8a7d625dde2192dfad87aa45d9a5042dcfb12e20f31c7dbc1a
MD5 a88017e6e2f91972ab5f80678dafe1fe
BLAKE2b-256 6ce70c0cf97087473e077b63558db1d8ccab4b8f999429783e789cb473da6019

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6b8caa5d656e4c3d7778ca8206878cca48484235935738736e0acea9f4d85664
MD5 cd3c19fe455246c752953db71f0461d1
BLAKE2b-256 23327fb2ada67990f4774c2c6ff8f71745579c5a062b7eaaae81e7e606d7dd0e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d501c6aeb2b8a6eb83c64b1d323873e7a4aa602ada5a459e58a21c5417671a17
MD5 11d560e3d39229fd21a64247d82517aa
BLAKE2b-256 6fbaf26e71f1ba214c93ab1078d4fa11862922472200c0360da0fbdd346efcdb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ac874366462244d41e16fa2a834f56d4c0078241276d62065158c4c8e0a2f866
MD5 ae5a7a481cee97e22d9faaa123ee0d76
BLAKE2b-256 0166b56a40269893eaa7d45de036558e5a27cebeaa0faa8cfc073f2bc0a9591a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 21d12eec5d64b90158bf0d07645105c415d52dd5309dacef838212fc0aa5e16e
MD5 1cf5ef9bab012aa7257c69d8f32c4e8b
BLAKE2b-256 9dcae229359dc816636d8e6714a5b6e23e2e83bd144811a7726340eb6e285416

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 77ab3a5b96bb61426e93336ce758d2c083015d15946e0943928464d581a84d31
MD5 d039ebd75504ff67e911e3ad77ec5521
BLAKE2b-256 579768a7fa8bc6e71aab5f5e26359c96f6be12e52c744534d3b29a6925961e88

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 15fd876f7de385d5cbc9671bc92e527c4a4b4fabbe23741345a3733e838d5341
MD5 c6e74c8f8fea98a9239e314d7eec6b4a
BLAKE2b-256 2b7354ff033cfc6c49eab32462ccfebc0f0bf69cccc786378ed4db99604d50a3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 81a96c2c5b6802c1c22a68895c6f7fbfcfc86fef23a6b4f1c46659653bb7f830
MD5 0d00ddf1a0ba31f4f4b26d752c2f6de2
BLAKE2b-256 48b555f13c19a39e031c60e8620f0f12e266ee7e5f2e97cc43be5a1b302f8c33

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 617a860fab7e0765d5755d9671aa42910bdb518cc44a33d54c6b5e8ad042bd22
MD5 231575f3154c65e1f3442beb6f6f635d
BLAKE2b-256 8a0c4466606d54b178fae777bcb181185b4f9c37e7bc1042215ad961de3f7dc9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2a8cc3c278de191de8af89e39b88745dd021a5bc59dbced80f2f024e1afb8e84
MD5 aa4130c88b63658141d295e037f3ebcd
BLAKE2b-256 7c9ba28dd12c28406a78ef3af5d64df901a1e06ad646a66cc773d1e90ccb9ca2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f60c259bf40f38c4b72ad36c6f39bde87b8dcd79d08741e57d82909a506d3925
MD5 330c6d7ab28d5a7bd470104ee3006ba5
BLAKE2b-256 9cfdb8c76a0ca72307f80d7b6fb106c67b7e6f61ae88ecdf454820589dcd18e7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.42-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.42-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ef38e85552617fbfdd24a5ff5bedb4e8c1d7af39fa6514865a8230e70c611122
MD5 b4a01b2ae5b475727d72da5b14196184
BLAKE2b-256 aad6ca3814f45ddd7c405f13bbe4288531d05cfb6c2063668d2bae982ddcdd44

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