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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.17-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.17.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.17.tar.gz
  • Upload date:
  • Size: 4.3 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.17.tar.gz
Algorithm Hash digest
SHA256 cb3ce4e7366cc0272d619b27b2e6f180e5fa10fb389a9d524d1c96df5ed720da
MD5 f7ac6c69f89ec93e2f3e3bdf5949d80d
BLAKE2b-256 d28b468e40cc398d93562a5486c66a66d87d3d1cc87ccef4a8cf50f4c95b9f71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e26ce0f145a027a4489b6ed51ce6a504bff2296e7025a4348cf9c543e683eef6
MD5 cde4bdd181d4280444287ad616827fe8
BLAKE2b-256 dfe556fd1e39c7d015f2d8d11862e4455e7cd04f1fb3202c668ada8264d1d59d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c0fb1b80981794dc9faa2af7750bac89590539808080ce39c400793c34c73315
MD5 59d82ab138346c5d002b17f0dcafc74e
BLAKE2b-256 f4699002e0273575dd847c707474c79cbee36e6ac336f83615f85d6fee73a407

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.17-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.17-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d1e405ea20377afb61f052d0e2765689691bd4ee773307c5cbb188c7cb8c10fa
MD5 d9c99e354d7299d2c447e6f5b22e3e80
BLAKE2b-256 508a10da8202d8acdad056edb34f96205e61c3c75d994c4aa85f58d4f4064d92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 01805a07f29b916989b30e1841e68cdb702faf1596e63b246b4e8070444b8bb4
MD5 dc3f9a197ed5faacf73ab57fd3eea917
BLAKE2b-256 2e1a47dec5ad415d848f03d746cdc50387835f2d2d1dc7817d34c01fcd10cd48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bbf4a966ce6f8ce82bfc0526a15cc099c63984a5292417caf0af0d10c14ad8ea
MD5 03aeeb266aa57d98f2144dde74875883
BLAKE2b-256 b3f5d2137a75c772ed5ac3926fcb219a646c9a83cd75e481d0bd5b5109f56d48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 548475a506f94420c8108beda4205132edf9caa20a1787bac986b004e5b1d0b1
MD5 c85bde113433e32263c8a65f8fbace41
BLAKE2b-256 59efca22da95dbd669c0dcc9c183da9e0bf8bd1a608fdc223791fd99a21e3696

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ee802013f26a42773c1a56b88982656a103af00d6f40e005b874a42a34443b03
MD5 0c24b5e5f9611b7653d7aba146f44c76
BLAKE2b-256 0ebf87e4d9130abd03261b272c2d1342003f85e2fe562a233813a8bb7a8a14b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 60773b04fa82dc69da0d79e48c2b59429e710a6f12933f58f521d95a51385d0e
MD5 06858da3ac63a517d355e006573d29b1
BLAKE2b-256 40b86eaa18a3bc21b973b4574cd44645246b4253761853577f7ec0b0bb489f85

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.17-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.17-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4a2e76a5b7a485c8bdb74f0e06496934869213199aa8f05e59a2281f9a97e270
MD5 c793c3a2fb7aa202edf7af7ce2a3647b
BLAKE2b-256 bf27d907fb301e58940ec670043c10df4995d289c2833565179bf63fcbb072c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 887aad0da9c0f4f6b77251e3a9e827b5539ccc4e8cf69d6b557c0d33f417084f
MD5 8e566e163a6508923a6f9be1650d98ad
BLAKE2b-256 775e7d22a4b548dca29b00edb568861eba7d39753d32aa629dd0759de570ab45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d2db724576d5d6f27866521d1db42e6f654f21b8873778e797744119af7dcc82
MD5 13ea5d6e76442f43bafd715365ab3cd0
BLAKE2b-256 38ee307a1b05b918acb1ee4fbfb965b521c8e04e7fa7e87975180ed0cf8621b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d6cca2cbdb36e06ce03884c6e9f848fdfe11bef26ed51d93b6332cadaacdb531
MD5 8b4a9c7a2ae806b0173259480df688df
BLAKE2b-256 0436a4377107ca3c236510400c5e6ffd0fb428caf36204efd96d745e4be2bd14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 73c032eeefd2b55b304f07f4193376a16e72320226db4dd0a86895512dfaad03
MD5 98204be52de416e6dd0a661657c51e7f
BLAKE2b-256 6de602b75f6fd301a74d388497fdc20cfe3c45d6dffac60cf2a98009d6c59315

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ffb6f7f6a60454fc6424dba970c3d99dc206b4ba0d250dd6e2c0c1522d8a7269
MD5 841c6e4a8a740aaa2fd59cf938ce2590
BLAKE2b-256 1a4ae722c1eda19cddf494d49f1a31381303d2f42b33ce5ed2482dfa428410e3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.17-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.17-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dcb3789f032dfeadb3f558af2f529e6e1664ddd0f3ea411be6628e0faaa747a1
MD5 ffcaccd0851f47d1ec25a196f222cf75
BLAKE2b-256 47f3adc355860f0958e5c09d664217d96b9d999b0051beaf916ba766958e88b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 37171430d96dd1e28e9742dc375c017643b62e805362cbf887d785bead8c992a
MD5 3f57c3148aa2180d3c5591a54c4ddd7a
BLAKE2b-256 13b8f02887d7b84c3270679ab0832b288a159918fbccb4bda4d880f5110441c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c04e6507ff0c57b4cca624d2a1ff5a38c7268c23cadbdc936a24c85de895152e
MD5 62039b5ec6026aa0619cc13476df42ac
BLAKE2b-256 3cbf70a1b5159021bcfb00f88fccc86deb1b0b6e3c74165c9624a26872145ea9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 667dccf9d8efec169ca3ec17fe4a8dc34f2a2483d7c034e90babe3b8877c42cb
MD5 f9fdd669a377a4ebda9ee21ae0d461ef
BLAKE2b-256 5b2cc8a8bea0e6cc6002e5ba5d20aae62cc9de695cd42578ce27d57884604d5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0a55af5b17bcef3f5a2603554585300972e609e0c6c99060a567f28b752b08cf
MD5 e152d814f1f9a33dec844cf0844c6b21
BLAKE2b-256 80a6029ebb4bde46e39c31a1dc0098e1aac454b0f59f1813ea542d4adfd77f2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e4ff637abc624f510eca275a3753d2d2f5a375aa2d77dc5de8e444507f87019f
MD5 89b83b40d7b3c976d7d19059153c0410
BLAKE2b-256 6069c65c9eb714fb65e964c7593dcedbe68590db068106d38277937081316c9b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.17-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.17-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 838a095b1b1e9304b3c1bc238d55ff975d451dbad0ae0559f62d1012d9cd6d22
MD5 470e07b895a33c8aea6801360a4841dd
BLAKE2b-256 4c19f891ade5f532223219b760881fc5879959ca5d5ab8087bdec48ed3f8541e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a3be7002c71f3e1e2f3b4299eabba8f3d3bbba110aecc8fd9417ed112902c587
MD5 b746bd83fd434af59b0c0bdada622530
BLAKE2b-256 05c603d8666241c77955831a56380880d57313e1d294d7f7258fa4bbbeea00ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2a8ea3f49cb9ad4defe6c5a5a648cddc0cd57a60b3d86e6c0b7490aab297ac6e
MD5 82e94de024976873fb03bfda3badca9c
BLAKE2b-256 2b5e95ccc3d2b11f4d7b64f508d1ea0f0fd08342f61029332064b16f295574db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.17-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a9b85f02043a251681821bb46f052f3d65cb55a4c5d80918b6408cdf36c249e5
MD5 3312424810bb5c0aec8b81df8c3bf31e
BLAKE2b-256 8997350a2095198fd6bf460fb3f79d89d565aecffa149b85421f2565b7a62f7e

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