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.

For the Linux aarch64 (ARM) platform, some third-party packages are still missing wheels; see the instructions for building them from source.

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.9.tar.gz (4.5 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.9-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.9-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.9-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.9-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.9-cp313-cp313-macosx_14_0_arm64.whl (176.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.9-cp313-cp313-macosx_13_0_x86_64.whl (186.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.9-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.9-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.9-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.9-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.9-cp312-cp312-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.9-cp312-cp312-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.9-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.9-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.9-cp311-cp311-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.9-cp311-cp311-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.9-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.9-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.9-cp310-cp310-macosx_14_0_arm64.whl (176.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.9-cp310-cp310-macosx_13_0_x86_64.whl (187.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.9.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for passagemath_glucose-10.6.9.tar.gz
Algorithm Hash digest
SHA256 140d85d807a536f42901b6b041a340cc054f97e9a86849a8c22174d1ccf635a9
MD5 7340ab44c4ba14d88b9917b6e97d40b4
BLAKE2b-256 5a3c28f5f74ef52a019840b526a603500e2fb949bc89759e757ceacbb6c80678

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9fbf6c404040f0d3a9ea3bb753ecd5d9cdf4482d7e4081c88144a6f29b9bc782
MD5 78ed6aaf5a4fdcf33429325dad6857f6
BLAKE2b-256 1e1d846bcac7258234038461ced8756813f381dba02db2fe5097bd34eda89410

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f69251565d03c051ca29b2d971223a32b1e2944e66b688a1ce364a15dcca4054
MD5 a3f95e77cfac7d39e62e5910a32547cb
BLAKE2b-256 b77cb77db84367df35051dfcf3e56d4892bde5d180b4dbc60c13a99384bdce57

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.9-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.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3ab93ad960153d22b99dae337f1cbfe6e1f1ec00525eb18ed6a0b25403f4a974
MD5 36366165ea0c61731c3f72fc3da2895e
BLAKE2b-256 540a03f17a42f57f2dd25d5a033c04cdfdc25283a9314885ecadc355f358280c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 52047ad99a302afd3436c5507dcb7a2bd3691076e7b94f84919a76ef6b1d5c16
MD5 4845828a61a14a91a2085e6cc6853418
BLAKE2b-256 4e61bb0f8c1ad8542cc62f07d5f46bff5138a0de30fb58f6dc0ed55179cfa734

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3b52a4020b7e51b42fb3ca0423c37939cecb796e73f3b6151dbfe5caf87bfa94
MD5 12d08d0905d49c42606ba47ce6ff024d
BLAKE2b-256 92906cf261e172dfac4d1fbc2fd79685855508716b4070f0483eadd75c792df3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 02f65eb0c8d7bf66921140f3ecf93a435fb78f5b4e12149f297a2f41bf82c328
MD5 46339264a63f13abd941501addb0d7dc
BLAKE2b-256 445123dd0a1c53c45524a9eb914edf7b236fad90832b730e6812c7be89082b79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c3d12280c0f72bed76678b29b6dea3cbe88fc4afed0922ccf4c7ace6c254eee7
MD5 ec80414e4121d7c7573ea975c53e860a
BLAKE2b-256 95e2770d65aea25bdb4df82ceaf8b209a18b3a17dc8d88a559de62cd27947874

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5674b1b1fb93ef3aba58d9a0fc549bc0c461ce11938c41323917ff354a36fd31
MD5 9eea874d651c599ed017c6bf528e5718
BLAKE2b-256 7e5f32135bee9199df211b02516a75dfd65f69972c8541c2e29ef3c9162e0854

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.9-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.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 47d19b5df5b9a9853ca1d67fc1f3decc1aa36e3e98394c965981e2b4c9385381
MD5 43b00c4f83f507f3220808a6666a806c
BLAKE2b-256 e54da01ce876ce2bd709ef3864f0c0353419376a66de9938108d339d5f60ef63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b48ca98dfdee38fe4d9e0e58a0f06b27641b2d9fd262c8e6643c71c9fa209863
MD5 8e9ef1a4aff93d72d0d1baea599bf4a4
BLAKE2b-256 3d8ed3acd6e06686d44b9b94fe1dd5208988901c20c9435280a9880bb53ee804

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c3e88e86ce839d1875fbffbdf470d211c0f2729fb4063796b5aa4017fcf09e5b
MD5 8de23492b401fc8dbc1e97332007e77b
BLAKE2b-256 2b46be9a446022b8f0c05d1b54778c79089725fa6f8a005f2a9b6ebfb1645d74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2a45ba4b6883dfe065e7c0ffc55c75ed9c7af08fee2f616196afbb44a35fe282
MD5 9c45736d96f9c6506e675cb41d0cf5ee
BLAKE2b-256 add3fef1349717cbc548944a9616e472072c63fd3d3caf1386cfd36f0e11413d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6810fe742acda263a177aa780dbedaf192d6de0b3f974dbcb961f0cfb9bc5561
MD5 9ac1671b15d4c162f0e5fddcd96eeced
BLAKE2b-256 b0f3cc131723fd40a492115964bd5b6279e5f23170d5d17639bec528377264ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a7a5a2a80add05038aadc5650f4937444e47500b55e6787756dcbb47d1f98f80
MD5 9d7fb80d78fc0c94cd42fe976bd63c80
BLAKE2b-256 a28b2a5322f541052ec6ac29bbcf7dcf547b146905237f3bd18829aa17019035

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.9-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.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e91e27dcb4b698f95f1b5f8c4f2c14bc10eb436b7876e18bf1c21c2d7f57b229
MD5 b54a86777d848f066aae1f35658bc0c2
BLAKE2b-256 e6dd6a30e97d48e16bf54e6f47112d9526a2768c3fb38d1448d900909101608d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e97c5e1ebf86733fdb8dbb4489406b207feab425567963cf33bbec864ba36855
MD5 211a30c8a5d5839993f75f42d975552c
BLAKE2b-256 47afc3c8488027a412053f1bcee09dc8251dc9de7c410616b293aa2d00930df9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4f953b2253c2f1b1bdd7f6315193bdf5ed683f5cc7fd7d5f3cb70544ddb72cbe
MD5 91447878e0c4b801d830ead6dc747b0f
BLAKE2b-256 27828ba80975e90cba7953de1ed2885dae795de21a80b2754872a5fc552d30f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c8d81033bc439c922eca55cbdd7cf63b1a8f5028d3f206a382a99b33b2c0ebc3
MD5 24176d6fe2dc44fa16423d09cc930131
BLAKE2b-256 8bc30c44aae75a914faf9a2e8709a5590697aacfd08ee3dff5aabdea9ea00ba8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 89b240706f08b8a63a447bd6b74f95798f1619d814c807201fb3ff367e3e715f
MD5 cbbd1c890be5ba38cc28a9fd8d3be90b
BLAKE2b-256 50c152169e7b646a836963dd4dc1b25ce3e591b0df017f46b671c731b57163ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c520d39a21009b624aafc87d4e18bfeca2b3e6d86b756a7c9eacfbd85fa3c4dd
MD5 f990940fe02c29da5c842994cf3d801b
BLAKE2b-256 bd9ed265100c0737d5db825a47390f0d0f61469b3ec99534b350b78296c8227d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.9-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.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cc61373e25283a9b560cc3b0d67042b5dcf94cd61c6cc825d68417de65f34eda
MD5 1463ae866be8fb3f95ca11287ea0d99f
BLAKE2b-256 9cfc10b789bf7f42d5833b245b7fb51d35b346fe2f1dcdb567ceccf3c4149574

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 364ef0a855e36b25df79f867ad9b138727417ca2ab82cfb4001a15c1f0b2ba92
MD5 2805009086bb865f94c0dcd5fb92a5ba
BLAKE2b-256 f1c0a96f1639a8abb4ef353b9831d8081cdfc3bfc58c9febdbb816e1351b7293

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 463450c66d3fd2a8e5a831254fc82a486ede37743731d0a2a185e9b863074e25
MD5 d3b763c0b87d8013b8e71ed68c80e5ee
BLAKE2b-256 a1199a0bba79f9dd5e2e0fc928d48242e700cf05f47848674cb7381361133788

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.9-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 86a479bf9dd8ec4b1a9fe9e4ec164cc12ebedac68805150ff5585674d2b393fe
MD5 29b39c049cc0760f902f19dba6750cd8
BLAKE2b-256 0813b7c63c927e9195c495735945fd6b58e1845d3e8e0ede3ee0f955d5709511

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