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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.11-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.11.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.11.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.11.tar.gz
Algorithm Hash digest
SHA256 058f9fcf512bd9588b8274ff9aec64d50d7e9a0bc12f11f1ef54fc872ef8822e
MD5 e8b4940c29e50baca77a781e54cd61e0
BLAKE2b-256 ae66cab669b85ee08edaeb5c63d7ede7527039533fd995d05f00bc979673dc92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7704790e00d6c8a39fd58d2fbf2b2f65a19a6ddef6841e99a4fe43d94c80dea2
MD5 71a2a8a9095ed2b02788009e588e5e45
BLAKE2b-256 43dd5ea48436b78bcbf0e3a853601c193086e88224f3f40d1c888dc2edd6be23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5de0393c0a11a051544f531c3a35977d705fc06c76f0e98f64107476c4132cb3
MD5 57386fb397146d2b3d81c14c9fda197c
BLAKE2b-256 b7272c440378d1f2750f656d36ac2741bdf42c6954f54af2c8b6120a037ae146

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.11-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.11-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1dbd7481d5e7c7ec3c439bb7ffb713ee96cc364f9d82ca7ce951749d79291ba8
MD5 76d896e587ece7b0c9504f6af01bcc74
BLAKE2b-256 8b246280ab0400ce920bded5664b98fe0be88fea61c255e711c0ee13c0f46ecf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9949813b5d024f249539f239f681910dbbea8a39d11a4432c8822e782b5efcd6
MD5 fe0dd8344c62fb2dec3e6adfd807f0dd
BLAKE2b-256 403d736620ceaf3c67ccc6408ad622ba3db32ce9a354ca64d39df255b706147d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 671f1c84a543b1b8a88c0a831ab46fc837e88d17765170be159470d90f0ab32a
MD5 cb718d84b1fa32a69bda7a5b092b87a8
BLAKE2b-256 ea1d26e69d823a6d83392f46c0ad107f8b7763ee3251122cf6d4745c15863adb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7bc29803ee760c479802dca70c53f785aa95cf0a5d56c8d5c3e309e415a03a9e
MD5 70a116891d5cd3eb872ce78e9a6f9165
BLAKE2b-256 e463fb99eef31e7fd6b5948a9b74bb8f4498b8ef20b0ace6cb00fef8cac3c94c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 843847d91b22900709ede048882f07df717d85450782f487dcc7e3cff7a2a4e7
MD5 7728a332a5a6b7ebe92171658e47820a
BLAKE2b-256 7dd6994ced6179544d287e87356e9834463d491d139ccc87fc118f10f4ae9289

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ceb370ef54fa413af4e15f8b7d301b287033cbff79bf2f8de0c927a046769bee
MD5 f3d926cca2f98c4b434920cd59946529
BLAKE2b-256 accfadfab02209efc830124104a7967ab498a0c26c4c7be3e301cd59c89436fb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.11-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.11-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 350df44d0f62b0bfb950624bedff73fad36f369045b073b97fe3e820801c93ba
MD5 a0a2e70b877c7de4f4ef1e05c5c5179a
BLAKE2b-256 e1bd2c8d6441e0016743fa5ff0fa3152ff135f4105d8a06428d903b868a111b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a26d04ea7c64801092bb6e7979ea56241e4ac5d9a5ffe473de768ff6ae9901f4
MD5 aab96bf080c7af846f08e7c2e91a6fbe
BLAKE2b-256 b247c751e1ea98377fbd170a6167d54a5643c3ce8a03d3c2cb9e5f6c478e244c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 67854eabe70efefb9f2bc329870d720c1592f619b1a6b3af4cfe42e7327bfe40
MD5 76a95d0e416963069504534a403feaef
BLAKE2b-256 ec6ad03caba03c15e50442949342d8c06036d4d65b039776049a09f5bdc0622c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 778cef0535cd52173e006d2e857b9b6c056b95409600b2c31626b65e8aa5fccf
MD5 dfcd1341c09dea7e4e18622612c55790
BLAKE2b-256 6e2a9f104504d3c4ddc63b2edf1204ad5a3e8e4fd21ec1d042c0a8d78730c90a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fdac736992fbe86675a5133c0ef8bbea15be8437f1ce3f5475dc2118201355a1
MD5 ae58c190a785b0edf7cb7326eabc2779
BLAKE2b-256 10d6d48de5bbcc933b3a2f7767b48417684a92264d7c3d7e37e27f7b0d2e8ba8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f2f9269b8ee3d40dc49273bf514b352f5572f754aaa513556ea855a87d62d9e1
MD5 db963ca129120087b1176815e0311c11
BLAKE2b-256 a8bbafb0d9025956b05f79af83942446b50036263da1f86aba4bea503c256c42

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.11-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.11-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c68b7eefa1546e417bbb45df17a7896fa2da05f62eecfcb97e6137917888aa01
MD5 f1294e52fd9e5aaf6de9f1aa0c0a517e
BLAKE2b-256 313b3e3a20655a0f369ca27f013760279b22a378093474a9ac08a86f09fa1b66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4959e420eb6878f411fbc427c0ef79897a08d965883cd529edec23a181418b34
MD5 53cd3195ec274c726a2bbba0d659be4e
BLAKE2b-256 07868d1d4aca3d7f0faa50b395a378a68f3ef936cd845aaa207a8aa167dcb0bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2bcd9c82580a03eb66b3295d96509f93d2c7ad514b2415f57bd300f41087ae3f
MD5 85fbc90ebd41db0316a3d01dbc446cd9
BLAKE2b-256 4d655a657944dee2b46ed10c8d1237e9d1dce4ebf8462062c8e854450dfaf080

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1da069dc2c34c38a16e8990425af4022e55319b7c65628cceba67fd7f253518d
MD5 9f3f9d55c10ebc634b31c2510e7b6e13
BLAKE2b-256 b8ea49c69a1441758115c1984a9423ea978998bef53aa8db000cd54084cc210c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8bcd5ae2eaaf19eda6de9dca24548e101385026ce17f7213bfe061af18d78e83
MD5 ca66debc4a7831f6eb9bd7a6c7cf5936
BLAKE2b-256 b0fcd3d751e7d1ed7a6e370a3255db9fe446c6318fcec49a1441e85bf359d8f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6a8161a81b6e543699459e531c24ccf47df97821392f337d76eefd0cd5424758
MD5 182ee756f0dbd01a6f8634d190b6c60f
BLAKE2b-256 51d4ab98b47fe7293d10bc01452437c5e0a6f30b1b4f4eac88b6b3c3220da406

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.11-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.11-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c49337e7b248aa21a49be3c782e64de456a23ac31a18ef0075ef50dcad1aa785
MD5 ded70fe41627259bc208d23b6840ca0e
BLAKE2b-256 18cbdb9fe020a40a77f68f3ff3bd12de49d4cb7a6d89ac2cf0f826c27c9201c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6b2aa09fa94fd1ef6d1943a0a5a6a4b9f092e8e3ac0cf410bbb6adde9d8e7410
MD5 3f4faf31662af76b659b92a4bc336bc5
BLAKE2b-256 97b9a870511fab806f0edb06288e39f25fddb544604a689248bfcf3aec02bfd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 306ee9759a0c6655026a0096952fea52b43375d28b73776f0cab0a77ba205e9f
MD5 c9e2010afb99e23fd3797b91c069dca9
BLAKE2b-256 be61db62e7c810bcf61ec35893049a70a8cee66a8b582824aef6f13e6c0da9e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.11-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 198cbcccbf8283163526f64badd4cb7ac8616a61f909a189b61b35032810370e
MD5 47c87a2e9a7a23d87a469e85a49b71de
BLAKE2b-256 ba7c8bb02b4b5b1a8ad3f1a64050339cde255bbf419c05b55549663b32809ed7

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