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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc8-cp312-cp312-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc8-cp311-cp311-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.6.1rc8.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.1rc8.tar.gz
Algorithm Hash digest
SHA256 36e3f7ee89f8353f7eb1337dadc02835354c9e0dcb25256f53a6f67f524ce304
MD5 b339d49591f66f9aacb8531993625c68
BLAKE2b-256 f550ecca5188e02b2f6a1ed6f1376047baffcb14f56741e3c7cf241da30fcfa2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 76369d64e5186973cbd4b48362f84b2c64975d0854f2b4a19119bd20238c3c5f
MD5 de77018b671aba46c5a23e463d15493b
BLAKE2b-256 032c6dccef18f792ecf1acb323b9a6075cecae193c6c7f2d88e957d6ff8dcff5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cae1f1ad33cf6d7838aba022a8527aab90715373659740481627d9234747a6a2
MD5 8670724e0a8ba918aaca6caa4d2e2982
BLAKE2b-256 67c649adeaf55b85b6595759606873ac036261cea8745a137d2ac6cb4af5fb7b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc8-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.1rc8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4beb22f683e03b9f6cbf49e1deb0a411f852bc195deb41db894bd1d0ed5e234d
MD5 1d80825daf71b3dadec4c343f1f29335
BLAKE2b-256 4ca68efedef820c20fd9be0cfcac6f9e956e6c482105f680900c55804aca7248

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 36732d1adffff3fe6b39abe38b531c8ecf0c99cce5c75d9bbdf6809604276f60
MD5 5bdfa0d9b10643ea17ea25677c364475
BLAKE2b-256 9849fe1b288f3415c069c4c9e207a18a3237c5d4b48f8ec4d6e59dfeb7734020

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b8d8de040ab7dfd3a8c5864306418d64d6d80616f6abce5455fcf5eedac0fa7e
MD5 d5c4307b739775c17eb7c62c0a94e342
BLAKE2b-256 42d4e929edf4ea5dae1259d62882a2577ca8d4b43c6aca11e1dcfce03b28b2bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 08104ecb5a5cd39e771b3cd07b9c0319ece95bf2eb2c404088eaa907342e62e9
MD5 a8172d8c907f2151bf87fec662e6c412
BLAKE2b-256 6085a6c7750ddd551fce7c1a04fde4acb4f9e56514582462208e2f515bacee69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3918ebe47cbc7173582bb237250fe6ecd3b5b041ca8be26ff40d580b94d2a17a
MD5 938458b8d0ca9c6a5fbb56a22db39bb8
BLAKE2b-256 d2ef82302e8c0820b09daa67c2016eac8e72c582b34cb815f5b0ed5dc5805533

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d7fdac22c2094ed2da8d972e3417699f8e2358de003df0b80eb775ed692c96a4
MD5 0260cd1520191898c7d35b57fe9979d4
BLAKE2b-256 959578267c85ddf3c1394edc0ca9bf1b7ba901b3b6ad1a9ac2d03cf6aa79913c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc8-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.1rc8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f8be7481f253fbd0fbf334355b6298f21250f3d512103423d16f7a00c061429d
MD5 54395312369c15dbef2fb4cfce425ea3
BLAKE2b-256 fb217f91e5d14021d64668cbbd4c85f0e28668b24ea20405418dd7dc4e6f1903

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e4e31b89c518dd45867296397a6631b6dc2d5654a5b98f4f8edc30e4a2b27bde
MD5 f0b0a5e90f2acf2230586877590bf1e1
BLAKE2b-256 a051d54f44e97abac16fe599b884a4c3e3e36e4d3f22b4fc589eef5daada7848

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 39ae67c4f94de36675681e5cf502a4e13e2c5270f22e02b0fc349a7de197ff03
MD5 ef1007e74b650ff4df4f1c6c986c3392
BLAKE2b-256 5589381f468f7d9401b45742a598b813c6c0e93e3ecc355ca403f6487cea664b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d04fc2cdcb461455b81d1a37d3ed2223064bc7ec80915ef423a7ef667ba12afb
MD5 e7dba374bddca9c633292fc336874887
BLAKE2b-256 82996cbef6ecda5979d6e54c0e985ba2fdf9c23d836ce0fbe264369f872d25ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 12e4414a10a0a6789991fb84f5ccd9cbdbdad1f281514ccfc785cba4d963e372
MD5 c724289ba7a5d8d0f774eb27b6130f06
BLAKE2b-256 f6722b911dc3d807f187c2d6c94c63a198ed19212cc6bc2cec578a3696511650

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 560337610b08c37939ecd6c1f0ce6ec53ea0483bccfedafeb9d17c0fa71a54fa
MD5 2e01d3b567677875560a0ffff0db46a2
BLAKE2b-256 2bd78143adeb5faa20b00cc5eb8a7c98f0bf9943dcc595158ba659527f8bdf90

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc8-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.1rc8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 581ccaf1f9dc06115b28a1d3fa76b74cae4a02927be23c2fbc5d39c80e30d0ef
MD5 30fc1127aa4957868f6d77bed52371f0
BLAKE2b-256 59833a44ea39d254451fe891e030d3245ef88bce17a67c609caa8c2213ad8cd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 177dca6cf25756c2b4b9c7de748f9ca29c86bc0a4ebf08a6f0eaa242fb0258fb
MD5 b749d1112e7fe8d0acb6aec55f5dc67d
BLAKE2b-256 6a5611b1afa5c570dda894afa5cf51bcad9539876ed60754ffc721d1a376138b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8c35668dd2e9f63ad4d0031a8b2faaa2d8714a9ed043cf9602fada46af81789e
MD5 a61f92083142766c8bdcaf59650050e7
BLAKE2b-256 40329d637c4bd890dcb0b2018df707af13b82b185b3f39366d888def2c2b2cd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cc87fa136a6edde032a504f0f2b970a013bc9f73a8d4e117f0d05f9c4e028068
MD5 380fe4fecd563372c9cd935e0687dd33
BLAKE2b-256 741272a2c0233429c42158a351168ddee39ef4130c547d434d0f5108d5ace9a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f6a6e835d42ed81bf7451e4268bfa51f3772d7f9bc17d9b03f9d2e1b4e7b6379
MD5 1c89feb403ef7db05cfbec24d05c8078
BLAKE2b-256 4b565a7a82fd5332eda1a54c4f03b01cabff34ee4f81c47920a554f6454a07de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b774b6b2439b61b961564f11bfbdbe297007bc2a8a1628e78da0b00a6596662c
MD5 53bf0172f2c7ba7ead860d38bf51093a
BLAKE2b-256 6238b9d8deef9a1d934e59becaa0b95918382c8a0e03a24db46036d1c709ed58

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc8-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.1rc8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6dceee592aa3d88847690deb4fe25d20ecae9becf996bb14aaa09467f7ef13af
MD5 cab89a43d90c99a12eea890e51daa3e1
BLAKE2b-256 d15876a1e0531784107b5d83394002a2631e04b5755cf047961a85cbec645c0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 11c704cc04a5d9678548e8747d5e5f3f14c838556b94666150318203291e7e5a
MD5 8f13f529afa8213577aef8bf6ed70e2e
BLAKE2b-256 9ef996a973e7409d0a063d0ed09a3ab05ed1a29aa217c9541a251f024a079aed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 74d429e739bfb0170e374ae1aa9d234ca367396e46cb4d4fbd6a2d7b61fc61df
MD5 db3d5b5d4115ee119acd580419f9e1c6
BLAKE2b-256 abee7e384b96ee416cbb6865606cb5eb4b75db048579c5b2ed5316b005d90c57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc8-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ecbd083a8c9241a4bd3256bda633b2e30b17127873ac7cf0333319914e9a304f
MD5 071fe36dd15be07d30f60c96370ce008
BLAKE2b-256 1d0537ebc19d309c2b07b8db72f0db99c0c37c7da8836e7fe15277e5fb5c1c18

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