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.18.tar.gz (4.3 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.18-cp313-cp313-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.18-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.18-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.18-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.18-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.18-cp313-cp313-macosx_13_0_x86_64.whl (186.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.18-cp312-cp312-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.18-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.18-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

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

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

passagemath_glucose-10.6.18-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.18-cp312-cp312-macosx_13_0_x86_64.whl (187.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.18-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.18-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.18-cp311-cp311-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.18-cp311-cp311-macosx_13_0_x86_64.whl (187.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.18-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.18-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.18-cp310-cp310-macosx_14_0_arm64.whl (176.8 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.18-cp310-cp310-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file passagemath_glucose-10.6.18.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.18.tar.gz
  • Upload date:
  • Size: 4.3 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.18.tar.gz
Algorithm Hash digest
SHA256 d341e64b9716e0cda780adbe9e4971adb02b531b002b33487c91fb78d6258e81
MD5 55615885184b90ef8dfc0439f5773109
BLAKE2b-256 abaf3c08b1f8c2736cefafc6a860a8f56df5e2af6f42785e52253cfde6c38833

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c742eeadc79b49405ab89a5d850ab27a6a5d641faf2eaee68307abc80be94430
MD5 c5ed79fd4bea794acc560cd30c0b393d
BLAKE2b-256 cbaf90728c9c0888807a66e280dc79ae0b34d366fb8d39cf4eb9ec5e1d5577c4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d901a14293906b9505e66b0f56734ce36384b3b7172b1c3b277b6735cdf510d2
MD5 01fa6d117f8a5db4f96ffbb387bf2f67
BLAKE2b-256 16aa17f3aaf20000b85821b5802670b4d027cef003064e2509763c61a1afe16f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6330ae03a72a4429e9fcf12689ac7254ba429bf27c9faf6eb0836e671007677e
MD5 323b773df36622f5ed7c36d0d406ee6a
BLAKE2b-256 dd259d61d12013b039fb36742aea13d0477478ea2229f25508b4dbab58ad0286

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a76cf9e7e146483439e2db091c030f0fa49062ec9c9f01f57f5b027ff58bd290
MD5 a6bb3793ab7933400a93b485cd1533de
BLAKE2b-256 a08dca8e1061add4a123fada671c68417570a597dabb8da85f6380934c2a092c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ad39d6968b0834957fe3c886fb2e5bfd7b8c36c0649e8997070bd617c200a26c
MD5 22f38e69f1f248d6081f9de43842cb08
BLAKE2b-256 498d67870e1be67feb2cd85e34e22c17feb22e73931e66a56900bf82281155e0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d0110b61046b70e8bd50140c73c8d0a24553b6ebd213f89eccc815819ac10426
MD5 3be1c0ddb4939bda97ae0593c7ef76b1
BLAKE2b-256 9193a9210dd069f108dd4a926d1af0eefcde861d199849156052272ac9eaf04c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d509e68d98f0345dded0bd5b41ad86db3f935d7928f16a8f8fa70e2d095dff97
MD5 2eddc3ff886270a44952b4238b46973c
BLAKE2b-256 6d54e4da52ec3e10b8583216f129d8657d86179181d8c38072230c12ede460a9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f7567b18cecd8b2fbecc5d1ec4ed3dc332c2e994f6944ad1ff6303db26581460
MD5 0a6a9f4c6cb5e026b994ad7af6055790
BLAKE2b-256 4f50efe06262a9d719ddb6b20334124ce34d331400d95cd1886357fb7f961425

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c6a3efa34612df344a394a7440534d24dec4eaeb8b7da591f3238588e8620dca
MD5 7b8e24ca6a837dee36f8ec06231ff508
BLAKE2b-256 905b2bacb66fa07ceeb94bcd2910a088402ea21a4412efc3787e94f4750f9f20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a95cf9e1b27a96c8cbe30ad5eeb77cf506a35bad4d9e81445d2961f1146f1ce3
MD5 9a812d459a3e1474d94db1210ca449ce
BLAKE2b-256 af0cd8889305f676b4392c41321b89bee8e9f3a86c40378f8d3434b4db225e60

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7f78b0468f219a7f767e8d7cbe607e7844c4d459c7f2adc56d2bf738e3152878
MD5 29fdc18da77055840270231092decef4
BLAKE2b-256 d7c6ad3042016c1a2c34100ba66ea4223f7133698e5750cdd766aa30e822d283

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6b336547daa971cef9180e02f92d3bcf212ca8c99032e2104454937a37aa967c
MD5 2b029fe56884accca4ca2268751f2532
BLAKE2b-256 5578178e2fc01c0bf1da7f74eafff2280a207695fcfd0f31167c9c63a9ed6233

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 57c7bd9c0fb7322a098668bbc30e2454ecc852b6276c1e30c11edd6e1278ce45
MD5 1e20c28c694135d869929a600afeecbd
BLAKE2b-256 21a8b18069549ea32d4d112da6e4e45a0d2e3a40d5b0027e44adaaf2ac3af160

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c2ff5a04ff9b15e4428819067a04eb3c157fad92ac11558b7c60ebd7e99fb18e
MD5 401400adbafe2358281c80fd893ee8d5
BLAKE2b-256 2230013cb5bc08341d8246b8b839255c738be186096129c9574346369e59a79f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-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.18-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e298e8f043b09a93f009047d346312f977ccd628f5f446830c567b880e34d898
MD5 bac4b68d917f7923c86e6146a28df1d3
BLAKE2b-256 1df502afa9d59669a3a1588ada70098ea690a80e7552384582f8626ec5992569

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 884ac0afe8f973c515cfe58d3866491757f967a8371bbe3e70b6bc29db3186cf
MD5 7cf9f434bc50a97d2f98a4baf9f4f94c
BLAKE2b-256 4135cb3bab5d7db8ce4f1f0dcbdad0a3ce2ffdd9f561f7d283f46cc4443ff9d4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 45e478e23786c717725bab639a6a20d5def2313d21a79d6cba8fa02e16d5c2bf
MD5 da8be4a4717af040eb9c25f9a5cba665
BLAKE2b-256 d11db524802f579012c0c944406afeb1b2ef81d9e9007cfcf61a8d693b86a295

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 449b4408b2ac5cb2d6e3666fc4207ae4b5808b630748af3ef81c5ade7fe710d7
MD5 3aa1c1ad847eb7fe8f6c90b87f55f718
BLAKE2b-256 cef9ee06c73d9be8f8352c9b33efe9777c197430f893160e7c243824f4ba3c90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 43e4fc11d3b834f3d59e3ebd6d57fb6c4929d7ebe8fb72084139198329840dde
MD5 e0508a3a71677b2bd8af67ae65793926
BLAKE2b-256 66c0bec06a7247fed9de50cc83c8ec5f38f40787db2c211f3846f8f761191d85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cc1becfa18cf06f34aacffafdd3dfeb9a2aad767cfeae32581056361a100b6cb
MD5 b72a9098a01abfd390960cb8c60af393
BLAKE2b-256 cb7fa0c2a34fc00df2c539972c9a0c50d0465e7216bcd3d3b291cb557f777dfc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-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.18-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2b5d173a8d447c5ab48245a389a4740d2b9a926f2e7bef2dc91630825f3eec32
MD5 622a5effd781fc9138b9a5ccdb49be6f
BLAKE2b-256 68a757da4fce5174577e68acb24069b637e21d484c719e9ce37b1b408f66b3ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1be1fba2fd831fb58504537accedda704a01e4bcc14ebcb7033543ddc6462e14
MD5 2509d78df78b07a48e690f625cd48be1
BLAKE2b-256 b3ccf303aa89a4989a8c2dfc1f584c21e21efa512b1ba9eb4b9545be0e5a4d7e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.18-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b0af5e111d0add7a3f2b7c04d712e2a41f04467d106412ed90482ffafee50534
MD5 a24aa1912915a13185ad6c9ec755cdc2
BLAKE2b-256 08cc92b6c58a11e4bcb4d744893f59bba0296081c21cf38ed718d2ecf15807b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.18-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b1dcdbfac35f64d64dae3270e0a0d017bbc03d2512f468ece3660b2f0929aa5f
MD5 ae04867b3b806ace5035838309a72d6f
BLAKE2b-256 029b09669ba301b831356b2dd4dd77a9bd866f9427d5238c4a4b37621f40db82

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