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.12.tar.gz (4.4 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.12-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.12-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.12-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.12.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.12.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for passagemath_glucose-10.6.12.tar.gz
Algorithm Hash digest
SHA256 6adba2cdb8858553e03494a6aa074c16750e2b3efd7d5ee204d863a378a0257b
MD5 02220e09ec73741c7e191d3ce717a55e
BLAKE2b-256 84cf690fb67063a4077ccd9fc01e30d2dcd1678aec4d99113dd9a9a7ec62ae1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 303613c1ac0a11501c247a15d6ab2e02e374fc8a5f0f749083bfe4ccfb3423bf
MD5 19674a182e587a128bfe33cf0fbb005f
BLAKE2b-256 c98a90859ae4d35e2a7b4e526702319c7480411b985299869ed73ff32ca0e293

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c4f0fd8844b4c5098316aa3cf9fa588034139efc55d86475076c0d556e4466ef
MD5 dff8629963d7c55bc571633341c623eb
BLAKE2b-256 a84c9b422e0fbb817ea299a7662a29305b52fcf0d46520b5f46367dc7c3ffcd4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.12-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.12-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e12cd9b4c58ba3f9870d5895a2a15dba8a14fcd638a4ab32d760f4fa8c835491
MD5 5a39bb179ac621d948889dafc59a7d91
BLAKE2b-256 bbb68fa8d0c64bb9ee4b5b87384e0170b5472d3b1eb2fae0b674027c8a5a00b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4f7c14aa5b970b844533b5a519bea2ea766b9700fa3216d8e87ca31eacfb2179
MD5 4abbbb3240a55dbe0ae5aa864eea2fff
BLAKE2b-256 57412070bd56cc88e26a7d98093fb43699d686dee7c32b4368ba8b0cea3d2a7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a33bacd3b37da7d3a6b64bc6abedcaafc70aef5b6c79a177f91b0e280f22943c
MD5 5789cb8ec560f111db0ea54f49af6b5a
BLAKE2b-256 c4879052100bd9b5f6a26ff2d139748f534d89e5609ce7d01c4178cac45cf836

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d4c48100786f10251f9e52dfc81d6db7345b8d6034dcf55c66257e3a497dd4a7
MD5 2d9955690a154d2c7fdd6c9f2ab2aca4
BLAKE2b-256 46ab43fe919d90616b88ab6ad88f57ad8f0c1059f7a166958f2477c870e30979

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b1408d654c07e112c6aeebff4adefb39f39a6df23c22eab922d772dc43a44ca6
MD5 147a35684f1046d9b6c334022a069283
BLAKE2b-256 e82513a9ccd3681999b35ffa7d7ea3da8698764b222d8c413c17737bc0387169

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 48c27f457d6c7a286ea915dfda18e8c6937eeedb75ea40bf410cfe8d8a1b9d1b
MD5 4c65b0b4a94ee49f7d60b839782fedf2
BLAKE2b-256 648eacc289fae3ed30dab2666e4224ce43fff40944b9354e874fe5bfd7f06f60

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.12-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.12-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 42084577dfb37b1a479480a6d4168b511b4ca8ce322d39ba4f41a2e905e45b58
MD5 21b55dc917ddf96f8514a61a2050e486
BLAKE2b-256 071fee5e2f6576553449ea09e0e557525f3e06e152b7a642fa6ba34b75481f54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8f039bda66147353c90663e20395eec5d7e2ec61048e9c2427b61ad24df79ea4
MD5 720de8939b67150447f0f250f25e42b6
BLAKE2b-256 b71896badf1c92caf9aa2c378ea4c550a4135db835f88743c14e26701c6eb2f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ee9d8bd017f5f3920675ac2176acc38e5c980b1984c03a4fc49807e56dd8a12b
MD5 5eb6ec1b0f1cc34153a8fc96443622d1
BLAKE2b-256 e3b693a1d8c96b4f810b7e47c4469b602290ea8d7892f132661d81b9d7de4be3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ed4743a8aec10712c4f63859f4458430d1baada1d9faad55bc022fdb43d80dde
MD5 7d4535e6d3a78de454dad65fc7807ea2
BLAKE2b-256 156625e920195f5ca085ad7eb6c97d3b0126ce50966d9e10abd106bcd58f95e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d2f7e84b7b2a51eac9b2b64b3978459ea855b547dbca6dccef42fbc22fb1e429
MD5 fd109f3ec2507acfbd07abcf8449fd7d
BLAKE2b-256 f547a6b3f0ce1417017c5c680cf235bc2856f9714771e76e55bd08a34ccb9475

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0582182d8be8d7dfad95e8131d9d65f0cd050fcb39be2fa293a5ed8a61a71bdc
MD5 11e53b9fd79ea6492b4fad05a18d28c5
BLAKE2b-256 22d2c620949781839576da6a9e45f6c2ff38631cd47441fd7f0159fe99fe18f8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.12-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.12-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ce84675fa52f681452910d2a00debc9959842f41e04994cd316a146734cf7e43
MD5 d8a31343a6513e0b1c736af5c22bb8c8
BLAKE2b-256 5ca64c034bf0ca4eb4a01202d5c91f2ffea00582f7a2d307c3ce6b98be50baea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d15b18010dc385fd1b3ff2569a076541d5fcc324a279ff23353d60ffa177fe84
MD5 2894bda155b679f4434080a08cb5349e
BLAKE2b-256 b943f98ec925e37190b8c59d263a413a41ee2909cb256e92528d82e843bee999

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b34bdb2ceb1f30ae1489d9cc3317ed0d9a37650e47aad1f7cb97374914664c30
MD5 a9f04490a2c988c7e19516a23d6a6f5a
BLAKE2b-256 a47c12481d135b51c409c9c217e5f5ba7e5b1f6bd858cad22372335878fc4670

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6e44ff549caad377290622eff1fb8b40f7b2fc2ebc67edd5a952400335afb450
MD5 0bb786fd46151d6980a0b0ed536eedc6
BLAKE2b-256 034a3e4b10d9f8ba1f1c1bbf67eeecc695c336ed193094a57892f7ea203cc582

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 067d6c5d8f606fb9f7a8c93b55a574a1cd47dc864c182afbbb42e38f42631686
MD5 9ee0df7fc61c3c7c1d22f22f9d1d1c37
BLAKE2b-256 e2174b0fd3ad74173aa848735c7bcd72c192421b7146cca09b29ec447991670d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 aa0217254d328444b9936030402b99409a4141e83bdf0a800f421999cd4b6a9a
MD5 282396ed9041d930dbf9d3cb6a3ca631
BLAKE2b-256 6af33c8e45f323d2559b472119968043ff441ef85df5eb4bd425486880643439

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.12-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.12-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d19a5abff99e83e9a64883c6d5ed84ce2cfec0067d34e7242ca6c17277d497fb
MD5 247db02adf980020fd37aae1bb524cd9
BLAKE2b-256 2c3df9546254a6ef62f4dd8ed2c79d4d4daf31b88cc988054c7145d13b8e74aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dc9ee48a095b2aff2cd893a1f176ce1f44462b28192a55f2526248b68180544a
MD5 918bbdc0e8d465a52cf518127b76dd78
BLAKE2b-256 8ef7e7b5e8dab76144125d33179e5072238a3f6d42c424030a8c109cd7722661

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e464460c7e785b1d775d0d0d5c5878176cddf40e18f9e4dc3f870ff94332b5fa
MD5 54bc13c785ff720b1659548e552380be
BLAKE2b-256 a96d828b70ba7f29dee641c0a050e36119bfdcf047be85d8c697186adedc93d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.12-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 75a976b9d0ff58432be91ca8564ec7ddc52dee06089cdf73992603e999d92f6d
MD5 75e733cc2a832ecda564bc51a88b5982
BLAKE2b-256 59476c1d2686ee77c8617f6795516f7e312f32db92e19f8c3d29ed306a13a40e

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