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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.7-cp310-cp310-macosx_13_0_x86_64.whl (187.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.7.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.7.tar.gz
Algorithm Hash digest
SHA256 273145175ca7460f75c84be5a3a65958dc5abdc841088fd8c4f3b0eb15bc9c96
MD5 179c2694b16ab90d411c255d1dcc17aa
BLAKE2b-256 7174f9420729e899a66fe02ccaad1c3219ca878a6d7b37096c7bab06ae3175f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7a8a2f482b74c6f74e1883634a4f8d9d5e4d676b364e82524c7fd40d893ddb8f
MD5 f8cd89daf72d7022b056ae01c2a42717
BLAKE2b-256 d51652ed7e33c61bb40884469d9935536e2c3900866e79215281edb900fb0d49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5a6e8db67ad22c10ae8df6dfc0c6937850a85b2b5b842a82562ba3526388c6f7
MD5 31fadc0c33a3a665c4f52da8c361b1f5
BLAKE2b-256 52711c2b13ae415c5ada373fdb20a3cdddc706201e6af4b0c2ec6ecda7add7e5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.7-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.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aed68089c0d67f0f0229e6c7b047c50bd5bd302a51fc7028fd567105728fb7d2
MD5 3088dcd07b9b5ce292aad1d8f6e768df
BLAKE2b-256 c6e0561c2b5187e2fd89d7f10b2670a4bfbfa411f1ab29bd6bf261ffba0d9321

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e8983817c466baf914e3e242de32b90a6490cdc788d8265c2456ba118376538d
MD5 340a171132050502331c133b3d8e6efc
BLAKE2b-256 5c7a63b8b866e0edbe7102acd16a8634baa5e5f8dd7f7d6bceaf0c8ef8cd9315

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 25b0cdf25ba3c509254aec9d81e810eeda0a6896ffb968eda8ae9cafd000be8f
MD5 d312ff756561f0d36792ccac3be9922d
BLAKE2b-256 c9ae2ede22857b9ae73ba144b7d8c7d575ab715d960918e1e494045efc42b17f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 76f91c84b289649e2ad0c53f26acfa24a1477678d64c71ad55c18380dfc9b62d
MD5 37b1d2abb74b241bb1be26e0d015b879
BLAKE2b-256 a63d7a413c869c7dd9dfd7ed00503c1dc47969903155acd41e8407b70e4e0539

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 93bd183701df425e2fdd0e112d2a18efa27c343e94143611369cdf6748a0613f
MD5 1bab027d605e88ee68effeb86f4adaec
BLAKE2b-256 1f3f7d4f9d0f76db96be587b45e5d3dba3080d6fefa1d2cd1d164768dbc857f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4d59db29057fef507691328ef1c6e55a9fe34c73fd069de338f16624fbc77602
MD5 14432d85ef3a8f069122274ff28b0951
BLAKE2b-256 5a5719edb142b2c8e5f7eb296f34feb46377cc901f6f39ec3b9ed4af61acaf31

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.7-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.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6500b9fbe3086d1dce75f16106f6da0119886002f06d80f1606f803a04a09078
MD5 59a6e9a525d297b37cf21c5a1e9253d3
BLAKE2b-256 a8b1a0f1454d5cf1d28456783181a815ccaf6e0d14959acb9b9fc192d639bb69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7081a25acdf7f0cf15970828d0b5595d7f4feafc750c395836e5d59d2441f4d3
MD5 650cc6daea7b2c846a2cf3d06269a12c
BLAKE2b-256 241cd16cc5db4087013cc8a3bbbe6c9d579130e26308298740cc84ec02af5033

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3f8a5e4ceedc68f41a0b9ddf2e81d94a7229cb0b79b7936710e143bbac0637a7
MD5 ab83e31f739706f5efb621aed11996f8
BLAKE2b-256 3a9b26b5490a497186ad061e878c758db06a3f0cf86095d6d7f883598d175671

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8d6748498b879105593266a64e3d11579999c49a1f05fb386321e5956cd65004
MD5 79d00c529fc77c15e3987edb770b0fee
BLAKE2b-256 a2c596d5acf41c7eca31d82f440fbac6c67e92f65554ff0b4e6fdb52fbd919ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cfbd980e78eebe442fb29eb63d443a350e11b2376c3a13f244f78466516d7a45
MD5 fd929403258e9f620c1e690ac664a719
BLAKE2b-256 7525f222b90a8cde1c494442f572e26c92e54b5825dd956cd907ecd77de796ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d29e3493417313a0dbbdcf06f09744b4c4967f0a10b896a98a6ce91e95c86706
MD5 015a136222e27c76c38e15b2d784b41e
BLAKE2b-256 2db0184d52d3422cee83f30ab68edc213997762a2cd86979985945ba42ef018f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.7-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.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a414f16e400c58d1c3503da77c0854e52224b00b0a4f623cc1320eb91542fe0e
MD5 aac5482d4182e71c58c31421ae67bd2d
BLAKE2b-256 28fdd393f4d9239f71049b2b505e35b7d6494669affdda120a9f29e44b7a2d0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 442b1f5c77e14e9565b41a2d1dd364dcbd84e83a9a8dc1c163e6cff1045a412d
MD5 6571631327b01045da4ff77c05cb0db1
BLAKE2b-256 fff8be0b5dd8953f3b932e9fe40992eeda3db7e45f109f1d79e860dcd3ff02b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1e6f244ff913f7a6ce43a86b764d5e34302df5d4b4a4310f50368d5d6d6ceac7
MD5 a2e6fc1f464de18ef7c2bc178d6d8ed6
BLAKE2b-256 7cc6d7b36908226ed74b489c935d5412c197d73dc8916944f80ad7c8550f75ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f51a70c07e5e9531dfbf54373e8b59213fdd696ea0512b95609d1b6d03910e19
MD5 c281e4eb5337f190efaafd53e89fc040
BLAKE2b-256 29ee85c74e298c6665a135afabb2af5fac168410712caabd39b1d3ba35137f37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 93059e8f63541834e87e22203d65aed2b9dc56f684c44261036de86136b453f4
MD5 0520b8f0b7f808a5cbec73e8e9cc3b67
BLAKE2b-256 7eca5ab187049ff9182b485b917916631d67dd3e2602a803131d75cee291b498

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0354cd57df520331f4d1ba80d5e88c9d00234569759183529e0b4fdbfca00656
MD5 3434377db92736c37c61f9ad217e8d29
BLAKE2b-256 36ac257ae23abc6104ed084b57f5f76363f4ed0f555813a57ceee474b1241dd9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.7-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.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e4be116254dcc4191c7494365b8d1724711ef76ae803a52c73781290823cf2d2
MD5 a183da49c62a21fc12323eb665283fdd
BLAKE2b-256 795379ac6c6eb42eefaf0b72795ad4861eb97069e1e4592d4f6b8dd8495b6399

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 128a4ae0aa8a86172a00f2b1da80b705c6960a6e3860e403a9e2e8875b33fe60
MD5 cd7167d1e929a33505373d434aa1c91f
BLAKE2b-256 5b290ccc38a2fb90140af95da7be21ac706c783ca3f2d578f82448f927523f72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c9e422091f7f5d1d642a1cdc157f28cc176c87a9487912d7ff00410f35f5d476
MD5 83fd2adde1bd8f3ee143734a62b1e0e7
BLAKE2b-256 aeba8bfaeea8f196d0ad171e5c742a9de05f2eff5c1be4c080f65471ad6f1698

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.7-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b26f56da8267df0c72c6922d6feb61e157346abdd56306a79fb80e6d502ad733
MD5 c48afdd97f6033d92384306cf7582667
BLAKE2b-256 4c3068ad95e8d855f02ec5b2ec7b82db3912e6b009e6df41933412203624f1f8

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