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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.26-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.26.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.26.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.26.tar.gz
Algorithm Hash digest
SHA256 175d86ea99ac99b8781d85bf28c472c0588ad9b6132dcfdb4c05eef3e8678d1a
MD5 4d625ef881e1b4bdf81674b175daaf9f
BLAKE2b-256 92604da23c477ed2015049d40387f14e1fcf885c91e3f72672bc3a40ce8aa107

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bd4ab6d1399e1a7fcece8267f57b15f8383d4d11b5525a9e1921f207424ce0ff
MD5 3f1d209d03241e34747af8ddcf1254de
BLAKE2b-256 39eca3e38099167c45dc35b04820e50983bad0bfbea529d7733f3a907153dd89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4f0de06270fc022aebc36b44607594fb1ddaa83a968471d1cf578167a4793c77
MD5 2821276f4d2c3c3e9739100f14ba735c
BLAKE2b-256 97584f14630a7f9e5fbde6d321a3517b403629c9a2027412a3408b6ea13a1d7e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.26-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.26-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 28f1bea6c0879755a75c868dd22cb0aaaa0ccd972d40a43239fa52ce32491444
MD5 767261998ea49c294ee7609140d019f9
BLAKE2b-256 3132338726dd1e4d9825a1fbbe4d1c376d301085859126881ef757386ed76b5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a48b13abc47cb1e2ca2aced74ffa7d84dfc21b9096e77728f98abc29f7f4bd2f
MD5 8c1dd56fabff488452431e0c85ef47e1
BLAKE2b-256 5ec1c3f2a592a74a82a88543cb5586cdb0406c9f3c5c6e763d0e81b25d4f7a09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3a9cd44337170cdb704a399c61850de4aea4605de7f4b695883049196f73a2fe
MD5 48aceacf35c9ff03f5ec27237a07c8e9
BLAKE2b-256 1a31e5634bec82a45d95142699f5c13636f6177d38f76fd4d68080c9b7c237a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 90d7f98171e3f25a456801241c4f2749d255811244b202173fb66e02cf3ed091
MD5 cd249ed3ccf9ad6122c4cee7721750ae
BLAKE2b-256 a999ea20c91bae4f20a471620d5912bd2d9badf8630c73015815413927fca45b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5e42e1117a2848812897b052a5dd58a7df3c66eddc44b05fd672a53945763711
MD5 68671cf46ac402f32a9287f4b7dfdec0
BLAKE2b-256 e964313265c53b5c65b464401982558cec03916cf6cb7f8d18d9f87864eb3a5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f126e8befc385f9e48789f63db03486664512a0421276f1b99e23cd8ed809d84
MD5 8760393eb8ca8e3ec5c391dc0d226b2c
BLAKE2b-256 78fbb29f85b5a9cac771342db96bf58d194bf22e8e0e1c72def017a31879251b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.26-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.26-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8a7661769e1ee344aee5d65583f841b5d33ec054475a49968c756e151841c84a
MD5 b46ab3323eb1438ca17394e023b0b06c
BLAKE2b-256 a33f95c791b38af58b8149a0b64a8613a942b46e13e0602f01cb2fa61ef0657a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7415f3bf371925493b5454911ef9a128aab63072211df1ade76dd6c9b3862731
MD5 212e1bfb946eeb297bf0c814976def21
BLAKE2b-256 92b5c819094b945adbc201863ee797b3ebd17747d829d4bf06442897aea154f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 83491696d7008934da93bf8113511e33dfdccb32c0dff7253e66fb700ca8cb43
MD5 0ad9ccd903788fdcdf8b9051fac8123f
BLAKE2b-256 98a0a9ccbf74a4541535d507833db7cb894d5c162cb83c51df975faec7d0e2f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c02d03dd07038a37233d2882d9e044af74c89f25b870f039c1686c17cbb491f0
MD5 e83cfcc111e7ce9b0ecfda178e27cbbb
BLAKE2b-256 5975d11138f42cda68e13f1532b390a82629a43a3374646fb06ea958912f758a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f3591845cd33b68d39481ac0fca19d5bd9eebc59e5a1c6680d99e9a2c348255e
MD5 2bdf5ed4f24cc44261e8f08dfb0125b2
BLAKE2b-256 69e15645a3482f7415b212169c3a750296430fb8f354596b8c735f137b7c9d80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3ef620d0869b17b3e671f93f3f81041fbe402481541a6d61c41fca21bd256d23
MD5 0cff92503accd4b1dbf6ef2cadbef166
BLAKE2b-256 fd7e8b9d45a85ba7c99b48baf9ce2f7d10e6a4cfabfcd0bbce43eb7c33340e44

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.26-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.26-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6b7c1fa988d5d4939400293fd9f13da536b00c394d6e4cdbfa6baafed0d38349
MD5 7f847dd75099d42e065f819237337021
BLAKE2b-256 6be2d4b88eb452b10f9f188b953441404b099167cc27bc29da01856eb3664684

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5efa40fe06b879ed6b7fd0417b6b37b9723a30f94eb8836cd40162cd3ec76717
MD5 dc43c681c32302df0b4a98ddc15ca140
BLAKE2b-256 488064350602a0c86d3c33514b8a1fc76adad9a65ffdeee307b351a54d681425

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 de2745d40245c172bf4e03891be2aa467a6e5f1cb7aa6b039ebaf0e2a4adfb39
MD5 ea4644ccda15bf6b28354a0b6cba1d42
BLAKE2b-256 055442231e2adf2c4e8787f2f05d196d07e1d84f48a22f30e57d25e217044c9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3daca61af4f2a59459a04984a57ea3dc9915c40ee855f3ecbb5aa2c92c55a79a
MD5 f307080cad29a64b76644f9660437923
BLAKE2b-256 52d934eb3d14a732a0d5bb2252059b0c5076ae1ad8ff65a5ce8103b8dcea0485

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0f44bfb4793302ef9dd5b3e0880dfd9c7a21dc332256d192665ada49b4b13b68
MD5 2d44fb54e2b553096f3cb6570ce4be24
BLAKE2b-256 91c23d8e10dcdeaad6d129e3c538198d9660531fdd7552f24a20b2c4b72688f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ef35c8ca72fcafbea1dc7786e0f3593a89478bcdbc7ef3ee73382057860d2192
MD5 150df3d7fdedc91b4d54154cd37daf1a
BLAKE2b-256 c8025856f03c14449ef03f7c55637ceac764ba6558a16880b49dda7f97e9d37b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.26-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.26-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4b9d03df4e7e01d78ff94928f0a767571dfdbc2b7694d80562f83279d3840da4
MD5 1608a555910af440b08213e8ab30f675
BLAKE2b-256 3b6e71e44526744c4c28b9fbdc1d3ddfbd2197522e5fa5ce799700b11a1dcbe0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e1d56d46f279d8543f018444e3cc9fc4e5823e6af34aa35202bdeb09e2821efa
MD5 b4c422011da63424ff168d9ef421221a
BLAKE2b-256 d762ca354f3d9c195d7df26dd889503c0189852dae7cb56905c45027897da172

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 05748ac77b94111e43338d3f0a46900012d3efae4d12a69a7e54cfcb8fc3bebc
MD5 6b0385e425802ee2bb26d1f9c55ff988
BLAKE2b-256 5c3ad8e72168103af20ba0c1b1d8f3c18989d86fed6c1e8efa65199787e4144e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.26-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ef559c6a54b721635975427a732446ec8be99f99ec578254a0c7d3e1f105ad16
MD5 47614df20d0b5bb71756cfb1ad6add39
BLAKE2b-256 39c566f7b74dc929aa35fe1f9d6fc9a2286f66164e9f34ae8b73357e34114fb1

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