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 was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support all major Linux distributions and recent versions of macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or virtualization.

Complete sets of binary wheels are provided on PyPI for Python versions 3.10.x-3.13.x. Python 3.13.x is also supported, but some third-party packages are still missing wheels, so compilation from source is triggered for those.

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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc10-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.1rc10-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.1rc10-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc10-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.1rc10-cp312-cp312-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc10-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.1rc10-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.1rc10-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc10-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.1rc10-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.1rc10-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc10-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.1rc10-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.1rc10-cp311-cp311-macosx_14_0_arm64.whl (176.5 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc10-cp311-cp311-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc10-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.1rc10-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc10-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.1rc10-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.1rc10-cp310-cp310-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc10-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.1rc10.tar.gz.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10.tar.gz
Algorithm Hash digest
SHA256 563c26056419e7b1ccec19dc5cc9999dc85cc0d0b9082d8551b5c0788d62674a
MD5 0ae58d75dbf734104d3e062a1e3427e3
BLAKE2b-256 4d16ebfadc14b5243e343dfc4041b057894cb870421283480ceeac9374850a96

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ef6ee3e291a4149f5e8920f89f94f5c1cb9ca3e602903e191203d4ee22e0dee7
MD5 54e7128813ee74900c7d13462da1198d
BLAKE2b-256 00380884ac6ab5714c55b684dc461648db3f1aadcdab42c44cac0db10de089cc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ea3e7c5ed6f5bfca54305644f251e79bf263adc1ce7e3aae3b3ef1aa54c3c7f4
MD5 353713fecff568c476a1a4a0233d3d17
BLAKE2b-256 aa8b84131f708c84485eb4549d6a1b149384a974f664444da835d64d6782e75a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-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.1rc10-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1410ef24988fbc35ec2149785aadd49a7664ff4be87b074d5d285b1230038224
MD5 81883ccca6987b9d6d57fb9a257e82d0
BLAKE2b-256 f45856d6f6a8756dec567be97f26c56a01d4d2e445d5ed46898ebbd00588ce5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6edb69334d94bde2938bc6ab02bf15db657c452244249b953ce355fbea626831
MD5 682f4e6c3d5b867be6f9a07285bf7189
BLAKE2b-256 3944a7260d233d23c006427af5d3f0d1444ed8bd07426d160b276b5138796882

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 edafcf4b96c8f5132cb6b1c259a6abf7ff4816b1e51acb55fac28f4ae69cd572
MD5 f231f287c368b3232eb8de9b91ea4631
BLAKE2b-256 27718ea2f5da451bcf3dbf9894acbcdea08fb4d8220376edbd7c934ba6185fef

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9e071f97f57cd11fbf11b34cf21807498bbf8917c4bed409a22bb4d91dcea415
MD5 4b8660966b26c71f48d6e53e114f696a
BLAKE2b-256 7d19b2f07cd7e3a5d9aaebdb76fbea3758964beb8ae57c6920ae19ca389a7db3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 519ddf407b17e6e18e1aa405f9d8641ac7d2e39b1d80d7799c1c55345f51408f
MD5 88503ba40138eff7e4b0d99a6b846600
BLAKE2b-256 b7a9cf2e294445fad482ac64ddc38ef5d69a003f44e1bfba4083a59a25152d43

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8b608bc9de73b398b021129cdc2561466778053512fb434aab533728139a5e14
MD5 33b936857febbbb9471f05c089779ec2
BLAKE2b-256 64ef50e0db895c0d48d16eee5caa4bbb34c64fba72ea42196525bbc76ed5cbdd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-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.1rc10-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e73e48e14d4e53ba4a0008e87ded89206aec5ff56906bdedc5f0cb469d849510
MD5 afeeadb82ef645f0f5a7d96bbdb8a98d
BLAKE2b-256 c40e1da8953485569bc93ce103c0e12fda08646cce56944db4d47e873bd15e1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f03112cf8399481b17c755fee44b8b718a522d76ccdbcb10b2089636408fe45b
MD5 98344a6d091e98c4620fba734ec5ea78
BLAKE2b-256 adfe201444dec84522fb3caa4d430c1fb33e22728ff6ffd9bc24b43744aeb4b7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fb63c2a360ecb8d6a983b3503af3fba4d319c023a19dee5a3b4762f25f7edf34
MD5 bc190c9befe15a1eb880c377d9552eaf
BLAKE2b-256 c17195b3c7316e39501059217572c0ca1ef2a6c954f9c28942ba5331a174998f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a0fe6388a1a89ef236ed85cf78f864606c18db512de67f65a43846cbabb99d19
MD5 a2958b9e42e43113763f02267d4bac2b
BLAKE2b-256 2bed2807b315f73f9b8266593c67be2fecedf0d6d459e32b5da2f7d9926ca822

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2e4ec2f57754fc4eed585bec599377ed8d08d294533317ca2f73c1da9a6635bd
MD5 0c7f5e8d3f8e5ea8c6d8818599330024
BLAKE2b-256 0a2e364d6ff90a2a3122bb7ffcb263f05bc3f646da4e3d8f355feb01ba619a93

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3bce464476aa57422fac73b895c7154fa5ba6324cfeb89d3aa423851f0057409
MD5 7806807d7807755fc7427d326d48a3fa
BLAKE2b-256 f38978adb4a766fd63633ef84010ab2a7ddbf74cfd2da462453272c4a739565a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-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.1rc10-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 41b42e885c3ee290496c9699428eb0ad02933c4557597c740174cb9da2b8eb1a
MD5 f4960be6a0ad29620c1afda2a6f5961f
BLAKE2b-256 d7066d5ba31e33e13bbfd4a1d58ac07255b9e04950395a0f9459ad7fa6bfe5df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0eb9f964b9d1a6e2656bb4d91ad661563ecc7b45697da4b5a86b6fc707c82c59
MD5 2fa611b5fc8eb1ae896594fac27eed36
BLAKE2b-256 f09292fafa05def690eeb3fd8c47754acf110f0b0469911621162782a5f01cdd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f20b8a70867b97cae67baa1b1d1014dedd20b2cd2fcb4e7e70d57593d4317eff
MD5 53f16e494ced80164b6880bf029e3c01
BLAKE2b-256 ceeafdb222fb51ff9fea006d74bc8c867af54d612eea2b8cf67113ffa67bd006

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 69d59e392791ff724b711cc6f6c5e1fb6d07a4a9d1d9be07f74aaf046b87500e
MD5 4ac17f512dc7f8990631ebc93917b1f2
BLAKE2b-256 ee5bb2f7c296c1f28cf20dea2754184c16539e880709ffdb58d99545b32cf057

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d4cb819a0fb71386c324788e526c6b3b3965598d18d7565917201c8eaa72780a
MD5 6d42239d7ea70ef2418bb902caa1a5eb
BLAKE2b-256 83ecfa40aeb3a481ddc4a8f47eba964d8eb2ae99cf4df1aada5cd708c333fc4e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bf8825673a6c09e6d1528ae0f406d829291d9e1ad08d0497ca0e66fc8a09198a
MD5 0c267bf51ffbe7df3c23cccdbdd1f211
BLAKE2b-256 b7b1de825e3d676f99f810414752be22d5198a7c1716d4be315f77cc64e18332

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-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.1rc10-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 95ac8df7f0b3a035c8e153b709401fc1febbdaa3f690ab59b09eaad8d2500a00
MD5 259861bf0a8f34adaa8ecf004cb0ffa5
BLAKE2b-256 25c55fe50f510dbf243ab7ff05336dfa8312e439017c32f8d0f982b495ef97e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 eb25fa5e62b3872c8dcd08f8dc9866f5c2524fce13ab95ea0e0615f543327ee7
MD5 da17b17c2a72989c67a5cceb876c9bd2
BLAKE2b-256 cf925cdf56d1184405918782f144e5e8269990624c71a68106e0978068092eb3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 72baf099cdc992ec908face1f767b0b28317b057612d3b31eded34e686a060ce
MD5 d00d33dda3b02707ab841215410f9c98
BLAKE2b-256 d73ec50b4f745bd35f9f3bbb51fda96683477f9b2389f4155f4ce0bb0ac27cc0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc10-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc10-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e49f009dab8f586dd1b4becc5fdaec6b08fe02509c747bbaf0bd32940d6079e4
MD5 dba9b44603de947b7ddacd340c12fead
BLAKE2b-256 296e0ef0a7a0ab31d15eef3b09cba273c4186a6058deae00dd905df26fd8e3fe

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