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.

For the Linux aarch64 (ARM) platform, some third-party packages are still missing wheels; see ` <https://github.com/passagemath/passagemath?tab=readme-ov-file#full-installation-of-passagemath-from-binary-wheels-on-pypi>`__ for instructions for building them from source.

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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1-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.1-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.1-cp313-cp313-macosx_14_0_arm64.whl (176.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.1-cp313-cp313-macosx_13_0_x86_64.whl (186.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1-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.1-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.1-cp312-cp312-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.1-cp312-cp312-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1-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.1-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.1-cp311-cp311-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1-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.1-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.1-cp310-cp310-macosx_14_0_arm64.whl (176.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.1-cp310-cp310-macosx_13_0_x86_64.whl (187.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.1.tar.gz
  • Upload date:
  • Size: 4.5 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.1.tar.gz
Algorithm Hash digest
SHA256 218bb254fa38cde00ee2f1cf1126691b56a4261dd2f3eaa37adf0b5af0d0301d
MD5 eb0747d88697b25f0af02b4f65501cfd
BLAKE2b-256 223f6b870303d14b9c22510f224aeafaa4f2a1017f744be3722b22a36f7492b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 aba062e5a261b85aa927d2cc451426c13912e4d9d1eaef7bfc78b27786c5e8e2
MD5 4268bf9db8863fa20ef82ac1e9bcd19d
BLAKE2b-256 77a94f631dcc31fc2f00e8df87f90ea73e282c482f039c5f29e9ed4b7ac0f534

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f3f13b9103dee1a5891a56878099ae5d4a9bca18a98a61afbd6c03ec151e3bfa
MD5 f6f71c8c4a67751495f33be1d77aabce
BLAKE2b-256 d2868b0377ae34ff1de8463e75aa210e0416e44d61a6151d07ea43a7d130ec15

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1-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.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4d986a755324c70c6e21f887718fb828b6283995b84cd82171fb6b84edff4392
MD5 62919196b63b38101ff81ee2282501d2
BLAKE2b-256 30e7203b06d4275aa212074f799095d39674ed2541287e7023c85e25c4c46bb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b3aad07b5edb8650751db6f7d8196cdd507bccbf39204a5ea06e7a14e2eb6937
MD5 54cb4ec8fe77198ca9e214ab82c9e565
BLAKE2b-256 30ee5bebc054c1a44b2402d8547916209f7f28f08aa9da2ef1c7bbe5e9368f18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5de71fdbc7511dcb8ab9be20c60abfe8aeb3ac83a176e1f0cbf378b069e55aec
MD5 0f2fe63e84ca7d656b172b5d0b3ef5da
BLAKE2b-256 677e991f027bdd6689f7db898fcc231411752a7b059d33ffa7ed2ed1e8949281

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2d12acfd2bf326a6b37894129a1aedb23ee9b66f86d0fa92796a0e77d2f44526
MD5 5c50c457034d3be3bc6fb54e0170cde0
BLAKE2b-256 21c754e5bb23b26e073aef7a0a76969f2e16439c74a6354cba7cb87bf3fea959

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 61a3fe553cfaa8f3e6787889cf1cbe1b841f90200a6fae9a4a8eddab6d00db65
MD5 346e473e7e118a4fb5c19eade4cf88ed
BLAKE2b-256 29bf0a994b5c2d79b1af25a883a1c278e07e0efe8e3782fdb142ce5189161b3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 56fda109ecce0aa455ec696a46d0eaf3cc5b360327c55fdb21e2210889396001
MD5 4c376351c0a3761fa42cc65803aa0159
BLAKE2b-256 d75e6db950a51870c97d3276a30f38974fd8acee7b149b2e809fc7b1dae0d13a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1-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.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 059e56eafe208d910868ef9c9d63b185c1da734a93477f3116521a6f4bb6abe6
MD5 ae1a3db10fcce88139cbcc289b00fe6a
BLAKE2b-256 a1b592b6a3787feb82f196c9b6f311e2f5d5d992aa88fe50d31ec4d6b06e41ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9274826481eba1036cbd57cf94d121590c5e2b68886190340ce90c001abb7755
MD5 406f0ef4d102df5eb58e21d8ea9c2079
BLAKE2b-256 d0b7e1f7862cef42779e5b668b0b1b6ef14e8d444bde4a114364e438bd0f41a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2ac8b8f1402be903abc31b331de3abbed42b496c867293b62eabb13d8b85dc23
MD5 9df881f74d64e34bbb2065ecc1fafa5b
BLAKE2b-256 1d4cdb2279caf1dc5120d2e175a427805ff176dc0c9343715ba7415c2eed772e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c9a06aeb48e755a38bf15eaaace8e85bafb47f578374478fe3c3781e5a53a129
MD5 c6050f2900e63902c070971e87d00fa8
BLAKE2b-256 d77590c3e45a1bb4ec3660f5a443b95d94157f0c021b987eefe3e74ae02b0b17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 caa5d38357ce47f6e98dd7c3704a9be5e59794c7e8009e05ee79761bba12d76f
MD5 2895783dafbd01b4599150bf09b631d6
BLAKE2b-256 b7e9939f951ecf3c383bdd245e7cd1fc79b8edcdb682336b740851d8a20e9241

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cd7507e12b44ff09f2417700e65c2ac6c618b0f3ccac7a1fdeaced3a5f7e57a2
MD5 3d22b5969bb680b53aef60453626f692
BLAKE2b-256 8329bab2e6ba0d0f1afeffd72afb22e55c7d9613b36d14c5b13fa66d6fe47e6f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1-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.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b3391d658fa6a8ba1bad6cdf0dcbacf83b2a97fabc97a38f6d664da2f0e90752
MD5 71645e74026a261aab35530bbcf18ab4
BLAKE2b-256 52f6a973825a69b50a8c20b6a8ebabb60ca9c12d58ac6bce1072ff622a6457e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b755ec6142b88d903e7773c2b2a36754f526e8791f5d11cb5f4e7cfb561fa871
MD5 18d6494e53901c66cccb032c8241022b
BLAKE2b-256 591a0774652930d961cadc73997abadf6a6af201a8005a1b431df806eb166582

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 df57aac7e05765dc0fb164092da1b332697acd9abfcc749d1f682fe797739b2f
MD5 3fdbb55eaaeef00a4529cd22df389378
BLAKE2b-256 35c00485fa0728fd4b2c15d5afb64072cae68644c13c3c8e34d1ea081478d63d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c1dffae64bc6e50601fed6aa98e3a3160c7f787e3bcdac292937da3473f2b08f
MD5 c3f8580679dd5d317da817997a70f253
BLAKE2b-256 320a67811a6103a65dec67129ddc5bf78e5e635a04588b28650fc2ac18835a63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0a705763980c6eb7ee7390e5f3f7e91bcdd034d8b7bd19b3c530a2f5b1232fb3
MD5 bb6351eef73dc692d18ae969b42d425e
BLAKE2b-256 d0e8b7ec6953ba1981cbd2159fbb13d7a2029e43f6a3444c01a8f730101ce0fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d5d3bd0b9c9298829cdf1e9f25e921c0a61bab7c6f6e9292af00090fdb51863b
MD5 6dc3fd456c612e5f9bde19c81cf507b4
BLAKE2b-256 43bd02fad083eb1e3e70b1b763030ab0400ff3b4fc3e349d957f8c9e621a8f7e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1-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.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2323a020982830a1362552c6bdd57adbd8cc1cc4a2375132f379d5aafee3dbc
MD5 dc52acdaeab74fbdb7cb96aa3439541c
BLAKE2b-256 3ea0150f3caa88d8d6dbea6abec70deb806f669ac454e26618c4bc4743e6858f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1b0ca20978e7db255d2aefccda89b1839690e4be7cdb62468c3fce2d220f1c30
MD5 f168c8d8d7079f9c78b0b0478c839162
BLAKE2b-256 f25f324f9de0405d640a267c7642642c723116ebd01ab5787c2742fa03a438f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5ffe6f7af5aae1d1b33a6af18735268d55fff00977b8ba3cd9170969f902734a
MD5 850635e9e4eca3907cea67fcc1d20bfa
BLAKE2b-256 5bfb8732f7716a26ff097f23aa1512b634f3f9850f21eb84796886d70e14ee6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 019843b28e792229767c104da2a715cf89fb258c0babdbed2a8595f33a64c70a
MD5 7d4ce9ec3bffcbf9f3067988f0509112
BLAKE2b-256 fc080e8c9bfae715411ea802efce80443de308f53350e153c81e3e8c9499af55

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