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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.8-cp311-cp311-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.8-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.8.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.8.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.8.tar.gz
Algorithm Hash digest
SHA256 cc25f42feee07ad60cf720c993d2d34664a1a600ec04e17b37fa31422a7db7cd
MD5 7008eda87a9b49e9e343760b8d39b79b
BLAKE2b-256 798e99cf1f984fe0097cab35e6ba0f67c125dd1393f4b049825e38bd651fec88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 611aebd74473a4355382e3484dc50424dba94e2e32ae4eebf8c655f97f8f367c
MD5 73787e5c401a93ea0d29c708e521959b
BLAKE2b-256 72749dda64d696c18e8ff0e93609546a3b6ba9370729aff235f7628f6085dba8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c3d73bccaec3358b9b8ca57f761c6d4bb7370b5c55948a6bfdf487d573e0e609
MD5 d2789f6ed7e85a16d2c9d5b3517c76de
BLAKE2b-256 88409d086774811c5b92771eb48db6c88d6e8a9547f9c4c91fed5ef786920929

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.8-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.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8052911b83118d476cec257fbef53a292c055b5e7b8cc021e8ef9dbbc476ed75
MD5 36025a78011ed9495b35236276f76d7a
BLAKE2b-256 2c92d8d20201151a7bb8c6bc859015aaf53bcff30bb6d6a1d243e06d93b3c930

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 325c78517d018f3d7ac210a957d8c1dff11010a4ea4ea4cb283f419976360e68
MD5 000a2e670aef5d766214a84f6151085e
BLAKE2b-256 8c68768391dc9609d54fc16ac8ccc8fb48e1cb5ac1fe61ac0adc0aee18699b0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 763c2e3192628f182266b0fa7be0e41d3cfaabaca4bca45b1cc2dc4865186cdd
MD5 87b9f13c5000c0d34963d739a09643f8
BLAKE2b-256 3491061ffa7d842087119742f364d5f98407606e298952a38fe3ac2361bec5fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 86e36f085a96e910a0ce47ea024d544bca1454d4c17c690763e28638cb87dd74
MD5 927242a38fc17868bf3c3f78c0561fc0
BLAKE2b-256 c24bbd456ae98a7fd9fa91d17762322105acb423f150ee0919865525b2c156f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 264ad920dcffef6decae31526940fa81b43a12e3182d00afba672dfaa9dfd124
MD5 6626269d2b83383698c4b05b29139eca
BLAKE2b-256 ffe2a66d0a04f95d985381facde4940ad1a7a55daf2d4cb35068614a921fd973

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 96d19502d54c2aaf5fe5ff910e59a3a2f1735403c3687c49f0bd55d79d241d8e
MD5 5af8669cb60dc603fcb1ff8f8fee0123
BLAKE2b-256 74f53168a47b5e406c67d30056f0c88f4aec339dfcbaee855f9879d14e142716

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.8-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.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 37b362529b3345fe640894263c9951dfb67f2961c523e23bb0787560f97cfe03
MD5 50da79cf21d45411080c2cf722bcbfc5
BLAKE2b-256 f500b30e214197f9e123216b596c0e3ed24fa7c08613248293ed389426fa7018

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 288d88062f1f8cca2662ee6ad3f83af1f8d291937b875b21865dad772a61a578
MD5 01244ecfe1622dad7eb7e844f9f190c7
BLAKE2b-256 b510bf9868948a582ad4d74705e8934a383257c67ca828aadb1c7a6f83ad6554

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 964c664ab590ac84f47cf4867f72d3561b3769719f62e52dd3ba3b77582307f0
MD5 240f8b87e0f012475f1316cbe98e3a17
BLAKE2b-256 db86cae61d01e69ed74378fc47f82c2899c298ac0c3297c3c15e9ae7404ac84e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 484aced72e0ca8701efd02374c20a7afbd78e46cc018305ad4d7bbf2b8a1d5f0
MD5 c1f192eee4895525acba498ede08e44b
BLAKE2b-256 5150e0cedcc1376a3ffff7e3228d17cc27e6cfdd054c3035b8f7cd8158914531

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1856460b23853b6d7828797c12e276f5b6f15215ea019660bbaf2125c70784b4
MD5 7e5b580c5f72020b1d48b2cb9061f835
BLAKE2b-256 99e27044061a9db274946ddb7a54a8d76526a3a9704a6a39ecd55a286b5ed2b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f6d7d76cb4cef5872a1def20fae53842b668c42ced12766fc406f657d7ff01fc
MD5 1b6de4ab6947fcbf94594e8402b5150d
BLAKE2b-256 a39439fa76d5f6f0a61c08810ccab1255a16b8e234cbe8e14a60576c9aaaae89

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.8-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.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2e59153d4d30232a483e6e79dc92795db7041f5b042b65e6343786323201a7d
MD5 387d14ecf0d9c3aea5e81dac2899be04
BLAKE2b-256 c4b87be630370efec0338b3cb71a157843d4d4f18b1aed183c02e8a7904be984

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e1bb510595fbf65e84897888022463f1a3771bdf978f67fa40f80ee854758d7f
MD5 930127d4201e73ec6e36723ebb4db97d
BLAKE2b-256 7c07523a0b8e8c5389a1a4046e8fb28fad1a45188b0c8f4796a18939b1994bb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 33c4a4ce2bbbc624261d5ea303a81b20688a74e39a45f6bbde2f970a4ec5c5d7
MD5 c05f8017a5954837da1e6280ae27be8f
BLAKE2b-256 d6adf4ff9e3fe7ea8413210244febaddac5175ed68d179f52b403ef30f87089b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 729d82c30b0af83e7372c1de1847682fffbfab9d62b9e7b8334876c231f77141
MD5 f4598bc831e85c8f2bb955a7052b5984
BLAKE2b-256 f042afc639614ab4ba5996dcc1a3b3e1727faba3d156bd9392752e0bafd59b7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9b202319221e966ac6b57c96cfd2ae91947202f7f983b0db4a5ad6877a9215a6
MD5 591545208af81aee1783cf873b11b391
BLAKE2b-256 c41531991065def6c9369a27bb9ff603153822b95886d9b9ea194695aaeb5910

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 70c23310fd3224a3ab0a9c7d6b98a9935d1f5799eee416d31843c3101b8d4f06
MD5 9697d2a4419cc661aa09a41a77ba19f6
BLAKE2b-256 ae9b05274190a137379b623023fa8ad2a1a660e40b3d98477b31c7aeaf2d46c7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.8-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.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 98fcfd3880589ac46ba18c975994bc8a7927450d4d6261ab9bb53a5b651b283a
MD5 93a82162a5c30fc818de98de5707c60d
BLAKE2b-256 1462aa6bdab7d8d0bf5714b2958b3b31c819ff8fd932b654f15e4e59559736aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9cd93f5a1e551d1c9c34fdb1fc5b0cb7011cf135102ebbf3f00b527452db4b8d
MD5 01497dd1c17a6922dce8b6c1f6962a57
BLAKE2b-256 a3c401df9d188bf51ecb10d4f19179a55425a9f3ece6c35871d2ef099e912ba7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8c8b36ef33ba0c3a220c593887482b23fcd0f426176c5ba732cddb1d21c856ca
MD5 b255e13f100d0cad9892e3a0929ae3c8
BLAKE2b-256 e10637b3bd2d29446d387dc1b6f8e09063315523abbe023aca980a9e30d53a96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.8-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 64509141f7b29b03099aeeeb210796289b491588bd52a0bb5f682fb34b940601
MD5 61337d610ba2a949ea10983ade9ade60
BLAKE2b-256 337d79d20ac6b640bec24baa7eaef04ba41658f39d2f97bb1544874319e2c1df

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