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.31rc2.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.31rc2-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.31rc2-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.31rc2-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.31rc2-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.31rc2-cp312-abi3-macosx_13_0_x86_64.whl (241.2 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.6.31rc2-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.31rc2-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.31rc2-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.31rc2-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.31rc2-cp311-cp311-macosx_13_0_x86_64.whl (240.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.31rc2-cp311-cp311-macosx_13_0_arm64.whl (219.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

passagemath_glucose-10.6.31rc2-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.31rc2-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.31rc2-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.31rc2-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.31rc2-cp310-cp310-macosx_13_0_x86_64.whl (240.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.31rc2-cp310-cp310-macosx_13_0_arm64.whl (219.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.6.31rc2.tar.gz.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2.tar.gz
Algorithm Hash digest
SHA256 9bf9b09126395e6e247b070607470fe961b496cbe88e854fd5147210aa7971e9
MD5 388f38d8bab542c63946d5a04f6564d5
BLAKE2b-256 84516fee3e5e242aaf32581bd4f19cc117b5579caffcb4e163d8d6fca1e91da5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 48955e148f3da89e76767e67a8747a998c724cd376ebe27978e8993258318d11
MD5 88022922bf012ea5d3edcb0ff71ee740
BLAKE2b-256 753dc6fb6ee7dcda8e8caedc19b63512ed1a1d9266adc25784660a30bb4ef42b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5f7d03cd92411898ef2c799bcade2f6fc94ed7c0dd70966ff2eace497be2888d
MD5 55951e0d5d8e6508aba05e0ff53d0ec0
BLAKE2b-256 a733db81a65f02c6b34ae8205fdbb5b110b32b99e0b09e56038f00516091ad2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e5eca6c517e16030cec27d73bfaa7c8ff69eab2ebe504684690003e8a3040739
MD5 84231fdcb2cd438cb5235e062f76a1fe
BLAKE2b-256 fc2c979ce8e09156fb21c5031f6010f992bff1845bc97d57248ef41d57fbdb5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 887fe2d7c284ca3f2d7229aae7666ebe9728a59bbc16c71b1fd0ed62a3927824
MD5 13b8e3357ced8ce3c7dfc0a7611c2e1a
BLAKE2b-256 a0cc439e9e085a3910b58ee4bd23927d69053872770b9988049b4375a06adff5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 de2f5e200d43b18e8523c0abf5b655c5cf709e467f02121a01a26519d74d72a0
MD5 037a08d5283dddf594182d69c52d933e
BLAKE2b-256 50dc32b6b186f94a239b46e7863deb9918b74fbe8b35090f86f5a52b7d0ab1c8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 24aaf173d5d89f512dc0e801bfbba91b0d0585e309f3c1306f92c439d212d478
MD5 bf4277221e30c37dd374f385ca40c57f
BLAKE2b-256 87ae6fc1b6cf09eb1bdd317fabb4fa69ac2cb7b0bdc21d0a64597c30d2880c17

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dda2da013bcf09931859105eda496cfafaa1d0173b7afbdc459c72d833c4a246
MD5 06ed22a81e5b6e11c93506d89c7add41
BLAKE2b-256 29caafd36a9edb3f4695072cb079852ded8c4f0db272fb1b048d29c05feaf1ca

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ce1bea3b525e129a88d3d8f668625fc370524c8c5319dc7aa3baaa02f51db213
MD5 3eb364528692bc3df417bcdf5b893661
BLAKE2b-256 5ab4984d69eaa259f5660a996d44da7d220d876386bce6c45c71a682e7dded61

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cc8fbdd0ef29bdb6ef73640eb52bb074d15e34e9289f3e990f910dcf332886c8
MD5 9df620496a9b51dd21cd7d6bf28b4304
BLAKE2b-256 1beb81861c11d732f8e9c814588a423003549b6e0991cd8ec349045d07a0d687

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4f22e7499b5f9d671409fe3e78bb66730fdd714c9d4a52862c231d54e4e57de7
MD5 916a6f28b038372587124f3ab31654a6
BLAKE2b-256 f551e1c7fe6cbbcfb9c37dbc6ada43e2d12322966da77d577d1af5e272e2792c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ae45af6c5cee4eb264a22d8a0af64069fa2c69f256d1123bf751c3821a4b3845
MD5 4aab9f685c6c106e288222efee1771b8
BLAKE2b-256 10c70cd18178f0a0a40aff2f47f16af51f783af46e67c141531f4bfc559043b8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3284439311e193c75d8696f9fa66eb51f0dfe333d9ba612e1c88f36089c8c3ea
MD5 bb2d146867c6e55656540efec53a0070
BLAKE2b-256 37cd68a5a609f36f5f6f0ab542f78104ca253c974ba79f1c1a0e887a664840b6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 47a9174c5ee16810476493150a94598fb49b4148b9a2e63e92ed9f4d621c22a3
MD5 79c37ebedd3706cb4a2599b33f9fef9f
BLAKE2b-256 1291d4e83ee5e52d29e0e98592cc6b3b11c6728d79a2883df780db4936ec2451

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cd58be797b9ace8d4dfe94308c3298ca06de479fbc1c17ef48ff91212b42a280
MD5 4e4cfe1e3b4e903997697dc05a732066
BLAKE2b-256 5bcba3e7f79915809081865666f9f75aa760c18f36f9aa4edcf68e7b04991588

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1ca0c3b4fe9fdc9b463de7eff3215ebe3ea1f5837ee4b6992ec30234a8dc299a
MD5 44e6270aa995e24e952efba4f1b86a2b
BLAKE2b-256 19281828701c1c9d2fe1f04e41b4436f1d1a55f3162be29edd166aaf86905302

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d00b6db9620dcccf24f010db38cb6403842b3a2706182572645f28e5f3ea5f41
MD5 4ebf281993b2d6ebac6122f9cea3f16f
BLAKE2b-256 c7753cac545e2c4497cc8ede7a56fac677e6add9267aaa537f02f69799017aa5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9f00923f5f2ab6e5e86ba845366c6e8f08d2db62186dc28632491ec6308bd5bb
MD5 fb5c2af003a67740e6b353de5f3b38b7
BLAKE2b-256 e12219aac7df32574c18045b7be7ac40b6b9ff8bd66d444742170780c6f32bea

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.31rc2-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.31rc2-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 aded495e3fec7834bcfb3f0976cb4fe5a8aea3b8a32532d8cd5384ccbbe4ebec
MD5 b6be74f40cfb3961f92b78ca770e3eed
BLAKE2b-256 f56510cebddac0fa4d7ad837a93cc97c9d4aee04352a39613ed456f9e3ce4dfb

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