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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.16-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.16.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.16.tar.gz
  • Upload date:
  • Size: 4.4 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.16.tar.gz
Algorithm Hash digest
SHA256 f5de2e68958e12c0145d9db7486aabb2df59cbe809c40e27fb82d461c393e9b8
MD5 496e961f791fa930ba3651e719ec89aa
BLAKE2b-256 9510de89e37ac0a7a7c86de0071ac438bfeaf7c090ca7ad1796fa06424597364

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 20d148cac9534d74bb23c2fe6999678cbbc04dcdc07cdd10a2d728e4667db232
MD5 5b761226d24cc4d455c07197eecda1d5
BLAKE2b-256 93de60ff892b8f07a441832a9cafc19ef244be031401a387e88000d22047c1aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 648751f5bf7fedfc66df3132b3b13b67c3bf0beda3be7d46da67ea11bd27597f
MD5 9a2ad859aac79ac8d094d8a06fb4b1d9
BLAKE2b-256 e12f193a82a24b56a0ccd446bf245238419fa9e87360c6c0d5d2a21e77433de4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.16-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.16-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1134646a2c808eb90b9947ef63769c2252cbf45a3e2f5a41b8f3759d988ac5fb
MD5 294765e9b68674584977e5546b8a5861
BLAKE2b-256 fbc8ea7e3f60d13d44d2c7971b0b906eefa3b497e9f672a7e5511bb8357096c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cdd5f9322260b82325a250af1ab4a59f8a75c5c70af959ef086bda077af2f6e4
MD5 9faa999bf09953ff07b3b05bdf2c8792
BLAKE2b-256 6ea5525a3db2174ac847425219edaef0e49602727e6b49a9168b9a5d0c233a87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 de46b3f3eeb174919967d0e0d1fae76287a8e3be2cdbffeeb2819d686fc14309
MD5 feda96019dc3f58108a3cc1eff1a4ade
BLAKE2b-256 98c783ff510bb6fa6eb687f4d87a153257534adc1626d184b8df42db3fc9ccba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 caa1fcadede165383face671db007de8c36841445a2a4d51dd4dca3b4af7e541
MD5 e9a8cdb5174bbc0b15f9d0141d15b277
BLAKE2b-256 417a84af50dfb2efe79940d3e1d1d6a204eafbd50d147779d6d5aae702920a25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 135ae78ffd8a2920ebe26347349bb9986edac45f7a1fd2787334cc2170d9e92b
MD5 9091feec452ccc2326fd5eefbd203431
BLAKE2b-256 0a959fd7ddf2486c3930271a66c7e1476e9361de0aacedf17c0c0a52ef78a4e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e2b554bb0f564babc0e2fd7850ebb46ad716e08c28c032c11618a0e0a7088075
MD5 68be4e5f2344717a50e904f540fb87d2
BLAKE2b-256 3494aa84e95d3aff5b6ee5307d408a7059fdc10be46713fec1f12a43f33c780f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.16-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.16-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ac9b2a8daa9a18fce858989e6fa3123d06f9ae91227ec892dd1391d336d9b592
MD5 d8d383f6521caaad02649e9477aface0
BLAKE2b-256 17a78b13dcbbb7b780a9ae9d00e838f9d9f5e95d6a6b3baf7a677fa796551c8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1bc543219a00c8cc7c9358bba9a86c1d35f3a173a74a6544a48c7ec915c0c31e
MD5 1918c31ef5dd7dc9378580d1c08d71eb
BLAKE2b-256 44dc3a9a06f222875654dd8795773e7295e80038ed0ba539f2fb4e1c239af20d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 89b07c2cbd620db5422cca746980eed3faee4c717524fa70a0f9e620010668df
MD5 406c7981f4112c18fe515cb05c039a16
BLAKE2b-256 60fa2810e986f4c479c227cea949d39f0891a27e47b524444dd2785af9f1cbd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c4186cef1fe5ed79e09c7f8cdc3c6f2d2726f052d04b6a4e2a03505a7ae8650f
MD5 14952893ec79ef300c3e1024e6756848
BLAKE2b-256 15346f3e9df27ac82d7ddafce28367ddac8b2a318af1eeec6254f47ab07dbfcc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 927b02e5182d66789baf6281d0e115fce4202694ad485a2997a5899af98a8b7f
MD5 54dfcb909de4a516f06277510721a494
BLAKE2b-256 464aafe60fe91c38d57620c7aec594d208288b971e03fc9d8e72e723aa82037a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f4d0773ddb847051c98fed3e769f29f0f9d567e8284add553a8740ab2dfed1e5
MD5 dce34e9c7d892dcdc369b4b6a99b13fa
BLAKE2b-256 389a7a14c101146f800ee6ed8c5e0f0ea641ffc5b1dcc346854bc2bcabd46de8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.16-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.16-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6c065f97638d7dec3cf3d7f53b8cd45b316395e84b59b83aa5d1b2865b527ccc
MD5 8873f52fe7ca1440cfa488d30477dfa5
BLAKE2b-256 a0b46be00fbb7e7c5292e020b5ae6f0bb48acc8b3adef778390ce676f4f10977

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 10846d39bd44bd82ccef9397704145498de9b507850d17a509ced6a9ca11eddd
MD5 c808dece84d3406691791e88394e5c34
BLAKE2b-256 5d685dfc6ac05ae4120dea9a70ff75774b1989c78ab112e6b5e1fa91c2e12029

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0ef1a8cc270e41bfe6b2e32307c8a71f90906c59039cf477aa3502336c9443ec
MD5 f0c29dd153821789c1c7c04d64c6b1e0
BLAKE2b-256 b5049af1275af612de532f57e62b0be6d41b210e4db3e40aeb4a686b22d4021e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2e0936015238c1b9c105f75cb20311d2872785b4ad1df854d1a6648efd095cb4
MD5 094b438062e8a0c5a654a4f48972d650
BLAKE2b-256 c52b979a7a1c1caf72252c76df0b411fc35e9f7f89a0fd54c92ccfd507007b22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 592bf3e85651a8d8d60b04bdc152844e70794a406eaaa1caac6fda15add1b4cb
MD5 a2de0328188aef507572c5b64cce5432
BLAKE2b-256 f8d1386a5b105d1070d6248968d3841fcdddc0b79fc6cd61d850c3318f2e0094

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a857f7b0a47aa69e7c7e61d38a1e8b0057f5b6877cb005da75136a9b2e58f560
MD5 dc97a1808d5af91434f677341a129f32
BLAKE2b-256 eaff2ae33241de4a815c59d7b0aaa21c8b8191cb21d67a3fa40f10ee9448aa8f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.16-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.16-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 01ee8bae2b53828e275df5120eb5f7060c34d4068a73528a9fe0b9679f5f98b4
MD5 ab02e6386706c9e4361c465abc2e2e05
BLAKE2b-256 043dff8d2ea63a15c37a157b96aaa7ef99db2350980e462504c928746c94c677

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3d12a4d3fc10d6a50f954219f0cfc9c33d57d55adce5596dcc351c3812c4585e
MD5 298bfb8286f705facce2e5ad3a878c89
BLAKE2b-256 44f0a4c76fbc08c0c6384f7ec3d1297c913a49491d748a57daaa4d3a4593b360

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d30274bae009f8a88dfb522abd5d390ca808087be7951380244fe5793e8b69b3
MD5 7aaf5e8e148fccec48d0828106d52bb9
BLAKE2b-256 f0140e9ff1e412f3060825b7ef790bf82a74253ee8f5e3645ea3abf90b007b32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.16-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 638be5df528207b81c23597375263d74bf976b41167ef9a2d104529da3cdb2d8
MD5 3e54eb4a778f14bcafcd3b6b16dd91c8
BLAKE2b-256 c5ca099b348f1ebfdf2a2967ce38d845b132cd516d263310984cfdef2356fa9e

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