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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.14-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.14.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.14.tar.gz
  • Upload date:
  • Size: 4.4 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.14.tar.gz
Algorithm Hash digest
SHA256 83b3f9c576de104192c94726010216ed8f33fe576a7d42b9770c518ea1e6fe70
MD5 99a20da976f82cab53f0711502bbb0d0
BLAKE2b-256 3e09bf904c7dd765c321350b0db5c428f9905e975f813fd7147c7d0be9410f2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d452d3f9a1d8b10c896cbda652bc936f05ff2de76f9f24b521bf4a3335e4555d
MD5 264713257c1d89c3a79f6b996f790034
BLAKE2b-256 cb7da7b3bea2f441176fb4b0438e25cb60f0b6ab0b87556ed0b6bc0261ce2d96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0bfacf2807b5baf63cb224180a029a49b0bf8452d4beb2e07a680d9d2673dd13
MD5 0f227b1fb7ab1d971f19fc859128e8dd
BLAKE2b-256 568c14ddfbc8b1d976be8d7a943d3c18eed41c9d74ac45c251ec80d3d1dec230

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.14-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.14-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9237c0db3bb0a64baf4ccfcd824aca1c425250548a6c20ea022c2c1695812f72
MD5 2740f18c920e35a9fe6b9129df15e65f
BLAKE2b-256 a3263bf1760670d44070a68af1e6e5e0661aae7905e1baaf706ad8c6d3414f2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5a016ee335a447111a96efafc74c34fbd854890de43a0aca93bb160d9f7769c1
MD5 e8a3c9e48b617c91fc6f93e06aeca291
BLAKE2b-256 3b54689057547fc9abca29e9343611d4efd9e41290b870e070e464f1f42f6172

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2c8dbbc4b22fcd74804a468162ebc07cd3689f25aac1c795d30cb30b6186a8d3
MD5 258d2ef2542aa111cdd3bb94e7e9b75b
BLAKE2b-256 10ac627ed780477670b74dac9d9f5f18ceb2466eb6852c5e433c9708071747ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c806f7313dac22626f4a683b5623018310a4165131bd5fb239763357da8627c5
MD5 8264e5dcf6d782e3c4177a29be9b03bc
BLAKE2b-256 353da5d301b18b3cfbbf0a76315915bccb7e4f714ba7a54f754c901f5c716546

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dffe5b551700667edc5128689de1a183827e18fbeeaf6d72ff9a1dcdc7dcbf69
MD5 4363218f05d9d80f1d3e6eba19f7aa96
BLAKE2b-256 bf803b64cdf284e89a58ccd7f0c30e7b62c19b65e0e02f799a30c2cc24c4d925

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9cdd5058bbf6e6f96a35483c87ef730ca1726349cefcb69ae8f2610402596622
MD5 4a89dc74350d5dd5bcb357acac9c3d1d
BLAKE2b-256 3abda6f8b2c1f8767f89aad173882c58345ddcf9f10ade9b68626fde2471598b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.14-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.14-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 778cfd00e5bb22fc4c1ee030ae8fe3c238f0040a87f5809b704d8f189a597539
MD5 681d2832d842239948d0e526e8e20679
BLAKE2b-256 584250e403c6d1eb981e138d1f524e21ebd2a7787f4db8cd714194646db880b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ffdd22965e6d01c4527cbc9566e45b0fe80377c0a63c7e5f5d30b14ca91b9698
MD5 fef0beb3b06bfa1376f70f7bf6efafd0
BLAKE2b-256 50622091cb6f73391db3657cecad8e59a10067733b1393d87769130e04f371f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d8bd7bab2ab0192dc2b88cd1b137d9695615bab99656fd0aadc80c8c302e3421
MD5 6c64a2e43fcc121a23110e213ec4f8e3
BLAKE2b-256 6a5f49bc51aadf01ced4dac58687a53b83fee58d16ec73b5c442e11fe212f0c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9512d72dc3f6c65f8a47908e860994339ee10f63cdb82f6acfa33c5d5783b835
MD5 ee95d356d71e8a51017953da6ca91e29
BLAKE2b-256 bf919cabbed89c860cd316e178ad4d1ed423f9a652cff0d0cfc869bde7643321

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e59883f6814c2f2fe66fd61a6ce7c4abc90af174d2f9507861f6a6e59b810589
MD5 e2ef3a6c212b768c598842284151732b
BLAKE2b-256 a4f263637ee3400b8c1a2ad23cb1e0082f4e21cdd0608b49c25b30150d39e100

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5961dd442c7df1123ff281c5c815a208e8da260b6721d1929ec40c5a0e106303
MD5 8f7010b800351634bc5dc376c915e727
BLAKE2b-256 954e70825a721be099b1db3278a92e0a2852ecfb2643f624549edf289bd26340

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.14-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.14-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bf9f6cb77f51cab20de40116e6d387e8a6b8dffcaf415fd4d266bb8aa99d0686
MD5 ce248218caec8b3f3e1edd5b46970d49
BLAKE2b-256 d90ae543156197a312091ada62da239febda5a6f00b4c655e2309c005c5e38f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d46926e788e34e96a64a37db77de81a9060a79e0079e554c06ac447bd38ad064
MD5 041052de5e6d5d9234730067abc6de77
BLAKE2b-256 904d4c62ac4df3875a8e6da68e97d405bb79b530d7d73eeb2d37465536ed6eb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fc3fda7f1a71e7106fc712ab80a9788ee00624cf68f60aa2d0ddd91719e704ff
MD5 56f4a0f506e5ba96cc820f9adb214c67
BLAKE2b-256 277962acd55ecc2164baaba35cad3d8462d0e90c0afb66a77ff6efcd122e92e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 76aff0c11be64160b1927bcb59a35ab1bf5f2f99c8c0d3b22f49a5d88ee86d82
MD5 b72d17ff8f96ba739d479ba9ac524bcc
BLAKE2b-256 859449ec45997fe6a3f6260d447da7f8e136bdf3383d5d494adfff7aaa756d84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 594c70b291fe68891d7c31447c3a29903dc8cd6e550988b2aeb20217f253b7bf
MD5 31fead8e6605c5599da3cd58abfd8a3b
BLAKE2b-256 12fe2d529e673d54a93cb49e0c2a7c5914a906b2cf2f5348acfa26734d183236

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2a21eb54433a084e36e8263da0084002a703cf0fb5e068d2c029c929498bef41
MD5 6eb019ef2d942b5f01957a8c98824cc1
BLAKE2b-256 2fe720d771ec0c493c1c89ff36649d087363ebfb8eb716d026deda85f13f35db

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.14-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.14-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8c81ed329bd79656732b28c110caa6cc9939e560fde699f1cc402598ca4e2baf
MD5 931d38ee80301484c4ffaa297f3b9dd8
BLAKE2b-256 66450ec34587992539ee9ac4e3250ffaee72d7175e741fc9677668864ffc45e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e965bebf79bd3b0c0d12c5a8a64fe5a5bf4c7560344643555da592604af25c42
MD5 281c9089b8bc49aa2d1d91892b9df549
BLAKE2b-256 e4f9e2b12d574189c57cd53b7e471ad9249c36d4a160fc505ec5ed1662d82bbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 42c06d64f2d09a7b21960a2f142c8cd82d9bd0be36d751d867d07432cfa5dc01
MD5 bbf3023a80d874d9408b040ccbd5fb9b
BLAKE2b-256 89a6e2e02c29296cdea0b6693542ca6c0ec983dfd4a85d7b24e6cc2c2f25c907

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.14-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b220c381f02c48a98aad086638a4c119c5a59d50760c1bc5126529958de6f5da
MD5 1033d29f83d27794e374f8b8670211f1
BLAKE2b-256 e776b5b528e8aee7dde2c8a957cf77209ba32f3017fc7d10cddd9ee75e83cb4f

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