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.6.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.6-cp312-cp312-musllinux_1_2_x86_64.whl (30.0 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.6-cp312-cp312-musllinux_1_2_i686.whl (30.2 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_glucose-10.5.6-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.6-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

passagemath_glucose-10.5.6-cp312-cp312-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.5.6-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.6-cp311-cp311-musllinux_1_2_x86_64.whl (30.0 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.6-cp311-cp311-musllinux_1_2_i686.whl (29.7 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

passagemath_glucose-10.5.6-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.6-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.5.6-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.6-cp310-cp310-musllinux_1_2_x86_64.whl (29.1 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.6-cp310-cp310-musllinux_1_2_i686.whl (28.9 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

passagemath_glucose-10.5.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.6-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.5.6-cp310-cp310-macosx_13_0_x86_64.whl (186.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.5.6-cp39-cp39-musllinux_1_2_x86_64.whl (28.9 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.6-cp39-cp39-musllinux_1_2_i686.whl (28.7 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

passagemath_glucose-10.5.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

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

passagemath_glucose-10.5.6-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.6-cp39-cp39-macosx_13_0_x86_64.whl (186.7 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.5.6.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.6.tar.gz
Algorithm Hash digest
SHA256 47f4456d710303a88bab0101ecfbe4f9c148fc29be53353c93b98acaee8dbb1e
MD5 05f77423b2b2a1a77d54a5fcbf3adf91
BLAKE2b-256 9ba5bd6a829ed038952c9a7e52e503aa4bd74950d81e28d60b406044c1dcac18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6f4b4deecc8069d2b20006fa7e5af11587685ed781ffdba15fa1584220862e2d
MD5 07aab52072a6abf1bdf956e27b38b6fc
BLAKE2b-256 b51edb4dca60a44fa4ca5a781a7bd00f8e79f77ab6696bd911c48b56491bc8fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 06b49d05d9423d1d59a01dc29452d0c2762ff7f2d1648156f9e3652c83af8364
MD5 ecd9618d6fd0521b3cffd42d9cb9e2ec
BLAKE2b-256 38249583d0bd6d3dbea21ca8dfc924d785fe5d1be9b08b06bb8d10875fe9542e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.6-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b4496a0727f30b1551f4661e7cc07dc7abf53fc72a3717fc353f79b2183f24ea
MD5 0ecb26638b87f603b1374c7df4ba17eb
BLAKE2b-256 4d969da65c186e3a689a91b240ea4077410bb703a488f58a5716f4517058eac5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.6-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c1be04725a0c7a44707cad056a8f981025665ad41e86658c494d9c380a214fc7
MD5 186758cc1b2ed8492279244acb9b2473
BLAKE2b-256 69f8520d5d8bac9738ea52d6a123e0310303d64733e62df464d7088720fca630

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 066666df6f7931f1db409365269b7390202bebacb84a12b3db49f3b8a42aa075
MD5 729fc6d4617ebc6a0158d40fe88d75ca
BLAKE2b-256 dd45ead6fc90c15966890a5fdd572a5d9d2ee59a642204b29d86e04685615ff2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e898b90ab2dfed47da3a69d815ef6852d36d5d325c17e28343e9b5876438b151
MD5 a2d1e26683745833a5c8eb7b8791b748
BLAKE2b-256 8d7bbc33a0a038372a101764a32a11a7a0b85d6b0bb2dfaeef822897b76cab85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1d280f4f382587cbf377a9a7205dfacb20e5726069ab22df356856d97bcfcb9e
MD5 ef11cef6fdc51334f35efa202994baf1
BLAKE2b-256 fe44e8f3060a3f367bb0ff88b73bbd8996b9420867adca99c971ce8b95769bfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 a73b04850fe64913851113303b8549bccb3ff4979951da7f4af8e0aa64c1fb60
MD5 d45c46b1f016a2bf9af234e96fbc472c
BLAKE2b-256 5237437f91bfb385b84ce95016ee9973c90f93a683a18e5535fd50a84ca52cec

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.6-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 14348c2e4a782e51fde71f393ddcf31eadd465a2e10961f952c1ac0d47ce39d2
MD5 4ae3573160faa17560276bdc248c98c3
BLAKE2b-256 e39a9874be0d7e81dac31bf21e6f0076d46ee6958bb4738331bf0adcfb09edae

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.6-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 0f9c778d85ddce4d8c7de3a4557d15db87c0cabd7172e1c88188ca372506d987
MD5 d67318c166eb0d39d4d47696d026b581
BLAKE2b-256 3ef11abf251efb00e70c81f1c99d5b38acd4b48470fa42bccd638eb42c28353f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fd1570512759d32ca528a7c40dc8422356f2f34b01fc8d7b74b545e28d76ce4d
MD5 2c2d72003741c0b0ee967c0f444e23bf
BLAKE2b-256 8a0db39e77f5d4cc98c4843132503acb936d9f8a586b29b2581ac429ae25f743

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dbf879444722dad4e4b5132e55cb3c8f44c606593ef43f27ebb4bc49d4df464a
MD5 b2c52e831b4a749c68599a87a0dd0236
BLAKE2b-256 a1851d64a5310aa6b1a98a0c54a11e77debcdd9dab6589cd9440a267c6bb0252

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f48c339860fedd5ff540a3a1ff2e073d2a0935f49c669077ecdf0c10cecb95b7
MD5 c4e96325ea35310db5eec27cebf53d6f
BLAKE2b-256 9847c6c23bf435f153cd8085786da0e8d7b87c7446006809035b8b38ac576075

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 61a0c96d0b134a974155c635e08eac50d2a74194f552965b53fd4e68b2a1af58
MD5 fd7b5311e71ae0e6505a06ecdae2e394
BLAKE2b-256 e6a23a86586340d310c5ded1195e0f9324e26d6314086918d8fb516c922d2ca7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e7a4ddf5b99057eea9af30ba332cecf24feb47cb4a6b426f113a4205f4ed0cc3
MD5 467150958335a62128d21640c614ff72
BLAKE2b-256 527502735d9900b239edee6220476e161f37442947ab49d54db9b8308f3f038c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.6-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7d99386462013faa4d26bf7b7360924fc03c757e47dd92d64254ff4a87938ae0
MD5 bbedd7c1cf41e7388ef224338e278391
BLAKE2b-256 045b625218860b919ed1d9861d7cdf6b7cd4309d764c666767e0f22aa1408588

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9bba4c975cdc8b4afe1cd657f8a803cb0a7fe620bb73a8a52ab892d7ec17cc02
MD5 fe2d24db99ee52bd44bd4afa236bf678
BLAKE2b-256 1e763aca826c641ed9899b0810b15dead95a3ea76cb2b7fbf24efa702ed8882f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6ac177b3feead7406f631548811a8db7ae0fad0013d95727750435ef9058277f
MD5 3bf1d227b1e19062c6d49cfc08103329
BLAKE2b-256 deff1255f574ba5fa6bb9f132d8c26bbecbd315caff9c6a4281bff85ed63f92f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 359efc036c764de7129665bd41c702493d5494a414fc19c58f8d3af0a5ccdde8
MD5 c6f97f92426fe02e0117bd273d57f18c
BLAKE2b-256 13d497811f81bd514e41f2f00c3dea3d3f682bf0026ec8660345a7303b350c2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 6bdcd80f6d0dde4ac2215cf4834fd5c12234796a7405d4adbf09dd1d32ab74c5
MD5 3ddeae9bd1ee2beaba1ee28b1b55e721
BLAKE2b-256 802feacd9e013fed4ba994845f4530af55e995ac33b88c21b828c51caa385dbd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3aab277a80149fce13b01c081a9ba7068c28456337408d36ebab6083470ca37d
MD5 42ab361025a54775e4896a2b502eb3f8
BLAKE2b-256 817c734af746c09b87406ae2982e1e6a26f06955de7226c981880f9032456a85

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.6-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 253b8c988e77bd090b013dff15df9ec531fdbf0455a2bfadbc805e973413fe2f
MD5 fc39e560a570d342cf381b75c9505de2
BLAKE2b-256 5d126e812b58289eeb0c5c6a7ff9d0586c1113a741e638294a0c5860b55e9c15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8ba33593a9b6590d1a0e983df7648f7be35d68da611cf6edf5d353540977c543
MD5 daa7d5ff0e31286de7c4bade5122b79f
BLAKE2b-256 00b5fdae273f30dc2e15f4eb9c2ff777f0f93807776b35691ecbcedb360eaedf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.6-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 388b1527b2517d77b8055a4f4d7b611b7b085378572a7d67f87c61f4c20fb094
MD5 2132760bad72043503ffa1c18a1f0405
BLAKE2b-256 5a1f707c08f3a31cbb1c2436c3c60fb4d21aab78055f0fadcda2cf6103ee0c37

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