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.3.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.3-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.3-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.3-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.3-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.3-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.3-cp314-cp314t-macosx_13_0_arm64.whl (220.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ x86-64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.3-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.3-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.3-cp311-cp311-macosx_13_0_x86_64.whl (234.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.3-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.3.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d093f1910ee9312679398c96125d785c8900583e151474743cf95127686e38d9
MD5 64d5d05633c089a4dea2f79825590c7b
BLAKE2b-256 9a52a17800f8408553068e892f0efd3167676341d92702fb4ac88585a842a86e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7b12d8ef201215d5cbde2837abddaddab5c6bc46cd245046670e5f26dd9e2b01
MD5 5fdde1e2d611e0a20275486d61c53efd
BLAKE2b-256 260592f21995182bb678786fbe944a7b7004823eede7e63531b92c5365114c26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b99144e60d76d0e7cf71f6b4908c90171612d4eb0f245076e0faf2c4d1196643
MD5 c47edbf7faed2c9521d5ab5bc1541159
BLAKE2b-256 79b9b26c0b8393864fb530e91690805b444eceac81ceb124945d7b71034824c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8b35a96f4b878384f823be7babe5fe963799299965592e5fdbc5dcc73d83cbeb
MD5 ada2948b1cf26f7e3a7d9d35cdf88346
BLAKE2b-256 b8ed13cf0e1d5d8db32b7a1848ce6c3d0c9356ad7d154756c551d99816dde44c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ef6b0651d4396747c828c02f00dc826de8303db4490f02f856d55cd5358de854
MD5 e247c15bb74ea07a6ae52064694d8505
BLAKE2b-256 80eebfd892a23d5051e602c4ca5c9d4516468d47bc10673edaafd3d1d2a324b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 35c37e99b4a3e7414549f180af341666774678defd2f569a5e3fcb58d29014e1
MD5 b232a0ab6d3f18f814d0bfe02788fc09
BLAKE2b-256 86e922c675a26f0b81928e6c354dfbada82bab7c3da553b8b98a9e9089f8fc58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7a260ff545dd2c38e4d25f3a2485b0c26958f576a0e40612a50df27618ca2135
MD5 818e6781af879b2fd2326af9e200596b
BLAKE2b-256 d343ecc3f3820445e054278a982561a4f4f0b6df791fecea5898551b5ab705b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f17cbab008d108e2b6327de08f69300fc742de72db75c894e6f9e808872348b5
MD5 52a6e544e5395f9ac903f477818b99e7
BLAKE2b-256 b3456201ab72a166c0a54b0e898ff93bbf26c114a889feaccdc6ce9c75dec4bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2a923a31cad692bec6b522ba9f53379ee1061233f87047d9dc71817029032a46
MD5 f9ea4c9028e49d80cd542536d0325448
BLAKE2b-256 df0dd9778414a94cab8a71db396f0ca244a5dc9eeb56d73744b18548e19012bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 39f5b103cd04d9a55b783fe719a5a5c3e41d581be84ea8b1388d8ae8c988c548
MD5 70cc9944097a6f8ff2597a3d9d6c1e4b
BLAKE2b-256 b99375375f63d4a5ef32ca40756a1bade62da899bfded22442536c15d44a3dfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2dd4c5d4d63297ce6fa58d1a1e2fd312d47c8b7383baeaffdce1a179269a57f1
MD5 f8aac24ba568f408be567fa163ab3771
BLAKE2b-256 c534fa7b25b31a5d123e935b84f06e9dd98bcac2ed0e1d1bb377248a0241feae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bdffa58b9e16b027a3d468399a5491b1ed098076f4375917c5d5df9d1fd997f2
MD5 60afb47166da2e112c13b569a18e98b0
BLAKE2b-256 8ae714942645c84b8aaad451fe29233e4acd2ccd8d5e7a5a94872ff8bfc3ea31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b0605754d81807ff7395805e9bc40af88958dbefc6fbb3eeda350ac0949ad21a
MD5 428ccd521f3c8d790351de13a8e62884
BLAKE2b-256 3af502bc8c45a6bd18cb1f07efddb439beb70e4e2962d980ffc911219e5aa771

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4e859cae736278d6e87f3bde9e22c067c63e4fac8dba832e4f25e9536a85ee54
MD5 648bc1b363385b66604b6b5e841aec55
BLAKE2b-256 5715e0a046df6d2d19b912248fb9a822151f1b43dd78d1217bbd9ba0f9cd3439

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3dea5d93218d865dd42089dd2e993863270638f55199a747858afca65cc65840
MD5 6c598c91e99014606e711db86dcea8f5
BLAKE2b-256 11f1427a677406c98d0cd6465c109a9dbd8a60897d6ce86f5fc38de5ce233568

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c41c880278f41c1bd444d22b4c8b93abbd6d9aef9b0e42f6e37a46e7e33c9620
MD5 daf4a5b1f595ed2a6cfda53fb4cba948
BLAKE2b-256 c8689b4aec87b87b2ea402d46a626a49eb0601736b046deac7ef4c80530dd366

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f19607b8a9f2f21f1612f14cff17431977746696976e6876319bd9107f507430
MD5 b3484310e7494869d0d239397150652a
BLAKE2b-256 3559a23fe33040e0690645572e46b1f036544bf15224dd2c5983bfacaa9b27d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1820f7055a370efaf26cc731db9b2ffbfc3bb6eb1317c9a74fa3cee11d3aa9b1
MD5 3cbc7dc44a83844a0e3bb243e10afab5
BLAKE2b-256 430aa03310f72299ff785ee3f8b996d4a2de79e8de784363a2e7919a649a2fb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 272ef55a7f37c907239eff183224df5f4934f9efe3b82f90a270e1f90d6627e0
MD5 63ade2ab3c029c8af4864e9398cb5fe5
BLAKE2b-256 d24bb60de04f33ab8a2a9815fa6c3ba56ce269ed8e346dec453d6f8d62fa4992

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