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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.23-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.23-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.23-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.23-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.23-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.23-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.23-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.23-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.23-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.23-cp312-cp312-macosx_13_0_x86_64.whl (187.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.23-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.23-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.23-cp311-cp311-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.23-cp311-cp311-macosx_13_0_x86_64.whl (187.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.23-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.23-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.23-cp310-cp310-macosx_14_0_arm64.whl (176.8 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.23-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.23.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.23.tar.gz
  • Upload date:
  • Size: 4.3 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.23.tar.gz
Algorithm Hash digest
SHA256 7e7c70b7b992e04e7a54992a41b3a106baa5706103d1b5499e6ce24f6775c103
MD5 759d626037afeef35ac9664fddd84a3e
BLAKE2b-256 bb535a81c4e16b6b81101faaca344892997249598c065c2daa967e6cb2948ebc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b083616a473ee88c39849dafecbc761548ff31cc1df01226bc7fcfa559d5629c
MD5 d000dae96b961f9c10be01ca5effafd0
BLAKE2b-256 4a18a41c54f6c88b6971e41a6a6929b91a463075badf7d434ed93062ada049ad

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9f8577fafed57587ae2c0262a4f7231387cc214ede08a46d66f8499439a47eda
MD5 bb0275e7ca55027cba379263fd8e3999
BLAKE2b-256 f7a896a97358096b0272496b4c6e8902cc9b398917845c677e42edc488635264

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-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.23-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 760c495b507f4e18d199f41f1784a20c145f82d2f5cbb30289fd32d27da656f1
MD5 c3241e9884deac093bca5dcc883bd189
BLAKE2b-256 d87fea5885a8a17d883c2aa4be124b367baa46027b7c2955491a4889eed17f70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c0091540a46b74b80cc6da1b00d370811984bd766e4f5f196772974a5d94da52
MD5 fc044a5af91de2346756c7549c0e9982
BLAKE2b-256 2bcca08d7eb2b4d9d72d30114c2633f3fe589ea5207ee63c7ede334107c58db4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3b205e099b3092eefd469f106a2bb59ed34ac2007c6b3ad439e787e5c5b77074
MD5 b9297fe948fd2f9d730a0eae7bc88cc3
BLAKE2b-256 49b5f77adfa1572e2020dce94fe4280f41cb8c45ccee5d9169ee6fbb7fc2152b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1e6f416cb349b8bc47a87b25946c904f16e58623d997291be647839a5ec4d77f
MD5 80e965837a62789cd380fe8a58ddb7ad
BLAKE2b-256 6fcd47618eeba82dd100f814bd4c959a8c4e4e7f24e61dd8eefa513a2172e607

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f31aff3057d23b371396423f8188d9b6f8bfaa35f046cc292398a1ee8870a8c7
MD5 d1ee972c4da806cee298a11064a7ae6e
BLAKE2b-256 dc4d989fdc477fe701b1ce67fc1b406d20054217a5d6d5ecdea3e33caf339530

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 be6f527f291b376429857ee23ae169240026059b7577be61dbfe9d00b94a147c
MD5 f921d592a36dbd7a7fc81da58165840c
BLAKE2b-256 e40b9a62a228a12d574aaa15173d4447d0ab058a4cd201df78d4d4ea36afc6a0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-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.23-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d8c515eb42f323263d3be9f8cf332a87a42d7c77ad22615d8fd0157458b47de5
MD5 aa5a7a52b17ccb782028b38600fe7700
BLAKE2b-256 add9f98d0b2fecd2662179e6b16bcff83f8c19b136b78fe176fbf62283d1d62b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5d2660033985242d2e63b753b2083e05c1ef48f97eba449d38afeb172aa99031
MD5 ae82f21e666e4ed4ddfcc6002f0d1e4e
BLAKE2b-256 932792fd1252b527ebe5b0834ca2e9da7e3ca7c360fe0b62802d39abaf3483ce

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2f713538d47d681e55fd50baa19f0a9c212c68ead292e5ecbc8dbb250e9925de
MD5 d6c5bb1f910121f79d501e9e9f278645
BLAKE2b-256 c49c608b3f043dbb164befe3c0a8798a8959bed032cfbbd4e8bb23cf4ecad810

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ea054cfce38d99370af9960a07a4f325970b5c70838f78f9b1b3b56b9cfc2479
MD5 e5b74ae34cb07fcbd16c8539c9a23d02
BLAKE2b-256 aa96f31aec68d48ae43ebe94859ee76f573b0632d22830888de8ba697b071c3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b97ac707f5d733f42230de0f131218d98c0c21891dd60cc65488da9f8f582088
MD5 524dd673a3aa5b7e1296f74693174b51
BLAKE2b-256 c6839768c930af67e3f371fa0c34f378c0ac89b2446412b997fbe49cb75ac1fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 582577bfdc0fe74e953747323ebe00013a14c7447d7255ccafa89e57238b9726
MD5 524c78332db1fe1d446d04187358030f
BLAKE2b-256 a1ada163f276901e5258a85b830dac2829e566c25316e14811da98ffaf381842

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-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.23-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f5d07469e4962546549fd5b349961f0a39fcc90d24498cdd99b34d27cf2253f3
MD5 5b5e6f24100babc1c9894acf564a93d7
BLAKE2b-256 64bcde643aa68f5f563d33ff747f3439d4590848bdb59bfb6b82a2bb00b95833

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f116168ff373144ddf859b60bde9dcb63a528f01e3d64d544361daeeafe96315
MD5 1674f4f1ed4da34da928dc01749aeeda
BLAKE2b-256 e4dadb6fe5719d152fc634f1d45b98716bf5e21b120b00a8df1998e566b1aee4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 baa09779254eb929c97e1d507632a87a16e868d17c340e8f7ae11d27ec918dc6
MD5 bbf45cba5c1bc36b2cebd565dd723278
BLAKE2b-256 ff95dbd44004d0a5d29b48042a6194d866af4b9cf9390851f02c0d96a3e15ab0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f817bc94546a3e78e579d2ea65d99f934af428c2fe90d596088840ee64d9bc4d
MD5 46d41b0ca796105b9ee2a0fa298ddd00
BLAKE2b-256 251134c884965ffd22471015f9cf7802652b85e732fafe7355f0ba932fb3836c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 806181b30d937845315daf3dc712f8c528d3c91573e60baae3ddb2cc1e72587a
MD5 b305bcb125fbd0cac31a076ae8234245
BLAKE2b-256 0357b73e199e5befe88a7639940f3478fd18d2e8e0a7d65e091736cf7400f092

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1e9ee4654d87864f53cd11b372ce5f941cfd067d5ee4bb7533eeb65b2d13d883
MD5 51a98ebcbb5170e55e9fe814c30f4660
BLAKE2b-256 c5c49a731d3605cf236b078484db0076ca90eb35821a20c4d5f30e045fa0282b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-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.23-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 15fbe99561ad5160f8d7e13e3e9f323ae6d8bbb75202186a843ea260f0d7b713
MD5 144364ade1b9df3572451b893f07392c
BLAKE2b-256 504e24cfd32470b3ca4d1c566cb85a3f9d6e2dd1ce80770b2d1d7a41dbf765ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6d2a8edb703939b9b7f6d393fa064bc617f9ba84d77b8e8b7d1b35467950f3db
MD5 01d2f9c5f7395c8b84e084dc9688270b
BLAKE2b-256 784335c7f8d08e74a01133c82a4612ca1f60c7f56938009b77c5c23f0164d591

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.23-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 65b90a8df7db40ac8db18eeb879bd3de4d8fe23f48ae2d8322f6eb1dc352fb5a
MD5 f95676985625e79c8c9d68d0c2cabba2
BLAKE2b-256 1f8a4a72db3faa48eaaf90608184a4fdeb7b91d671ee53e0ad6ce27f536cda36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.23-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ff4c2462fbb895a46de7ebe8aabf5b53445842f928b9f8303f83bf325264939b
MD5 ef067e7a49c9237f2c6a929ed73abb36
BLAKE2b-256 3ef4082fadd314b4606658699d52e3d1046090466fa6645e52d8e213081b4ea8

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