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 was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support all major Linux distributions and recent versions of macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or virtualization.

Complete sets of binary wheels are provided on PyPI for Python versions 3.10.x-3.13.x. Python 3.13.x is also supported, but some third-party packages are still missing wheels, so compilation from source is triggered for those.

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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc5-cp312-cp312-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.1rc5-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc5-cp311-cp311-macosx_13_0_x86_64.whl (187.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.1rc5.tar.gz
  • Upload date:
  • Size: 4.3 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.1rc5.tar.gz
Algorithm Hash digest
SHA256 f6486c3cb4857d4bc6a4fb9af1bb68dba3c7c0750ec43f645f1aac5b481f2a91
MD5 854ed67d2fc626aecc88e11de5a4b87f
BLAKE2b-256 5e10bc19d9db80c3edd66b78723cc965912f35f33b469b93bca7dcec64b1edf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 02c1121501047e2b3502a21081678be35189f919733f62bb15a454cfd795b173
MD5 ffd82038b3eea5eecafa57edfb40914f
BLAKE2b-256 48caf91e124e59e3207a6cff4f18bffcf8616b5d0e8977ce41803098cf50e195

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1097b4e8ceaa889e48067a4bf4cf229209873ba33d2488ddb3925d8498f2b19c
MD5 9bee88f27858c936370f6814d9150d9d
BLAKE2b-256 5e946fc6671f41de39952e65f388a946eda76a3299e13382e49b2ef51b999d1f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc5-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.1rc5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5546dc77c33f386faa626112b571a55e4f6d3c38fa0bfd52dd6e5433fcb55aed
MD5 48a1492cc129a596689ab0a69257d2ca
BLAKE2b-256 b0cec59671e0479c756caa8d9742f23aae8258221151281164017fa45317b38e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4df486408d52a28ad248e66dc23fa5f4a7279fe3b9035fc3311835a32543e6f4
MD5 aa7c64ce5579c4ced7b35d704cedceff
BLAKE2b-256 d4e58bf1c54a6315b6a38caef292d8481b6d76279b09e2f148ad2733ab308615

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 391b7c2d6b88943596d9a00a1682e0fa6cf607faaf1edf2842fc8e20d6b5367e
MD5 c5e647ef47562946491c628afd7f5ba3
BLAKE2b-256 f436176aa61758d2ff8dc1bc22e3f88d4b9c0429799314e2c765750c30a5ba51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 705dcdcd8f1b078ddfa876b23f0e51fbc28c4d1772f04046b22cc465daa3313b
MD5 2f2497293075e509d7927a192f1702e1
BLAKE2b-256 a843070d98189836608737d3a33701ae89b472024ca61f1b9401a5b6895b0148

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c46e00ecfec7a86f3a7643ac3a241db46343c682b4947c1aeadee36e403b1698
MD5 7d7a1ba4721e6076e5c91726aecfe5c5
BLAKE2b-256 5b9c0a83f8daf7756de59eb144f69d82a879855fc207678338f9ecb4cbd15b12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4f8f1402d5c7fcada92c3bf445a30fcc2e76eb19ab19ae570dc1a48fd892eb6a
MD5 ff9e9a32f04ac8999f350a48290b12cd
BLAKE2b-256 5e25aef6d4e1c962932e6d2e7d721ac21f61f607028a93baf3329165dcc80b01

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc5-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.1rc5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 05dc0ea0a48ebb3803a69470ba1b8f61c22cfedca5748511f98682ebf986f684
MD5 cb562ca76934e306e3c44f4207e89d24
BLAKE2b-256 8df036a652f0c83d7c96f17e26db6f4c75f025784a14fb616ca5ee4b1cbae532

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1c2e256790a5602f202af515152915e046966513cc36dcde0a2f2072966c1157
MD5 79e38252f668b5c8016cb21449e15267
BLAKE2b-256 799a444c106a104e1f8778bd062fba6e5c975731110ec5759750be7aa0617292

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 edaa22ec416f0b244d547cc3c3205982c6521f632094d64d60929ebe352b9936
MD5 73b5bcbbf15c24bce7ff7ce6a0e07931
BLAKE2b-256 f32f31b71e2d1921ebe42b8a4e44dcb268adb6f4962e565d893f4b6d9fdeb8e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5eba14d8caf772d16e84fd82676c27c818c5c9b2e562843767c2683c1768abab
MD5 ef589deec1303bcc3ba81b802b522637
BLAKE2b-256 94ee8b98070c9f9739539db9d16aceb6b4962eaf293c0e928d284056dd6868e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d9a4a6c94fd9b18600d0ecc1f7500f3d567dd42c772e8f341b3f646bf76f05bd
MD5 ef557322a172d67a6cdd25a37a85f70e
BLAKE2b-256 429d6151c1cc05bd8d4d746c9cd390d49d426afada747dbfb672e0ec8fc11c43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3c0cdc953614976bebc1633ad38f3c5766536fea450a04f0605f17fb2913ba11
MD5 b62067ce180c59509f7f702293ee3b9c
BLAKE2b-256 bdc3c6e9788b5518b951460bff9a125e7594b836b50724670c84f5973e0123ae

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc5-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.1rc5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dc6520b196896f981b4ff8a0f7bdeeaab296efcd1cf23aecf6ac526ce66eabce
MD5 192efaf120dc7f3872b8aaf116c37156
BLAKE2b-256 0f24f6a16b71f7940bed3b0dc6d3f80349f9f1c6841b23c419f8f35853704801

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 34048280d07b865a99cb7220d5f27a8482150c4aebc068ef2c1bb48bb6f960fe
MD5 a898620c5b1543f118b0f35c6b40a8b9
BLAKE2b-256 3e8a164f57313bb91966e86fcb9ec8060908fdfed2a5d060a92a3d21578ce136

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5a134c0c4a5c7e483babe40be158a88dd2b4c0b04d4e632b007eae1ce1a89423
MD5 bc8bf690e1998f5328ebab9ac7e79669
BLAKE2b-256 86827de36f777ae42e4310033023ffc9172214b1a03e4dedfc582d6876199ed8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9b7c373bfdc8a1daa7c774497188e94cda3cdaf0ca44d82c0b231811c3516d37
MD5 6fb0e419f970e418e79f2ffd925f68da
BLAKE2b-256 ff5d875254511e48c5efd23a8ef737cd3654757e271eecd1c31b63e2c0f97ccd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 898d53a2b4b2b67bbd7018177b381e8f78f9fbb908e076f42cce5cfb99d6464d
MD5 37f5a308b15924ceedf903a82028d8a0
BLAKE2b-256 069ce30a227de22cfe5a9913ef10ec34d75efbd5bd2827dbfa413946642df2ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7d1070e77a709598135739c9b9e2b004645cb733e310c1cb005778b9f941fb69
MD5 8be4d746a50f20d519cd4500fe58e25d
BLAKE2b-256 9cf188464e0d01360396b5e5c56335eeb4ba03ba31459179e307e9dbe194b70a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc5-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.1rc5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1e4434e69c3903d695a5f0d23d496dfff5e92b63a1a02739acba62b24ce40c9e
MD5 5cea2ab57806cf5f3e08f602349b4fc6
BLAKE2b-256 6235af72b7344c6850889afe353a7edaecdbe77bc8e62666da185f63749176e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d2ee43126f5f9d00f33d0b68e54c8d38d0d5741aa36da8efd0e54365a8c17639
MD5 e74ab6c9326452c3f8c64fcf5b416c5c
BLAKE2b-256 4ed054d96976c35451faf562e775acc434e32f74e0405841079477fd325600c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 533aecc4bf9d07f485743032038c4aa6127588432eb1900b951f95c5163c0019
MD5 c22c4b486fd94ef7b3c86b3b359779aa
BLAKE2b-256 030762682582e9d0aaf0710875aa8019dca6da2b6535c6f410759050f65d32d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc5-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5bc80045b906a9b314f7e06cb6a8b8965d32689000179a95ca0e566b6c3a5553
MD5 1a1f656917890bd872b28c3bf9b525d2
BLAKE2b-256 c3687a255d7cf2a84d50c704390ed0fe75536af1db709beaedc805af128b95d7

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