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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.15-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.15.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.15.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for passagemath_glucose-10.6.15.tar.gz
Algorithm Hash digest
SHA256 b2d325b2496ecd289329104127f25ff6f16aa07e5daebeb0cd2bb0aefea47ae7
MD5 026d0c2b755814feb65b4edd04546ba8
BLAKE2b-256 72840409a95aec41eee790aafa9baafb0aceae53a133204beb303b5bf77ab22b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a4d8865cc734abecf6778896ea813a16cc2cdef8c1f5c4ecf6e5f19fe1d35956
MD5 61558032d553a68aacf22bbefbab66b8
BLAKE2b-256 1a70c66cda553b5936776d0330bc6024a70504a68decc29ab0797352e352db32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f2ad5ee3fac3deb9a187712737012cd65baacdb76a87f53268aea65e04484b40
MD5 fa9c1e2052f8baedac7e3cc02fde3263
BLAKE2b-256 f989db53c506572873e8c4d93abb77ad8eaffd1b31b8170e888c28252bd501d3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.15-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.15-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f357604f52bd105bcfce4c53d90e33ecf4d717a65dbc9a7f2e558fc28ee2178b
MD5 caacb28037a2f23e82dddc7baa64ee03
BLAKE2b-256 9a141079bcace13fea08183423f58df6d3d88b237d6f0c2881cb4925cdca35e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d0431fe391b424e360e042ef45ec43e186bc73c79ec5d681663f2d914ef2599c
MD5 b43fec39800a32911ffc02f45c9690f6
BLAKE2b-256 152d99245d1f5026676d4becdb40415b085bb807bf18edad3d59699fca448c88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4936950b5548e8687cdaf7f47b61766a9582db48e01d982f84b3ede7a6dc4a3e
MD5 f51d1d5cd7c6f59428515cdd54a1f581
BLAKE2b-256 101ed8719aa3797412bec1d044115624ed8b30b5d919bd527140a8c59e9eed7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3b3e3d11ef3441707389262998d0b0c5b563bd27dedeec7597155a565e19ef29
MD5 850403bebd4d5c4c575888885f496e60
BLAKE2b-256 7f74990ddeedb75b5a5f48b8d878155c5fc11a1927ddca0119c09db815a24880

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3562a493472906913f55422ebd348c62034c82b9941d61212d776df403a00cd2
MD5 2ff0210e24b0b15cabee132c2a0653e1
BLAKE2b-256 2ec4e6254aa667073713a68260e877cd9f90854d75ba1b9ad7de3c44e4c7684d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e46468f2c1e868afd329f2e451a7b9e937b23e590374fcce3004a767e6265cc6
MD5 f18af7a98bebe17be33bd8aa60df2c09
BLAKE2b-256 1105cf88e6fbc4698d3ae8d53d39a2292c3772607b2dd130fd02a73abe4e9646

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.15-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.15-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3c9a6e033e7ff51a120954b3bdb1c5adc83dd9c75012c016f77ee1b428a3baf2
MD5 7a01ebb4047e1b36b0e5ae4b1b0bef89
BLAKE2b-256 95e2d5d9117cd509411efcbbb9e04407c0d95a3b052d7d4b7af7353bef9fdfc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b90c37a50f34d79038d85d5ef2ee803e2153bf83a5f828b10a4a24d1ac97a4cc
MD5 0906ec23687e5b9319a67cbc834a96e3
BLAKE2b-256 5095f6c370ef8a4c44558a428d5b5c86568359fc6527bcb66efd3f1b03e847e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a715cacb276104b8f666f6be9787396e6806b2a1ef369af94ea78490a8df6cde
MD5 e66f49439922473709ba1dab3449486a
BLAKE2b-256 ed9df774692b51c93554e70828ec87bc93a959ff0911f03133cb9e1debf2b70c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b294102f5689edc994323bd54f349c1f5e9d9b0ea92d217722c576d78527cc0c
MD5 e0c771009276011a3889c39460f6f0ab
BLAKE2b-256 f43aa458755849e691e48f01a192823e2ea287244aacab21abf88f7ae69d7639

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 50d05eab87cf4c2b19a3a903fdccabafe3d7b82a8c5d6848c9ad681565860a35
MD5 424c849aae82291acd2a6a2e4dc9525e
BLAKE2b-256 311366f34f0ce0a81ed13d6069244f592abe449044fc89916102c9078fde122b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c546bb0d8256fe5b5c4bafe99331e63c7425e72f26aa955a232406c8fc3a9d55
MD5 e5914a80c4c53a61aa464bdd7f58e722
BLAKE2b-256 4950ab22610e046af6e91c1bc10ab3e048e3daad5cb38caed0c9d6adfbb3ec68

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.15-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.15-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 21e01859a1488632be3320af980471983a268808280ec0fdf34197e7f7de96a0
MD5 ca3d5a500266c0b240d089df77c2f8f4
BLAKE2b-256 917dec3d624b45c1b28620522583e39db927d0cc63b2ac8eb406b3250c946114

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7050ba0b0bf295766988ae08cb25c3d7bf688506d9f4274c47e4bcd8f6d0516f
MD5 db0c700d368b622b10c5269c5538dfd1
BLAKE2b-256 9e20327eed6baa6316286b4f93aa12f8d2e7783ae9bf9ab39046835a9362d0fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d31020be3686d2d4a78e15868e904ab1c47b353ecf3301e0d98f01ca5ef94cef
MD5 86405d90683f81566a364e4b513eb3f0
BLAKE2b-256 e84447420ff48d0c965f57de3b42ee05fb5fbddfc92e4e188a60192c110b7b43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 18828d6908977dac35e8162a0b64007f5fa355bfc9ee44c6fb19fd2acf9d305b
MD5 c7f629f8edbd1673fec9265d95ad4c24
BLAKE2b-256 749b23537f7b7882ea750a64e590c13c74e1f635191445ad327891c8883e265b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4b3ce82d52037a2455cecb5d114f5d10a195b3d5f19d404c8817707f6a8c9fa5
MD5 30e38903feb83eeaaf86b3a279225ef0
BLAKE2b-256 49f95bdb90232ebe2cc37ae5b5dd9af0b08924fdb62c5f7938c64dfd6e81bf0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e78d5157c4763deed3141cc4446a4a2f2b5e3cddd7f1e36ed257193339acad1c
MD5 2d4ab712bed07199b066afb75d5c602a
BLAKE2b-256 ecde0a75766f2d130d135843d47628b9fe3bab79010ece6f488fb0d7566aa237

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.15-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.15-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b4d512274ce647e79e4475ff5a9b300fc09cce08515c724d9695c90ab1fff431
MD5 b17fb7b82ad3d52073bd05ce485870aa
BLAKE2b-256 683924e51b2293e7fbd209a786d648d76558394662a1223d56490553e26d3fb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bb2cee05381f10040b3a82c17d3262cbcc1ba28828bfb8ebd813dae4660e698c
MD5 6639864538899e6962ccc9ed6de4110b
BLAKE2b-256 0f7022f6b1cc57bee8767b0e4888400530e5d91d73dfc347eacf1ce20044ceab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 466fc624a11dfa3c447cce2615c7a99a7950101ff6b7bf69c964763e4910df5e
MD5 c636aea1e165f86bcebaa41679f3628f
BLAKE2b-256 e8cd6af1214745705d203ce2536ad6cfc6a5241f3d1316fafd60418461c63bea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.15-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cf3f0a933136a6adf55b354cbae45dd753da4a9ca16b38151b85058b2082bfae
MD5 5a46aab55a76fbb44621fee52f043c3f
BLAKE2b-256 37e9815d5adec4b297381799371c36649eb36ef156ab1d62497ba36d82ed99c8

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