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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.8.1rc3.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.1rc3.tar.gz
Algorithm Hash digest
SHA256 36ca461c2e31aa6cf8e2fb18d68bfd06743affc701456911748aee7a5caac80a
MD5 c11cb8dd8d4cb92539eb6d0e41fbb8c6
BLAKE2b-256 9069ab144d6a4feb61e85b3536046f6d26a9303d9be47bb643db9f27566571d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d74eedc39903ef3510496c4e7bca4a52ed6baea0541111f80a616dbd79a7bef6
MD5 5c18af099756dc1676319cb379031962
BLAKE2b-256 06b7479247d5f049d556de23513b22e665294b7fc187dab18a2672d97e449c95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 72d65aca4c132a691ad99d42ec40de84060193e0791977f8946d768d89e6165f
MD5 d20b9305f2d63e9557a61f8c7e46a37c
BLAKE2b-256 4d4f0a54a38cc8e9cfe80a89d7c83f054306fedfef57e597bb1288f168f0ad66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 81694f16f54ab2a28034dec5574c18149f14dc7406f91d008cbc9d997e1a53b8
MD5 8f559bcd87101f0965c1bf41d485dd1d
BLAKE2b-256 b4e378af9220a4e88e38aa47636db1c1e95ab268ec233ad8776f268f6a3a3f06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e27408b48799dad0964c24220f1157d176002fe62db0bb5f8453c5a901d99b9e
MD5 4457cafae1c70e90f1b36b23edf907ab
BLAKE2b-256 1335027dcd94d51322e13cdc9282427977a62d98cabf285e7a96e1c4cdd2f95d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fc6a35661470a9ff98b86027db91fabf1968e9ea107eb587dd31689b6d4150ce
MD5 2c38f0b67e36601abea3569b9c2ab41b
BLAKE2b-256 0ad0459db5733fbe129cc551941bcd7d0d76dad73cc039ac5bbc61a1df8c691e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 93fe9a39ee23bbcde055e35de8a4bbf14711e159bdca3434b41f95b503e98ab5
MD5 b2c10fc4ad606207757182cb132270ae
BLAKE2b-256 4cf818313c07b08a4da973c974957b0a76c7159cff014ef4e273057d93e41fb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8618cfb74d03780215fc347e633c8a1d33b1313a99812dca2e81a1d1550fa7ee
MD5 3c9828973afea7469a3d341538f53aae
BLAKE2b-256 8b85efb995ba17fb0926afeb485fe805f468514b75f710961e69f6b8296be5b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 39623f0aebc31e983601a75562a1a2b8b18d8fa1a2aa119093e2558420a958a0
MD5 a42e252d1fc5591ff9add71203aeda21
BLAKE2b-256 8f2ba47f0c6c9f19e79e9e25a6046a72c5889b9ca08b26a8ca4a9504bb82648b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 72f4be2d575bc5835d787106a62d6258d86b59a1a954df4ad73a6b78b8046ef4
MD5 c887e0bed60a03717948e4ef7861baf7
BLAKE2b-256 f61303bc73585841982d908c4ec4d5711324ea949279d8c053cdfc4662f8112e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a315b4c724aa60888e3e111118398d6fa5cfd8eba2c21e9dc830328822caf639
MD5 ab50263893e507852e3e3f664c0f9f57
BLAKE2b-256 7b675b63365a1e40a87d5a51b52cd3923103c746cb99a958b804ccebc2e25843

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f163d7494f04fae2d715015813994850ba79958515e0dcdd23fd917c60ac60bc
MD5 c8907bbef072a945f52f2a7f99bc2cc7
BLAKE2b-256 fd8ce6e7e88065bc87d7ea08a0d6cdab8c7a2a353d49ae9e45f6570452d081fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1aa82bc1a37214579753ac9e107fab3247de8ac81b6e43768f69cedf633e8c97
MD5 e3f1245c8be38d82a7f4eb094b12bfd0
BLAKE2b-256 7393b4dad847c9e1bfeb67d23f8bf6ff3ed4d729a8e223fb8db578e84665e280

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 48401d0f077380654226a71496c1c519dc1d2040048896c8f74fdecc44c819c6
MD5 0496243ad2bd1a2d0753a5d438c7effc
BLAKE2b-256 6f3e8bfcfddb21cb468206d473d1600d61e1fa7adf5b9c7f14282ebc94e5dfab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0f35d81c707e46c7dcf77ef9a99210e751e40ec70c10b2cb9719c7bde7ae0f61
MD5 3b5de1edd567414ca158aef5f60a8ca3
BLAKE2b-256 0b0f7ef88cfdb1d25aca779cd0966f8dcbff23954c5f4ab95f2aef1daf7d7944

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 37c380581523f338a657e8ac2dc49187704383c183f746c43fad42fcc01dcb49
MD5 96b1e2f5d56ec1b5e938620fc6833e01
BLAKE2b-256 079883b9f1fad0049fa6b36bfdb3fdaff7c60e00c9c6486ea42d3ae488bcd412

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cc20b36f4231509501fb9eaac77dae9a7a1112c4933c14a71efc041f8993a81e
MD5 3c92b138ff4d13f2e1d00e1f501ffcf8
BLAKE2b-256 aed86d2a466bd7b039b3dd21efd2c41fb80ff120ffd761036be8ec65f950b98c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4780247ee58521badf03ffde23901a710c49e408603107001ada10ea5f871230
MD5 304c37b0ad81898cb2f80a7f952d799e
BLAKE2b-256 afedcd99af40831671294d2141ca7d1acc3eec30ac24c51cdc33382becf498f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 89e78d715b20d09522fd21bf27f0067147926779870e5e157d547eaa5ff3808c
MD5 a6906eeb3edb6d6e257f59b1c739746b
BLAKE2b-256 4fbcc3ca11b745c3236d03a0e82b2c5e0f5b8ba2cd552634cc576638dec5a666

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