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-2026 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:

Moreover, the passagemath project:

  • provides a stable, frequently updated version of the Sage distribution,

  • integrates additional mathematical software, notably Macaulay2, a full set of GAP packages, and the Combinatorial Matrix Recognition library,

  • curates a library of Sage user packages.

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, ARM) 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.8.x series are 3.11.x-3.14.x; the passagemath-10.6.x series (EOL 2026-10) still supports Python 3.10.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.8.3rc1.tar.gz (5.1 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.8.3rc1-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.8.3rc1-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.3rc1-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.8.3rc1-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.8.3rc1-cp314-cp314t-macosx_13_0_x86_64.whl (235.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.8.3rc1-cp314-cp314t-macosx_13_0_arm64.whl (220.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.3rc1-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.8.3rc1-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.3rc1-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.8.3rc1-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.8.3rc1-cp312-abi3-macosx_13_0_x86_64.whl (235.7 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.8.3rc1-cp312-abi3-macosx_13_0_arm64.whl (220.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.8.3rc1-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.8.3rc1-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.3rc1-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.8.3rc1-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.8.3rc1-cp311-cp311-macosx_13_0_x86_64.whl (235.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.3rc1-cp311-cp311-macosx_13_0_arm64.whl (219.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.8.3rc1.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.3rc1.tar.gz
  • Upload date:
  • Size: 5.1 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.8.3rc1.tar.gz
Algorithm Hash digest
SHA256 495cc7c1632de9c2632ee8149774186a7816f4fbc3306950654aa58550018336
MD5 ed8e321ea36fbdef09a680e77eec5df2
BLAKE2b-256 c4f742503e91b6f20061f14150a0691ac7ecc476eeb75eaf22e97bb9df6c86a3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5f5548642a325f498044326133c57d083234da6303f68b6e3eacea185d50da76
MD5 917b81303457b5b9bb1428bfda750e94
BLAKE2b-256 61a3878b29869c165c806c7f5c3f53bd6910be399dbf1201b12787ed6d480805

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d8d6c90ca069feb8b0228c25c6967b06b4a81181de56583490731a8beafa4993
MD5 b760bc71afb475da7ff30d4eba3eb930
BLAKE2b-256 9e1f838ad3d82fd07c9137881d4c95a4204e5fc3dbf3ca49c0b319e1a8d2761c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f05ba2f4ebb2413f438524701b90e1ffd0b733dae36af06afc0ff9226e3856f8
MD5 8b1d00d16b7aae1d78bec47faa37d73c
BLAKE2b-256 b132ea8198279915bcdb0c006f3acbc26adda373f02afd38427fb018a46f4602

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 02af32cdf0ef0e98fb69d2b271c21257eee57426689f0674353fd7acf05491ee
MD5 23f8df95d7b9386395dee7db4789dea1
BLAKE2b-256 a6916c0eef0a045ae3f906fc92c0cc84395a9ec55820112e1f67faa76ff31d8e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 789001fad9677068cc1dffa0c20e6e65999ed9458e3040924c9c7b8e6186a266
MD5 99f3a0b35892ff1d8348bad936a433b5
BLAKE2b-256 64fef5d735692b6e87120d7ada3bb41cf044d4bccd6497b336eafe6e31647362

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 94f7c39a804d5c90da8023afe52b1a3b18e1b8a7ee1567ef5ce5cfcbbd349ac7
MD5 b3bed9730d329981919e9abec1a927ac
BLAKE2b-256 f7ce77086945ca030ff1b7560a3fec9be714e12c3e090eaf2c48e47725fbf0ab

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b7994f26b34f9337e7b4c35783878033141e60cb7595d7641ec38a8c12644113
MD5 ad7a3ebcbd1c7030fb8328dd13e7a27d
BLAKE2b-256 7a8bf8f845401071ad10ae557ed389dc068dd9df667246e5a665852c4e1e94b3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 293029b62261b90bf392ede98f700118362db5e8231429d9e35cabf64ba2ab4f
MD5 b9a0dfab00b7ccacbfa1797efe52b2bf
BLAKE2b-256 b42173e0a04fded9e0411e6ad08407e4ac894a63bd51c4c411c0bd3da2da43c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e0370d80bff1deec5596bbab894116e381bae7ae6c607b94b5bfba54b6cbd3e1
MD5 e2ace6613ac5a3eeb769c1050327d69d
BLAKE2b-256 4c1608abd939cb0c9e02ea0c208ee4b401d4507f3413c5b9bdf3ff55c14f4a6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5322afe43f26267c9dfbb2b48a4d2956dafee3c755bf42e1874034cf5694385e
MD5 916e53e6765e65fe762821a0c22cf503
BLAKE2b-256 b61e37d7d53a52ebc6b00e0814135e6faaa7d9af5c83e4f85278cf05ff7d5a8a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 886609548eef675211d72e9231540cf8619d29fc80ab9a31c3e699505455213a
MD5 edc82c028abd06c9e9c7d1ccc110dac8
BLAKE2b-256 be900d8a9dbbfcefe03f4487021128f7aa1cc36071179af59e39b8e1c8c4d2ad

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a16a3e049c8d7ffea4ca161417d93c727be5c2e91925a0555d04cf7c04f73712
MD5 a6a14c54aa73a1573be234d3640ff49f
BLAKE2b-256 25f1000aba23c8f75ae602284239e87381600c337f12dc16de6a8f2c2468715b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 87964d41af6f1c4f8182c5db8b97e2b34a875e8eec53d42132afc77a272e6ad1
MD5 ee4aadfcf5a1ad3ff17d9cae46ac61fa
BLAKE2b-256 1fae1965eb2ab393ff47c502235def58a921253ee3628026de7a30d994da9406

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9d37dad1f8ee21d5a1c76de4b37d1c8391c29fc9ec2431a6aa0ff113b5ddd8c0
MD5 49bf0c039824274714358a84bbae1a5c
BLAKE2b-256 9ee79050d3665b4370ff29bbc0f249754e107e6798f8d12f8df1d76dbe3e6d49

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4eb3457ac8a77efa02f448a305dffeb52c2e61a85ac9dc3382627f1e05bdf6d2
MD5 de3676b6d990d539dba2b059b8cc4509
BLAKE2b-256 4fea0fc3c47458dacf96e618d3b87b2e28f7f9e14626ba4a2f62709f8d13b175

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d045957a822f5bfe3e5e668beff21cf406bbb9b1851fe0a58248f7e15724be4e
MD5 2edd97d3930a5f5466df526412b71bfc
BLAKE2b-256 e1bec1735f6239964b4b8759ebe54bae25ae6d1bc589e1df0cf5f00e7f7a63b2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 55e61e0d927f7d290cb7c0e009a0903b4ddeba852e5589a9073c9b838cfa07f6
MD5 c8bc8ffc6d501ca36b3a8c80996950fc
BLAKE2b-256 34e66c64ecf56896208f36c3bbade6aefc1fd3900e27774ebcffa48a452af5df

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.3rc1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ea71dca94e292ab5d8a4e4466ba118eb3cb8ec5b13b9063a7276199fb4160175
MD5 2e0219e2139751b5324186fb0b662555
BLAKE2b-256 f3487caf85eaf2c3a0e7e62b26b84b1a375488bbba41008a2ab4109f18e15788

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