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.25.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.25-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.25-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.25-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.25-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.25-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.25-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.25-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.25-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.25-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.25.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.25.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.25.tar.gz
Algorithm Hash digest
SHA256 737abe1a2b7f0d881935c1a543cff448d006fbfa03d873d5c839ce16c08e5222
MD5 9776c595af4a07b648b2bdb7e73ab3c0
BLAKE2b-256 cb9daed269c9283af5b436dbdd72fff484f7bc9393ec88e0ff323576ad66440d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ca1ed7498d0d68e90fd85df5e8f570e574c48714259bf82a8086d43937a9dd7a
MD5 47c0c7e99ddd811dd771b8fd83d54aaa
BLAKE2b-256 bc51f2ae2d4418629173a46a33b5f0a136a0f5380e79077d69a75e7fd6cf816b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cb7b61096420ed65dbb5a1d6d378f875954e42823f8b6dfbbbc46523756c438d
MD5 d3b7140ab941139c3fa293c89e419a67
BLAKE2b-256 b9db3e383e0e46e3a04351e71391f6023bb56ee3ce0d0c34b32c85e26c4f924f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.25-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.25-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4866d1c5326040bca6314157d3eb6511295da2bd9fdfdbf3a77c4afd81299986
MD5 10244ea040ca1272a5f780b076a3a32e
BLAKE2b-256 763f9d3006b33a4f27b5d639cb4b2ba764a47b560032b19b9116d550b642cefd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6cc57ffcd7c3308ee769fe8f395b5380a0277f44b63e62d96fb43e5bbb9fb49c
MD5 46ee187d574b750aebdc40738f96294b
BLAKE2b-256 72cc76531d0e9be2bbce9898d8db9d4631cb2743db672a2363c5a62d2cdae7f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e515943d9e21ead0d2981e4817f4bcfffca301e06c98cd53b7773af26c749c5e
MD5 e8e8cba0b42857116bf87ed2fc39765a
BLAKE2b-256 152302b1ed20afe035a58d07c921aa2d7c07486eed0b7f237690fc7f6502875d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e41a2e8f4a1829f3d75d2315b03ea5fd49b758f89ee563b60054d96ec61ef976
MD5 7653d8cd469725c0565d032e7e388ac3
BLAKE2b-256 cf5f7017035198003be5e23c048c871267bd539f2e40a47348a067b365e3ad73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 190e11df0b7f0e4c7a8e634d74b55fb14f2f49bd29a176ac02f741ae7b06266f
MD5 e3871b2da83fe8af51ef3f28bd5c274f
BLAKE2b-256 026904d51901d9e7ab22222b183ad71b2d5068f508d998be61abb67f65afc11d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 52283111064afac0d4bab00f6c5d9e953eaa7bdae68745f3341fc38e99f5f9a8
MD5 545f5e24c600a262fa7943b63b396f1d
BLAKE2b-256 28113dd26617124544a321b4c87a062c90fd61d149400d4d2ee4c44abcedd9bd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.25-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.25-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 611599cd190c00256951bbb7f6ea5cdd9d919d18badc40f7d2be418c398fb207
MD5 f752e902727b40dcb6f7a874dc031809
BLAKE2b-256 a93e0efdbbc171a76b3f7355c2e0e15d09a8221a661262d798a929309db6cc14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c870dff684d899319563b6b28bdb314bf699e0999bffaca20e626ac3e90d1122
MD5 e53c42ac71a323c9d022604cb6ef55ff
BLAKE2b-256 4bf237caf8bdd24d50fd516156c780213cc6dffee580eac4365152e8327ae7af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cf5c9a7597d36e975d283721635a5202a3b6863c1bbb3cab60c4738ecb12366b
MD5 9b26a238dc293cb88383e337ab3ce394
BLAKE2b-256 e860594ee198c2be10cb726d1fc6dceb55c94354d7fa89f994ef2ae873ecead3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7c049afd035d3041605a5779dc60a360090a3ccab05edf395e249b912347a03f
MD5 d93b501cbf60e385464254af3fc7839c
BLAKE2b-256 faabd7617ed6625bdcf63ecb843d84d0580ba146d8fdd2b677ac18b0ee377e17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c60b75f77aa9204d8ec6738cde5ac13316e86e930eeca3d609872e554ba817a3
MD5 9ec044b6fbf2d3d2089eb6d38120a120
BLAKE2b-256 06eed8afcdfcc6e63c16eca5a8b945a921a274e58f7b818b065962ae2905493f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5a636f303434d9f2d5d816a3965424eb90ac0173be093f9343aac9f91f22df1b
MD5 49d4d71d94afe08f0c788db2671e914d
BLAKE2b-256 50168a95ff74ec5c1f31894246d1cb25eccd0cf6cbcf806e8990ce4e8d4516d2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.25-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.25-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 831fbe40bb96575618fb0fa48f86415b03476f94d6577f577d02af613b388cde
MD5 edef3ada2ab998a01b852301031b520f
BLAKE2b-256 f42f902899fe70ace488b7e1d3194244ea1a9c2c60d001ddbf7fa550ab07044b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 97394550f8851b1286fd1b9db986c61530f2c3309364bcb16d93b434160e9304
MD5 b24f9a0c493c024dc1ac019b97acd52f
BLAKE2b-256 9a68f57f073a741303b8c89c691b042dde63e4ba176bb1b950bdcaf6ac98c5cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7b7917f0ecc666c99a60e411c18d94b3481b9190c244e0bb2678bc0591b349e3
MD5 b39d8ed451f4f1b99dc5a8f406af30c4
BLAKE2b-256 8cd69666777466f1bcdbb70362aca9b3edcc561a89cde4838b6119b1aa048176

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7834a002fd0564f5130b9d1013340798f078db15b5f2cf836387b220deb9df6b
MD5 037789fc30b46886ecc935d52a2f2411
BLAKE2b-256 93fcf1d5d450b3b8bbad19d11977eb54b1a645bd8f20f5d1f4b8cc445962f4c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 49505989e343e98da1d1e7ab81e6b65f9c4623edd8054469dda10cbbc580ba69
MD5 dfa1f93cc608b9917a514977d2a35012
BLAKE2b-256 ff47226aadd70800202e83795fe18cb637dde22bf3e9252c9db091fdb546cd57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6cc2d997e46b99c7f5f88172b349894afe252485a0082452c0b475610aa8d070
MD5 88e5860a497c6474ef42c13d5d9b0634
BLAKE2b-256 1f3caba5056f99e72b731d282c4150da706ebe0e1b9c8039884ba682b62c349f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.25-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.25-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 07f6e82854b17d35ad4e98c3addb58bccb4c5801516362e092b214ea6af52a6a
MD5 c75d769c89d04b0d0c6f75e1a60f5e23
BLAKE2b-256 71f4b6cb6cee5935837fea6614cda3fd1f5fe576541b604491a8365077bab25b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d60a62e33251929f041c4c17d0d080c1bbc797109a2747ede29d4a887cc84b77
MD5 805dcc41877572ef8309e6dba0e14823
BLAKE2b-256 404c6960f1ccc68eeac97a12b3691ebfa6cb0f21c4f5673a06570d946e5e16df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 622063a459e6626ac5da853c38a6e2111a141866ef93cdcaeae73293556837d6
MD5 de1f4a9b9452fec54bddb877dbc5f8db
BLAKE2b-256 b2c0ceae1b71249efa54200fb9bb4230f2e3846352f227f74220dc2e75320567

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.25-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e6c5a066384f004cfad64a397f37c6e27915b61a6b2a8e3507ceccc9b22370b7
MD5 02fe4ff6832fcdefbd8c9d8d964c0f00
BLAKE2b-256 162b920831be83630e37793ba1cd5fef1d9dbb13c0b53faa2be1c9ba65190624

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