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.30.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.30-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.30-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.30-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.6.30-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.30-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.30-cp312-abi3-macosx_13_0_arm64.whl (220.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.30-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.30-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.30-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.30-cp311-cp311-macosx_13_0_arm64.whl (219.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.30-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.30-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.30-cp310-cp310-macosx_13_0_x86_64.whl (240.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.30-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.30.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.30.tar.gz
  • Upload date:
  • Size: 4.4 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.30.tar.gz
Algorithm Hash digest
SHA256 0df75a1be97cd4ab7961a82be72ffb72dcce9c2dde0100cc014d5e7cf1c915a5
MD5 b56bda77e7b9134f112bd9f97b810efa
BLAKE2b-256 39eececd88ecefd5a9466c018a77bb12231bf8cd96123ee3063501b09568daa0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 64e4f2e20b1e2cb1b7a2e6af48b99eddc74445ba718eaef94ea08d60bff39652
MD5 497dccbbfa758e9017dcfc2f73da535a
BLAKE2b-256 e366f168153c80094f51023a9e0b1d7b35ef127a932261450ebfd88ac33b7cd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 92037bd8cf25d55e4e397a97244a549c58b87db206fd3391241eb3bd19dcd285
MD5 126428d1533f88d413841d8b9db308c4
BLAKE2b-256 c552b38722168ff9e2e67d6a65ee42ef786ebb3614f5be8353047ba624bbfa9c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.30-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e89e7479758ae07d7d03f0bf3bed791636f69eab1d4cad1fc10740d604b0f0c1
MD5 f07985d6f1e63347f062ae603f39b715
BLAKE2b-256 11a28d18527e60b9cb0a05821da31141c2c1fbf0be24eca2b30d5c88d62e281d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.30-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e1bfa4acb8c87080261076f6e0d4090bbab811b5821061077fd10939170cd3bb
MD5 5920771f4983e559bf0bc38249f0f1c0
BLAKE2b-256 d5f4d60b35f286e7269c36a9dd987871716bb7d008951a3a24b20fe53120e446

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9675ddf0d195a8668253893ea37e64a3f42b362d80e5cb15a97a0fee1cf0270a
MD5 30bc7a163d1d29f63eb49e64ff054e91
BLAKE2b-256 81ef498f214721c17cc54251cb14fc3b91926d6ecbd624546cff99a943aa94fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cb18e89062d780e11b6013534c15ac15e945682e809e65396957113b74a53934
MD5 8fbc3cd8701a623220c06b1ae3465638
BLAKE2b-256 8b7f5f76b788e2e7268e2784cc4129f819e675be8833c9cc126b18c3c0d5d92b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a7f376820fc64cdc90067705af4cad7b48e2190984c05209d31679bf25dc873b
MD5 de3bfea3a787b2dd943827187125494a
BLAKE2b-256 5ed0c53895da0e16fa3fb755587721e97ee83c5cedec1143399a19d6ce1a151d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a77d95159b7f71dbf2a694db41c9274ec95ac513caf8b58d5843d64bb966e07c
MD5 5bd068c88cd6987e8eba02ad2f9f575c
BLAKE2b-256 3fc324a19779221c902a2efecb45ec19975e15dfce2442893a56af65e77dd0e6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.30-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 521537698f6bb4cdf82ceea58890feff8fcb52de9871d3796c2fc254b640ce9b
MD5 3219c859884516c51a5051cf5148f139
BLAKE2b-256 de7b7b1a6f5e1a67fa059a364cb152bfba3864cfc38d6b0df148e29bf11c86b6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.30-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9dca9639b5dfcb3ca967997cc6a8e33e61bba112215b33e884b164052ef928ae
MD5 7a24c3d6e7fc0dc16ad72f3b9216f5ba
BLAKE2b-256 da4282b4422999ced7a6312b1e9dc64a9404eec167301c3107539033ae0992d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 40a6638bab82684a2bf12631dcf6198c08e160381aa3439cd0de419d4f37b58d
MD5 aaee8de788edb6d4bda693830d10936e
BLAKE2b-256 7332ec66e98048fa47f58b15618856549e4085ad23d091e7742b64abf058e211

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2419e60c45d2f839b9ffce607dab58b6d50c1a14211e9e266b2dd4ffd0a42fce
MD5 69de09e206f1a1c070675810e810361f
BLAKE2b-256 f943fb5d8541d1cadb76e6cee57e1d7d161a9c9ac9fe24ff484d7f4196864a18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 00b25a3c44afa98ee626b35256ac1fde62e811fd2a4947fe308e08e524cfc374
MD5 3758e5f5da2ba3762035ab80c2528bce
BLAKE2b-256 87c546e4fd65bd8706f058243eeaf04caaf27d549ec612bcf572654957cfc13e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3488f64eb41dbd2d2e0402b315ce80016b0af47815a8af1081a923488f2199b4
MD5 94ccf177cda2b02a2bd0f102d01c311f
BLAKE2b-256 6651ed14c8a3e3855a2cf0337ee7685a93d40a3e0011d0de6736e14f7584d5f8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.30-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6ddd087f3fb6a6aa6109e3d04a40dd8de8fc116c45fe223aaf7f8a6f98d344d6
MD5 2f3b272abd4ac2036b048adafd10a684
BLAKE2b-256 c724d0c0b2d3a5219a4460c737aa71666debecd83bdcaa47fd7379515407e6e0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.30-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1631ff920f51c1ba2d1c66542dca4a15bb9130e46fcfd3c03e2bf5907fd730cb
MD5 3fbd5ac1bb3ce751fac5636a92e2d892
BLAKE2b-256 efaa06eabcaf01d42685bb025e190c0a32bc72af26d56c45d5efecdce0ed5ba8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e26c7b9fc95c0ca453c2270e6137cf23c9b22f4b3e1b742c21d1fff088d02e7f
MD5 0318258eb44666f0aafe04c02cfe3b03
BLAKE2b-256 341f339f20b66708f1d211ee6acc3443c4b87907429431af8b1d13511a591c9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.30-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2b510a8f0a4a52b22fd5786885393d16f6b98bcc06932fbd88b64fead7012566
MD5 a92eff607f63b680e4ca8eaaffc9b2a6
BLAKE2b-256 2f6606fc0c9da8101fee16e31d5a6578e1a648780ec1fb6f9de3fda637c8b41f

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