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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.5.5-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.5-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.5-cp311-cp311-musllinux_1_2_i686.whl (29.8 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.5-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.5.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.5.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.5.tar.gz
Algorithm Hash digest
SHA256 6fb6c57c4155055ee20e7dda498e13da979f29e493c35ac526717cf0a49853e8
MD5 5b912e0b946075ff268dcaf8b07b44e0
BLAKE2b-256 8743cb90d4c10786cd9430196adf709e152625739e60a0489c5e06312a055c8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a152aca557b55e6ce65f8ac02b803e48acd3e492251fc2079f2dcc8c19acae86
MD5 444de9c6dbb9c886d5860d4a73c904de
BLAKE2b-256 be09f6480045ee9c19044ff910658f05b8636288c87b2038eadc96cdb3e601c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 aaede7906b6d64104a7098cef294cbcd2d4d0eef15265345a856aed3eca32b5b
MD5 7f4581b40d61d49b7af062fbb2b20900
BLAKE2b-256 2465b7327c7414104b773bfb809fa11b0334e4a9ca984f9fd87b55cf8d2df62e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.5-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.5-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5aa682212bd514fa767da9b53280f06c19fc5e9510f24fb936bb3178faa608a5
MD5 d18e55b819e31720d6c28165e30f91a0
BLAKE2b-256 c4d5259a075aa21cb36cdd8af295d3a785f77db6075ecc09b0be89b7208c8538

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.5-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.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9200f73cfec3638b0e7a86dae94eac660cec042415a83bf3778c181febcf0cca
MD5 22ba49f319904df19eba5063c030e40b
BLAKE2b-256 1561bbe639f2a324794effb853582336af4c6adc77d65f0a6e8f47b4eaccc757

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8d3bfc821c660760841611f54daeb389a57bba2fb5ca8fa40fe534d60b19cd55
MD5 e3eeeb71d35425064fd5b35421d2a181
BLAKE2b-256 9b096b5fff048b3b5ab1a9620f824ef4db3e49d91f5c5c46de4766fd5bb34116

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5418872e1ccf037a598cddc375c70d75fd1e1472bdd0f94e7d9ebd3e5cce42e6
MD5 39db968fb215e0c3518be957ad05e5e6
BLAKE2b-256 4d5c11b2b896174a7e403c93e060d665bfe9cc37c7c9d95861a234ec6e2f7587

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4a2cfbdeac7f7e45731327c6a1859ea196b86c86863ef94c9bdb8fc3dc984c07
MD5 f566c0ab7f4d74b3eb54e646f26ee31d
BLAKE2b-256 ea07c58307fee06dd703c4b41b1f88ec4ef5b96562d8f936d43701e7a6a733d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 11c99073e592f631ae47760587eb39cc1902de1af29813f27f9bd139c80526eb
MD5 81667fb09cd8be540dc6def72fb09ce8
BLAKE2b-256 f23225d9e4d643eea204d974b04c6a1b125ef255aff3c91aa5499d5415e51f5a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.5-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.5-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d9ddda8a335daa030b10196ea6e97deda2a76ca2c530a4a61454040d0009a432
MD5 4690ad1a8cbcb17e43568196f606d1bc
BLAKE2b-256 54cc0f83f112dd562b4ed7b5ec69fbe87dd585f6b2a91998bb9231ba6272ce66

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.5-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.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 d49d859c0f62443e41bd649fc6184da8041a87b6f0566d77ce6eca40d4d72913
MD5 b3b308d43529e1772cd1660c6dff053d
BLAKE2b-256 2aa791dea1aaf2c8d9d68ba5797d9c7318b8c69be5fa1019ce85478780c44e3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9cf4f7bf6a01dd60c6fcc1ec1f817baec3b74d3db4dc71f8dedea4856ae2cd82
MD5 51cd747d01886222c9d116698a3cd75c
BLAKE2b-256 9c320d0403892b38c72c689b7fd01cdb2c45f5d98b59dc572dade47813dd4ed2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2ae91ad7b9e440752f7bf617c7184860127e7cc1b21b6c26e9fcd0ea0d6ad292
MD5 da6fb28c3fb3f07e479d9b829dbbf17d
BLAKE2b-256 532d3987fc66b7d74997a5d6b9d255bb18e303d36eaac82a436bdf563f31df4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0f27a2026a6c9796ac428593e933410202252ecfa1ffaaf9e5f439a71e2a079a
MD5 06e6da434e606d950d3b0507d7990109
BLAKE2b-256 9c288e4df541ea9313b0081f539f1bcaf97d473c2ba76aa62ad5fb72759f4f16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 662ef2c9b8b9694a239c047afb5a1a9871080715bddb03aeb69022afcd955a08
MD5 dd62aaf3f85037457c90811d9095c819
BLAKE2b-256 7b546348bafe78ccce1c22c7448186a33c1a9a9eb4cda83cdca6b081bdce60c8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.5-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.5-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a6cbdaa910509f030eda5bb3dff352692ffc229a6a775087f67d1b14c1724740
MD5 ccd24e6aa47420959d95229b3725db82
BLAKE2b-256 49fc51a0bc589a23e16636fa41a16d427c05c29d165865a12bfc18e1802d5256

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.5-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.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7e9398ae5c40d3fa479f5058c49127ea0beed88071534de88e55b9fe8bfc8020
MD5 2ed29b99670388a52d8a734b4ecb5f5a
BLAKE2b-256 e3c65b6e53e52ad3679b92770bd0ac2bb17e91b9fc5c3f45f0ae3cb358e9766f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a08cc4ed4a30bb0b79de2f1593f8dce7d36f4c669ac9eed656ca9f4afac0e848
MD5 2c64512d16462ce39e9883427c68ba65
BLAKE2b-256 2f99a3599595339cd60c5471af4992d961178f1264fca6a0870c1b31f3d68195

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b255c58c846f72f92ce5a1d0dfdb11ca4cfdc20e3dc4e87102880979e7d9fc5b
MD5 6d1a5dcc8a9895512c12e8dbcfa9b684
BLAKE2b-256 40f98aab53a19e2a402dff4d3f8203cc055e064a3ba8a95012be2e09adcc1c4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8445a9b181288af1e685a6f874884dfaba2e5d69b3a7cd77480a1a2c64ea2012
MD5 840f82a21d452d3c752355d50bd23d9c
BLAKE2b-256 1e55111e660f672dfb6db0d691a76f655934b60be953a81fd76b1ba28fc502ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 656b25c1dfd3341adbd23bc6071434bbda28fac82983e9f564d610ae85865eb4
MD5 6d6e0ba4b795d76358c5c5532a2fb062
BLAKE2b-256 0e5c20be96352d748f7449451f98c6c159e5a7403ba2236e2fc3126b2b83057b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.5-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.5-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3ac9e177555be3d46005eb96d47f6af35a9b92f0034e64fa7729ae2d9e41e4fc
MD5 0c4b2c6ad1d724ea1983b8b2f21c7345
BLAKE2b-256 c5f4a4478049b57164048816bf6f7f58e4481fb78fd72ee73163e2896f0fb07a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.5-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.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2294cacc3cb27056f540a2af29319b654e15f61fb398eefe60152af7ad1f26c9
MD5 936054e8526764748c556c8514cab10e
BLAKE2b-256 1829d61d8d9d48145f353df5c9b8e90cd8799b8b601a09a2f1df7150377c49f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6e8e459def555e70c7c360d0802e821e133eac66b0a258bfc046d813d6478249
MD5 1decb36da707b2ea0f98653531f81bf3
BLAKE2b-256 6b32e319e26cb43b845a3763778d964334dac4073e52c4fdf9e5f81323ac281b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.5-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 19537c113f358bc481af3d76c9f046edfa649cce1b84b3af7cac17b8bd65e8f7
MD5 3c81a3fd4bf5d886ea03ae59d831e318
BLAKE2b-256 73baee65a05c12448ac6d6225cc8eca1d459003a63f69c317200f44134389575

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