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.14.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 passagemath_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.43.tar.gz (4.7 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.43-cp314-cp314t-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.43-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.43-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.43-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.43-cp314-cp314t-macosx_13_0_x86_64.whl (235.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.6.43-cp314-cp314t-macosx_13_0_arm64.whl (220.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.6.43-cp312-abi3-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.43-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.43-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.43-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.43-cp312-abi3-macosx_13_0_x86_64.whl (235.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.6.43-cp312-abi3-macosx_13_0_arm64.whl (220.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.43-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.43-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.43-cp311-cp311-macosx_13_0_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.43-cp311-cp311-macosx_13_0_arm64.whl (219.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.43-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.43-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.43-cp310-cp310-macosx_13_0_x86_64.whl (234.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.43-cp310-cp310-macosx_13_0_arm64.whl (219.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.6.43.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.43.tar.gz
  • Upload date:
  • Size: 4.7 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.43.tar.gz
Algorithm Hash digest
SHA256 e26c1e3b915bf9df8ee2e7f9167c7385e6cd84b30eb1f5c7ae29627149c885a6
MD5 316e2df496881f2d717b8e9d200e9d3e
BLAKE2b-256 cb29f48b04f36bae06682319a423876eeb09d2dd9b0292c248b561b1f9ccf9a9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 aabf5961771bdaaf1435ca7c1e93cd40937c3a8a6989a02299fff75e48374999
MD5 959b6dc57c31b860b80db971ec00caaf
BLAKE2b-256 4004d02225e5986507a77b66da6472194885fee09eaf637e36e76d13b2bc2791

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d41a52588ef9dfee2a75ebf86365c9f96df085ed2355085c055786bfd7d2c2a5
MD5 70a9c1275689b6a62d853f0dc2d4fb1b
BLAKE2b-256 0b2afd1905f1bf759355ffb546cde4ccf1c5b833aef3a909a55fb681f685b0b5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d9f48b92881e04fc8dd1566cc4ed1c70c4ed94bb509091a668951415c322ef02
MD5 5fec8b9d527faea020935270068a9b82
BLAKE2b-256 986fd4ecc0a806048dbbc3429d5d50816780e841e7d2f65e9a810cf0103d0f2e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3e1e29ec8939c000ef73ad2387149072404788a78d8cddf14341e68d7059ffad
MD5 188a311733436688b988cbda62bd427b
BLAKE2b-256 17da1e36263cfdd1d9bc729ab63b21c156a5f7fb41e8221b5361af6e5a277244

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b9d4009da4f090404cefad9d330eeee5acb60953383b9d1fd8fbd566e8a97bb4
MD5 0f66b959de449cd468dc5b9800352229
BLAKE2b-256 9450fd1878b04187d2986df3e90d77332c14c8d7ec0b91f33ad5af87a2d9b739

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 92e2b7020f05449586708e18a8bbaf31bce7200018fd9eff51f9eec65701cac2
MD5 44786affbe83bee5186b238adb8ec458
BLAKE2b-256 a8343c157f9ad98a55d387f8f50cb52ca435626ee978f50819561e003c687763

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 addbd5b5ac53830fe1b0db706813b5f29c8bbbd7fca4afa0e8fc78749aa33cf6
MD5 575a7eac2c80399141e93ad0ee561188
BLAKE2b-256 68dd9f5bde23424f30425e5672d9b0a0bf2750c978a2efb2fd5ff4fb4d748240

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c891f8cfb8f77a441fcbe185d299279500db4be3356f415def73d17cd7f6f1eb
MD5 fcd6125b00aaf55dc1a6ea5b5bf6d8aa
BLAKE2b-256 b3b61b154a3740dda0206e8a298b5fea9b2682f67c9ff05a4e0c947fa37b3caf

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c1f38dd8d321d72aebdad7794e093bafbb17b48fcb1bcbb3924e26257e99485c
MD5 9649537a5df85445cd95645c409d0a69
BLAKE2b-256 2fe7fef26a85df9f2bdad246fd70ec6cfc457249be634b638f4d4b715cb89897

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8305007ca73cf2f5cf0b0eb5237d826fbf985d41e838229da6d30c5f11e6b7fb
MD5 a711c6786fd049a6707af84e10f8fabd
BLAKE2b-256 1f3669f6714b80c2fd0d349ee0227e85518e841d731d7f86e21409ec7ccf8386

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1a20d3c96e7376f426cd5f389eee7b6cb5f00dd202cf2fbc501b20b4d7cc633b
MD5 663b10ac4c77c96e783442fc57c69bd8
BLAKE2b-256 652c831081f89955cde109c3ab5372ac036c9d60c24f9d7ca61f3599953a0a26

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 60325d7897f6f2107bbbe7c7f45b9808f674bc14ffd2b918d47e7065f26b828d
MD5 d78569f465cd81dff9d2a930ec2ffd24
BLAKE2b-256 d8e6a42346daf0bd185fe474c8e65a21c690ae224f3480ae3ad868f0d3a672cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4b212fd62ee98e0b328f3b6d4d26d0fbad2f83e280f1990854aa7b518ea9789c
MD5 5fc4a1cbfd48a673781e5bd2a4a470d6
BLAKE2b-256 f02ada22506c80491dbc9dbb558a3bd919b646c5f2dab637c0814fa11968148a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e7fa7458457e614976057c90ff480b86c791ffe6a18974c683c8caaae8381b75
MD5 4152b23ac40a30c85a0293930a2bb4ed
BLAKE2b-256 052868b90e47382f52ea7adb16c543c2da2f44557459095b255cdad73db6917a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 22eebf311d9ce43e72be7722f6f3a23476cdbe2e1eca45244df06279b00b80a8
MD5 049e4934a06a061420d6da9795f90100
BLAKE2b-256 6790dcf163adf5dcaf78644decba1fae2d66a18595753273a3c72ab782491bb0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6329dbdd457bf5572bca5cec8f2f4440376e5e02022e34ea9136b73062c6f89a
MD5 3307523e3df385ee6009d7fa6564cb11
BLAKE2b-256 83a7a2603aa5d1f3aba4be14eee612ca3ec0f1a5bdd9393f83bcb87e86174d06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 366eec4ef43d12a458013ce714fc9468a0d0cde5527d19dcd4c9107e13ee95c5
MD5 9ecd03cc18be728441b95d393920ba6e
BLAKE2b-256 03557b975d6293ce6f45f86aac7c574bb1eaf2468373ffe44f8c36044cfa43e5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b20e314104bcb736eb41a5cd4ad061c41398ec19ff69e774a6562e027d53792c
MD5 2ca385628664208a7567af9732c36f10
BLAKE2b-256 43970f926f8ee32dd6dd6d1e6373e67cdfb50da15d3b6a037352339b8532b322

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a2c155a94649e8c66837ebbbf6a9bd5b1767525c5089b6efb42d26daa2b58650
MD5 4f4a62cd654c8e49a9e5453f5f419fe1
BLAKE2b-256 e309cb5f53d013e556b9599ea39d1e8f286cabac7699c8fec8e5b9777a8df8cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 edd390d73fb37c36831311fa3a8489f1977640fc8685d58de65dbd25d760b51b
MD5 6a4f2a1ea9556d0b6883d306fd11b4ed
BLAKE2b-256 06ad51d462b02c8a911ec9d1088c32e386e39ff55e7ece2ab8aa0e8e4ef023a5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cf9ba044f79c343bd74d7a2391966dccfa4937200db96409c83b70c5d60112f9
MD5 8a81390ee596dd210c85662b1831c015
BLAKE2b-256 c20789382e1ab25a1af7fef77a5796edc65feebc536c4108f2b6ca6a47861f57

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9cffda298f6a05d2994234a4bc01732e5ea7beb08e9f7a0e80d25e9bc4ceb4aa
MD5 e2700c9840ff0f1b6a92339492a3ab37
BLAKE2b-256 0004ee1b870208412ba4b4b741c8901a6b6d2ba5ed16b574ca9c6bc94aef72d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5ebe6a44a68d649f749aec6885e2c48f541fdd7777d1b55458f0d06861639e7d
MD5 135d0a7ede1a339a0f091a2933dcf286
BLAKE2b-256 6e7722fee0ec33ab3b4330fc7e7053788d483e1fe790ddc9eb2417ad10bc3f49

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.43-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.43-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a92d52f2bd6007b2c2d19a4ac8c182bf5af89534dc97a40ebe8bd11bc8ed1f1d
MD5 42bb358280f20e5def6fa2ae2f85fdc4
BLAKE2b-256 59e28c7fd3169795895285098034e61537d5e160c66203a3e941c6cc4d862907

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