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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc3-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.1rc3.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.1rc3.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.1rc3.tar.gz
Algorithm Hash digest
SHA256 af21bd8162a143cb7e93107651b8e6b75bdf2c7ecc2f43bb82518cb82ff89837
MD5 09110f277e9a0cce874fa7c2057c7a11
BLAKE2b-256 273d5e57d47fc3a28dc6d3544139d9fecf7391799a1ca39b30aca15c1af0b9d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b44fd5435121cc8fc86ace98bcbbbf22d9e10f9f3fd5540d90defbb284ceec28
MD5 e7b09f0a73eba120bb0bcf4719c07c9a
BLAKE2b-256 1f47698002d2da9434bd8c94d3052224830e99f7144a03ab3ec16c47eaefd720

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5324011f7df24aacd2b93bd9d690444b2651f1d1381b5ca0a764fcfd3473c2e8
MD5 2122a406dc3cd36cf7b662635edd0714
BLAKE2b-256 196cbba62bc86eed6e2e40ea5256b49dd23026bfbe87829d45c5947918dedf0d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc3-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.1rc3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bdc3b1164be40fd746480ad7ecca6749b5ed04f847d64c391878336f73cc8e29
MD5 cdd4d8c44f1ebf46feeea1f41f121740
BLAKE2b-256 42e73462300baae6f3c005c02012574148bda40f9b9d48e7019aae12e6eec35b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2d3744c8bf9c0d764dd8c5037daa0ad34b44ec5a3ca0b5d39aee4a6a296cc5f9
MD5 46179045e089f33f90378aa3d41e946e
BLAKE2b-256 a48bd1e5c42d7ad28ce14cc88836f1ec367cc70bf9ce92d712c1adb623625fef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 88aa9f9286e1ed1faba40406ead5b84e9aa1ff0cc6ff1cfab4d221c11efeaa23
MD5 d4cdb15e2822767796672baa32519955
BLAKE2b-256 eb9dd4b9951b9a1d39b3a059c5f7167cda370cae8b8a9a8aeada6a6f60315d69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 60db3c2f9f4f0e7c927627d639ea8f7f49fba62f06a1a58138aee8d208a7fe83
MD5 458c593916963bb07aeefdb1913a8161
BLAKE2b-256 68a4bca292f5e6b52a342f6358785281a20f66b27318fe62c91dfc4ef8269994

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7077f40860e62a032a8bb3a2dbd20981d689d3b5af5f917e0bd0eac34066d5bf
MD5 c41ef1cec91d037955acdfa42c4d4eef
BLAKE2b-256 030f9130e66175d1e0fc8baf3c7e06b28b8cc392dd57339ef5727a55a1c4e46a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 eb2028141d51329b18a2f639edc25974963510094a3b4b868402537cd8d78780
MD5 c62917d15a5139c2ade32d6c42f7d59d
BLAKE2b-256 252d59b7deecd74f7e846ab7bc09ee5573c9ae2961de6d72c30186e8ad081ffc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc3-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.1rc3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 060011a8bd39d9dc7c74a9dda026cece25b23b88dcd44f8948db7429790f06f4
MD5 5b37c9a1f533f9568d4794cdfce45a5f
BLAKE2b-256 52dafc9483a635272aab461677a68b6a94b0a928b5ed4de9f98d467d1da98bf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a0648cc3980aa59e973581c6f6ad4964b9caa50264789436c3e9cfef2ea593b5
MD5 8f2d8b77ece8724a1993fe5cb7b664c0
BLAKE2b-256 17c99f0ec82029e50debc854dbb8735227e2ac462a86510302577833a2e449f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 277ee2af2a89757c3e984c8b37b58b0e40f3cf075296196b8349687c91bf1e64
MD5 1accc6501b11ab4203376f0d3a25f046
BLAKE2b-256 2286eb7f52409785412fdd6214b73b2cc7150e9c23865dd2efafff1fe31d2aef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 93f4e2e4b1c0f0d746d33ea6075a8237762c6d73eb9e666c7b317ac79ff831b8
MD5 0b97f22f5d75b717d882b90f930392b3
BLAKE2b-256 eae12d333deb5b8bc31bdb27fa6f6520fb9cba98a62e22bf08a1af874688e405

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 07f677802d2f0fde196d95f59e483aa696046012c87a2a5524be30c9d234bd10
MD5 01f778147870860e35829799afa3e128
BLAKE2b-256 2901e794a51176547b6393427810fa47a187ef2aee784dfdf71033c8280cfd34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 08dea1af79410e59ae137737816b00dd188cc394cd7b73671614328f6cc6c99a
MD5 12a3e3f210300e2f36684f54df8179ab
BLAKE2b-256 966bdb9f859d50f381055ca085952bc526b2cab9a8e88d6404bf0046c9671664

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc3-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.1rc3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 660d736f3a07e0722590e34c9552f9cae136956568d4fcfb413ab577bbc4b8a5
MD5 e23294de5d0927fa2262341c072037fe
BLAKE2b-256 75ef2b891d415dc6c6f9fa723a5389ede7773a03937b4a6a7c9fcf8b933f781f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5cfd4f8bf962bd20816b45cd25b4bfa5ed91aa212743fca8efd269a9b59c219b
MD5 a53a5e2c9f08a91479fe5691d95927af
BLAKE2b-256 58ec231c8846aa3697a37596fb99480e70938d13846f5117b1c09ced1a696ea5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b8ed933f5e0bc8d2e3c678d452b63e3b54a3f77dc49511a93542d2f09ced3e27
MD5 c5208d320ddf4210001c3e5e2aa580a0
BLAKE2b-256 4942140dd1548f9432398a7d00f299dd543170af14c4663933ed3a32c0f9cd60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 af725c1711e274ba5b20065c9f4f240348116e1cc3dbce51e4357b8dd7f472e5
MD5 850386667f8cbaeb8145fb0979cb627f
BLAKE2b-256 d5df517a81f1f01e544c24a223d7ff424e10b7aadce4a83bb30d61f7a6ef95e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 394a7aae83a6b6e67e3667f39e5968baa1ac3fd9c10c30d1d20ffa6e90785228
MD5 b2a71ece2d85acef1e44a2491a1cb9f2
BLAKE2b-256 e049ee3d50ba7c506979efab66780d630d93f7f4f88b0b698940100e4c208e82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 08f98c5e2c417c4f27ac486f37006f0bf6711adcd9c202585ad96e2d666f0bcf
MD5 8705d306a525ec3cc8d1a76734d1f929
BLAKE2b-256 b5387987620d43b0afd04ac83f09b42fad5ff184f6403a51017a227e17ad95f4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc3-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.1rc3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 53d417a409141766edfcd034ee4f931e9fd195cc64c8ee8c0e0f35a09201ead3
MD5 4afede1477777a046431688db075b847
BLAKE2b-256 3ede8a65c30267e5f4f1376d0ebc66c04b00a6a81edb72f6ef4c5b5ca77952f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8d0be9ed132094fc00ec924cbed5b255668d8fca9355568bc5bd70364d73b748
MD5 d066dadf5f263332d1c6e738082e69bb
BLAKE2b-256 52b19d8ddd0c4995903f3175d2ec871bd4d8848421e06e2454a55a9d2807a1f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 da92a9792b5b578bec7bf4b3dabadcb4646ff83d78c4c2bbdc44fe170d7f0f5d
MD5 42b711c09e55775443d3448997f53325
BLAKE2b-256 19d4438b41d99eb39824b0014d7a72c56718499847c58bb9fb2395d0d7c897d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc3-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e3495e92682e0d20313c6b476f27453c0f1d98e9c64b2b19f86417d1e9b99e0b
MD5 6f44340faf12e2b1457fae51aaaed36b
BLAKE2b-256 c2c9fcfe2d9a759bb072cac8923d824ee7711958165b0f245862c1a1e23b1e28

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