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.8.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.8-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.8-cp312-cp312-musllinux_1_2_i686.whl (30.2 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_glucose-10.5.8-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.8-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.8-cp312-cp312-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.5.8-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.8-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.8-cp311-cp311-musllinux_1_2_i686.whl (29.7 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

passagemath_glucose-10.5.8-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.8-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.8-cp311-cp311-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.5.8-cp311-cp311-macosx_13_0_x86_64.whl (186.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.5.8-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.8-cp310-cp310-musllinux_1_2_i686.whl (28.9 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

passagemath_glucose-10.5.8-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.8-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.8-cp310-cp310-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.5.8-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.8-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.8-cp39-cp39-musllinux_1_2_i686.whl (28.7 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

passagemath_glucose-10.5.8-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.8-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.8-cp39-cp39-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.8-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.8.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.8.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.8.tar.gz
Algorithm Hash digest
SHA256 5cf47c4c3cec65f1e8b20c6cbc260f09d37e5397f3f4c342c51d4e5e66b9e164
MD5 3b162986beaf9c234ea336700924ed33
BLAKE2b-256 ab5d3311216776b0bdd4be3f5786c8e17b7ce662c076fd8e6b9422b88776ba53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7044de76a4c13002d5c4bc47926a59a21d4452f63d57f81d76b83b388f78ff2b
MD5 8ef606c1932ec5495daa2f403adffeca
BLAKE2b-256 3399d0d40f6f6a2132a4aeb6911a76040ed7c7147901e8d6c67aa0e6f2d2210d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 a4317c9d8e93214119e0498a256f2c7a266956d4defaa34e4a6a0c68a958e8ae
MD5 e27e535a93d208cb939e17b08e684bd5
BLAKE2b-256 eb0cf8d45621772a93bdf8723bcf1df6c62e7808c2b78b12f130e75433d1cf9a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.8-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.8-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6490fbfbe337589502dceecce6a63d0ec7d6a8feadb1059c6c158007bcccd811
MD5 5b73581aae0720dc340dcf8d2c22cc09
BLAKE2b-256 0e4326210b4dc24b62f300ebffe52ffe184ab86d2e09b20d029690db227df028

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.8-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.8-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b4fbfa60f91606ab3a73a6515558507e4cd3e380936ed58101be6b71a1f8995a
MD5 359da90ead410154d3cd2a04ad8307ee
BLAKE2b-256 74488f72a421edd2963a803e9be86dcf3521b3f439eebd76a05438f48eb4faf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1c7e5539384600177f1c4c6ddab3b175d0a8a496829bc77fc6a30a5020446efe
MD5 c9448eabe91ab1eb9d6894219ce5a335
BLAKE2b-256 bed9026594438c5b6690fa51133f198e3ee6648a14d0faeb80a10b925b6b9035

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3d452d60731e3da4817276ae13259b610e3e2f2c2d30c9a280c4b35f9ff7990b
MD5 6f4d3f3f6c47f6b60454695ab5ad5e39
BLAKE2b-256 ad17af8861f564ff4da4a0b3ffb89a65eb2f69e70c54aabf11fd1ee02593b54f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2399712fe19dd34c154c603e077e76d70e8d1b5173a94a0cb419d391b0f7dfdf
MD5 adbe65176af9affca4ffa870352ef719
BLAKE2b-256 5fc56e24e3215b537830aee617144a262b86686c9f5dbb884e32ae233bba8b87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 aaebafa1a7146ba5a8fd9f432b11b1fb4fa27a04f6f8d9f8a3f60874a76dbbad
MD5 20d0ac983fef6db6df4bda52c4927c61
BLAKE2b-256 c2601d92d8bd329ef8e288e90c6beac1e1fae73b2968b108b92b89c7b24aa915

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.8-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.8-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 447aca2c5149b74266c727100ccebe39b424962b1278ccec9576aa21e035956b
MD5 f3f3c84dd89f49605a462d753b32c111
BLAKE2b-256 7fa8f0b39be182c84d4834f40cb0807f49f3df613168ffcc5414ae770f1b7e00

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.8-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.8-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 fdab75dc3229626067130f3874462b77c00e6d572f3d2e097a113eaa0b635e19
MD5 66618432c045c501d2bffa7dcb14906b
BLAKE2b-256 d272d64abdeb16ed21c12bb52d21d36d760264a298456f51bf0f72822ebcbe84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 af54574c914378593cbda1dcd390e132e2a894a1890659733162843506859789
MD5 880609dea93e998850687f61b5fa88fd
BLAKE2b-256 7c1eb95f52890b95601fa949bf2342bd1794fdc3f2ee932a62046a6a6927dc83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 91f84cfec8c4319795f82a09f5b584fefd2dd9219cde880cbc44745b12728c19
MD5 39ebc56b3de1c4e63ab1ccd866975ac9
BLAKE2b-256 5e2990cf366b81603da0a90394a48c75e7ce8a9ed934707513de57f1ec90658c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fa42e9168459f33077f2f6e3aa8a24abfcd213f5c88db90122ebdcf6bd08e4f1
MD5 81c979cd31bc93e7fb1ec3a806a3a612
BLAKE2b-256 1d356decc29b7a5fdbe00a09b3940c06a19e25d85479303e34db08eeba465590

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 27426979c3555893628b3d907634438acde3a15a750b13ac0d6cc633276a7bc5
MD5 b172d7b5b11814f71bb4c896524fa975
BLAKE2b-256 9743e8be284018a6083dd849b1272ed285ba69ac493e1568118329f87a2d54d8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.8-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.8-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b3c74c2b236cb018d826674b4a69f228975722dd21cfafa61015e582b4177a35
MD5 d79b6391f388537862f31b2859ed96bd
BLAKE2b-256 bea9f36dd3cfc562d08075cea5f1af2fac20899a02f7de74e3e39bfcda4c9bb3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.8-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.8-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 5108d3a3f02e68ad8c0a41aceeb2f8248e5f194a6224f739a9817974eaad9658
MD5 41d9d2c4a97240fd6bbb7bdfae71e4ef
BLAKE2b-256 2bc942dc6908a89a4eeae25a7790303f388006e8966e4af95c8dbb87827d589c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 36d1b9d584dab70b19b3b8d57c5743919cf755e554f47bea2e761eb3ffca2a03
MD5 55206e59c15b0a7110434df14175520e
BLAKE2b-256 f180174c6ab2f6852a655e616f71f21b673530f94d18ccd5247805039952c88d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4adc2132726929440af6c602850c3564ab548f8e595a5c3f0a8a1d1b29521dd6
MD5 99fd481f9b7c03a57a2b863f98c9e44d
BLAKE2b-256 a1ac1aef05235b8a1e5c5ff394067eca9d82a0c140c1361b8b2eaf54344f6744

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f7a95599f6f55d8b5c4cf39fb59b0966c0f992f415ed6f24cf73a4ed7b240c18
MD5 3458d77608fdb96387c4beb2dbb023f2
BLAKE2b-256 28b2fe3eeea851a3ba601581ddd803f3a79d6768206d35d90dbcef0a8eb3b183

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 4b3cfbea7c2b8452b5b8fc33a77baa91f8f6150d861a1b5e00f77a5a05c0a417
MD5 74b8a9bf3ba31faad048bf5b3c35a917
BLAKE2b-256 8d5bb2090c13b29baf8d575b90c926a2e4800960f94abf8c90707c5196521a5a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.8-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.8-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5b9ee962b0d0dea6471ea8d7b52023f7e9337f5876bb065b94a13a951ef0cd72
MD5 2a99a833fe235fc7c7caa4202563030c
BLAKE2b-256 112983e585fec03e7f42601b637c3c72690fdf8154ef1b354285a32d24cd314e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.8-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.8-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 55e52ecb1fd8849a18a6ea009138e5e5c7bb2a8b968419fef9d8473c1eaa995b
MD5 84394bee5b709899d2c7811006a96bb2
BLAKE2b-256 e1e1708ef9dd85bdc1dc5ff7d59c72b0c3f47f6aa40dc2995b2d846d1df14df3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d5568805eeda20083cbade2fa9aef28d36ce0e7f3894ddc9febdf648a94156ba
MD5 f4c93c7a2013a14c3ad1775417f0c7fc
BLAKE2b-256 54b73d72d9a63544575a6c19eb6ddbacb0b09bf1cfbf9eaf3e6f7e7fcbc24b25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.8-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b680c4d36773e3c11dc8669495d79bbd97eb7dba3168e1ba8006e95c27d4b611
MD5 87bd9d5126cac506e5889b22fd8d36ff
BLAKE2b-256 ea4cefd82faaeae3fc77ab9d32b2e624be25476ff9fe4988fe14fc8a51d7a9e3

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