Skip to main content

passagemath: Interface to the SAT solver glucose

Project description

About SageMath

“Creating a Viable Open Source Alternative to

Magma, Maple, Mathematica, and MATLAB”

Copyright (C) 2005-2024 The Sage Development Team

https://www.sagemath.org

SageMath fully supports all major Linux distributions, recent versions of macOS, and Windows (Windows Subsystem for Linux).

See https://doc.sagemath.org/html/en/installation/index.html for general installation instructions.

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.5.21.tar.gz (3.6 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.5.21-cp313-cp313-musllinux_1_2_x86_64.whl (26.2 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.21-cp313-cp313-musllinux_1_2_i686.whl (25.7 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

passagemath_glucose-10.5.21-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.21-cp313-cp313-macosx_14_0_arm64.whl (175.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.5.21-cp313-cp313-macosx_13_0_x86_64.whl (185.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.5.21-cp312-cp312-musllinux_1_2_x86_64.whl (30.1 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.21-cp312-cp312-musllinux_1_2_i686.whl (30.3 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_glucose-10.5.21-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.21-cp312-cp312-macosx_14_0_arm64.whl (175.8 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.5.21-cp312-cp312-macosx_13_0_x86_64.whl (186.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_glucose-10.5.21-cp311-cp311-musllinux_1_2_x86_64.whl (30.1 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.21-cp311-cp311-musllinux_1_2_i686.whl (29.9 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

passagemath_glucose-10.5.21-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.21-cp311-cp311-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.5.21-cp311-cp311-macosx_13_0_x86_64.whl (186.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.5.21-cp310-cp310-musllinux_1_2_x86_64.whl (29.2 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.21-cp310-cp310-musllinux_1_2_i686.whl (29.0 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

passagemath_glucose-10.5.21-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.21-cp310-cp310-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.5.21-cp310-cp310-macosx_13_0_x86_64.whl (186.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.5.21-cp39-cp39-musllinux_1_2_x86_64.whl (29.0 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.21-cp39-cp39-musllinux_1_2_i686.whl (28.8 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

passagemath_glucose-10.5.21-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.21-cp39-cp39-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.21-cp39-cp39-macosx_13_0_x86_64.whl (186.8 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.5.21.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for passagemath_glucose-10.5.21.tar.gz
Algorithm Hash digest
SHA256 09374997ce1b472e337b65436795dfa75198e716f6d665025bfc7fd06a977870
MD5 50287e2d1bd2ee8347491c21c79e88fe
BLAKE2b-256 51d2d09b430e41cab827446405b653493b419a0819a9fd08dafcb318bf8cc016

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e93c2d6b1f34513321ace5f3833f4e53978dcc6d59d33ec59b97dbd58c9265bb
MD5 95f641ea4ff7cce7d14dddda3638f231
BLAKE2b-256 27f4bc1b32fbd4b4f7eb6375f30d6336085a024a48bd85ef7a84df1db60ab4ce

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.21-cp313-cp313-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 ea8e2ebebd72cbe914f21ca314e17b73ac467c4a3033a0180b8d28bdab4e6522
MD5 eb2578278da5d5f27875934b3fb3dbd3
BLAKE2b-256 8e8188ca36037c30480eb2fd5a41d8d5253662a413d2c1bcb540b377039a845c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7795978f3dd08e2a80fcc4fabb863e0be850abcf632d2def286d9733575ae8b9
MD5 792aa2ee259c19fdff626d1bfbe45d79
BLAKE2b-256 9c72c5a094c596f991d2396e6412b6494512c95f7e8f1a94108e7514b9f9aeb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c715ed5e532091cba03b148a4174060056d573fd55cb2fe89c3d3ec018d2ea9e
MD5 39fc705d93dc6cfe52b4f1eef8fd6e6f
BLAKE2b-256 e3436c254095879b7f992364576871ac0e1a45288a1545cef9f79f657aab6617

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 26dbf60340f18f308f00046d2660510d3ab11b816400b76a42b31ffed821241b
MD5 32faf6eb04e824d0b5d68bf310179852
BLAKE2b-256 f2a27dd6710bb199036d29bb535592d79d477b85b0872d5b71a416aa58e4a8d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9ac9408503e7a3542d291fbeb1939d591885555bef9ccff46a63b4393d6af57d
MD5 6b2bd2e49ae5106a55b33164dc77e553
BLAKE2b-256 50ee555d44d27d077863a216da2c52db2e9f84c9239212bf1c95a83ac358a8e7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.21-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 9fe7375a488d300c7f29e4ebda1ad056d46d064047e179f627998781afdafd19
MD5 935928ed12dbcff7e343716097963adf
BLAKE2b-256 46d58ce0dac434ac527df25178fa63f1ec1a97813aa9654d434305cdbbdfab5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a338fe05f2bfcb92f7448708cf38684dc8776a2f51598eb703d20f18db3b3f47
MD5 b952168de6506440fbfea927c2578995
BLAKE2b-256 9da23b9723835d65a8657e991a6f716dfc1f88023f35aab234ce72c8d14b89e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ade28955f4520f9cfd5c94ed6b99584d249501c4e781abe88f2bd8577f3d4238
MD5 cab04e0a3e07ac47ef6088146ddedbaa
BLAKE2b-256 08fb2a12edf4912a2463bbc9ef7db1ba867667f7a464102e2029effe755512b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2852224d13855d8667231f616b1ab9f6c0075da57aac4ad6ee42c968b943c0ea
MD5 70a8adaf7b008555d9c20ade21a72021
BLAKE2b-256 bdaf800c03a079476382a48b38f19d00cf92aec1375d41f31f2c60e1178b5299

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 671d55793b80eaff12331c5e052013a0c6b842860c641ba5a4c298a351a58794
MD5 68141c37ee1622adaab59e865f07bc8b
BLAKE2b-256 66369666573b2550150f5fc0e1e8b259274490419d5b15136c8253af84537644

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.21-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 a5baa21b3b4f79632f250956082b042990e3b4b110c2e0d8d382c5e82cec6c90
MD5 f93a3844d5282de1c7f7fc88d0d438d8
BLAKE2b-256 0e169bbd210e5f1f86dd14fb3845aeb5f0a84e5e30ef4e53ccf6e68e4032be72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 08b79fb34cbd96fb97f06d205079634de58720d61a7d318ee2a220cc262431a8
MD5 63598d40cb9e470dd369fe7ad0c65104
BLAKE2b-256 0d9813eda5fc4d245fe6a5d93d9149fa5537824f9c06ee431aa33389bc576a02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dce83efcc8ec020ba8f5a30f782d4ca465c8e9ea5653b6614027f923e8bd424a
MD5 619c0034200e5ea4c43d584093c26785
BLAKE2b-256 785ad2ad9d220ab9a710de6911b4b2f4a7ff10748e1fd0952b83b4a4fdfe3be6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 20f929a57dabca76dd425ec58643dbcd6d33cf8011a877a7c377e93a2e179e78
MD5 67e9babdb21162df1ab90d36ed33e585
BLAKE2b-256 280aafb399dfc902015b80552f9539a799f277d24dfaf58650ff2a87cf177cd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e8422cdb7536af19f04d1243b0179a5243b2b552fefebed964fb0fdec06fe96f
MD5 ec069475ac9dc142a3fef469d28c7cbe
BLAKE2b-256 5988bc20dd6d0c1c428bb314690c0824ed1365d3b4f4e73d19b168af99617802

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.21-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 bcf57d244dad68a1d39d9fd2523aa0fca2fbdfe1a2e5c62609090ea84f24a416
MD5 20d57af2c394cbc34c5dd895d01f7f9c
BLAKE2b-256 993cbd61394204c340d5ca9f3869d810f0ba2a94f0f8cd2c92f821e459a227ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7deff5990d32717e14fb04bb3c1b80ddf615fa0a651414b427f90d476692d1e5
MD5 b74403d85a98bb7ce94b8b5911d43f8d
BLAKE2b-256 71d9a6588a6f82bffb0a370d23bb75b9df815bf43f0bbcd95b38411be4ad8d92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 45e58bdbf5f72a34dda2ea882309bf59dbded0981b2b469f63b4496a19843032
MD5 263438d1ae94f66158e43a235d02f7a0
BLAKE2b-256 d009b59484f549c40e664ccc38ff2a7c533c8fc29a9486623bc2bdee5e300d14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1f0177ff0defd55587cb9b4ab152af1e3fd88e47b309ea4c2ae71317b3324ddb
MD5 6542bd90c09fc66926390fd9ed31e314
BLAKE2b-256 cedaef41b30a29effe3af0c9dfc9f7bff2181277f7e73a16fc31da7b42c88706

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.21-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e8bde6823dbd163cc69076a8f04685f221cb452f2950471fe924dbb63fbf3a68
MD5 2008f1aeb33084d18f6cef0733128eb2
BLAKE2b-256 275672af867ffa3aab547f8f6675a9dfdacc41e3365ecf38a4d9450fb2cfb9b8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.21-cp39-cp39-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 f189b8694a123fe400e29e8870ea06cc887778a2a4f41417827329a34b92f5c3
MD5 e774967156c7292f9fff921e883343a3
BLAKE2b-256 5e71ce3d76c9d39aa68159763eaafb7a1f5d47c89cd819ea860f954324b53ce8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.21-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7d5ae955260d6a73fe5812a78d82f7547c1592a0397a50fc971278c726b2d3f5
MD5 d71acb6a7f1dc0ac141e30101f23bc83
BLAKE2b-256 3adce4de73071d865d7bc92789788b95b379b7a95cb0b0299aafd102a8d49613

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.21-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2765f1a846d01dd330cfae79cddfab545a0a1c371565db429318442e44807057
MD5 f88c3562461fc52aaa4c96b78c10ab7e
BLAKE2b-256 a5b7d933a4d8ace18472a76de698fe98df0c7e0f73487d64ef92dff7238ae65d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.21-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.21-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5962f4ac050dd2ed4c164270fbf9b7c7abf1f536828002ce125be7d6f994c255
MD5 96ab34ec0e04ff2fb3dc6c1393294093
BLAKE2b-256 08d82c59a41dddceca0865ef17e15ff66a4c916b6c5556f5a58e2131a55b0c10

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