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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.5rc0-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.5rc0-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.5rc0-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.5rc0-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.5rc0-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.5rc0-cp312-abi3-macosx_13_0_arm64.whl (220.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.8.5rc0-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.5rc0-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.5rc0-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.5rc0-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.5rc0-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.5rc0-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.5rc0.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.5rc0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for passagemath_glucose-10.8.5rc0.tar.gz
Algorithm Hash digest
SHA256 c412dc6e0f94de0d16c8d7a8855982a008f44e1f5bb1edfb1e08b2093136b760
MD5 322c254eac6c924ddfb1a84227ae1aeb
BLAKE2b-256 372905adcda841385d6a11319c4df475000598ce473a8cad584a077aeb8297de

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6c2e3df45777405b5dc27c3299a172c2b0a9f55d5895b1e2cd641fef1d237e54
MD5 120fdc57f18c09ffcc80915c44643e80
BLAKE2b-256 9d8dddb7b0d9200939d7649b5f38b3f841dec5bc1b54d53f89c863dfdae0aac4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b01ff2224be3fa826c9228260897b3b330c21f9160be904735b88ea421d6c701
MD5 d101d9d72b0143a0b5a4a05d723bca6b
BLAKE2b-256 12839bca8898cc8556602f1fc092d01c97876f39801401d37fcc1c11ff5ccef7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 785ef7b317c7386bea392e861a31e764550afb1f42520890035b74fd04211f9c
MD5 f259fffb36e5fda2f041ee6abcd0cf45
BLAKE2b-256 1279d57500d5973c3feaccfc3c5dac67d0b3d54899f1793e6c670f6c9b0f5544

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 96ea2360af8e4d5a6a23a1890e14a990ed97bf84cfa8234eea88b6aafaa5cd8f
MD5 3ce4548072153bf3d59e53851c2cac58
BLAKE2b-256 2b3d411660d02d3cec45a713fd71d35e78d28a31d4b1acf021ef3a8635364cb7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 df0300b133b24fd4d09ac4ed3bcd3183923fd163a1df90b8853e6ed24c126c4b
MD5 7c2414bee49e91587d071b16842ea590
BLAKE2b-256 37ff3b68f0be6c684729f287e7e97d92763e980f1e65fcc867f7d70ded93fcc5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 20dc8284417434ba9cba19e56aa8af45dc213db92a672a9b431eebb0f13a06df
MD5 c8f075e3dfcaa90d70f9bb0ab8d1dec5
BLAKE2b-256 88a1bb6568777f7eb4d375757c0413ec14078f35a9afb4aae8fa1c54a997f02c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8f816c47de159d9e5ff0ed74cc6efd76f2b0b58df544884f7b87628a07782caf
MD5 25f3e3b26930e6725df2958acfc5602d
BLAKE2b-256 522f3eaaf7fb1d32aa6696670985018578905c220640e148759c8b10699ffa97

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7b5c5400bc281222a0ac8d4c76f108afbde24de706e6b0304cd8d675d54e9cfa
MD5 9492c62746da69b29460e0fa12bb66e4
BLAKE2b-256 29826667c15dca1a582dae8f13ac7f8b819c48bd2feb6aa5e3f3fe6d40dbffc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 08c86ec11e1ac86d7bb573ee6335eaec0f092e485e741b7c4f3b32884333ed14
MD5 87b8c9a34767ac450f7d02a49df424ff
BLAKE2b-256 d53fcecdb01b12b4c525707ac11d0eed4b813b0f7ca603404b672ab01b274eb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5e09bdb351b2945897ee847770482ae3a282da06b4e7781f498033f8e2c1050d
MD5 3de0fb661fc45191c662aaa1d2ba28cc
BLAKE2b-256 e242227dc6166133c5861af27a243d6c148840108a5d1560c30b2286d47949a7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 684a739dc2a1a92f68fd319027ac3dee7b09f3a812f9701d1e5f7141ffe1c556
MD5 101d757490e61932f9d8e66bc64af69c
BLAKE2b-256 293d3da320be6bce4811854a1c6d72d4af1662014d0e0df6afa62401e69c9443

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 183be43ec76884a6325dc7bbfa5939195e031bcb9a3841049bf0ed38bf4c6fda
MD5 259e1addc4c6fe8d1cb141509840a9ae
BLAKE2b-256 106940e0c79d744ddd40d8ad4e127ce5d026b7f2ffff79bcc28d493b12b42376

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8b63ebd3ba903bbc30d947fef612de31b996b1845ae6b1c661089d3987582541
MD5 08fa0b501323e4b6629a3a63238be0c2
BLAKE2b-256 5975b1070dd38435319616bb5a097e23bda113a61caf744ea0ff25380d1c8771

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 99dba557faf0c136da9727981b5dd1a77b6ef7e47164f3eef771005b772ba3ec
MD5 b22468b18efc54ed02768c7928884046
BLAKE2b-256 0ae947782eec456fa3c2ddaf857f1d7adcb968fa81718ab23c4910322c0ed05f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9744d9bfcb457689e91f3de21ff706dced5a3567423c69eb44b525bb6280ed22
MD5 621bae20e28f7ec5db8aad80722228a1
BLAKE2b-256 76a8babe62c6b1e174ddd4ebd0c2d17f32afccacb8b6fd17b6f7064053da95e4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 996a146e8493e22ef8701991b7427ced69dc222ef255d2f82b8a9aed2f68817e
MD5 d216b66c744c45c36e296d717f703982
BLAKE2b-256 3f1d2b3802b4a506abca2e83b79f1d2d328f3b069f82a94c01e9f1a3c37a591d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b5cf582f8195bb526987056a12fcd6efcc022868c87cb56245301ceb938dcd1a
MD5 9471b31eead23ee10d76e2d6ca4668a5
BLAKE2b-256 ebcdf6c89fc47f6086c9f16dd90097d2524f40a11788058026398500fae3df1b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.5rc0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.5rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2713efccf012fd1c070f454847d1254d3168a75298d0e62dbae74c5c81b2ec20
MD5 c1d1de4738b8af6d89e386440c1db4c2
BLAKE2b-256 774a8ffedb7205c16769a8d293f7b1bd59a1b62801bea33114510dd31df12855

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