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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.14-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.14.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.14.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.14.tar.gz
Algorithm Hash digest
SHA256 6ab0b58365230ab0cdc37bd38c8c6d776a1d67ca88a968e61f86c2273d9f6c4d
MD5 a87b27bee9e7f5636e079ae00ca5856c
BLAKE2b-256 fd69371cadc5d819cb9a021e97b28e00641c44fef009f4d0dd79c4ec86e547de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 31115351a491a824ff66187d5a0c57b09ae9450f6613c7d91f6b3f74d5f7696d
MD5 589be8781dfb162eb31aa5382c9f352e
BLAKE2b-256 463da3649560d810f241e1400c0c68acd1bf1e15e371d69b74d9cd074a1dbe80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d8aba90c3be00120b1dee712c6822e2e14213a7fadb764b708df155f8c498898
MD5 db74d97fee509381dc6be82626501d0f
BLAKE2b-256 df49854428d1d9189be5f90f743b6c8fb1bd39247bd1aaf182aabb206a7df57d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.14-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.14-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3954bb8482f3089c76b0be97f8a49d8589f78f4b1beff26fd34f22273fdc774a
MD5 6b04da87b646a6034f695b416e293ca8
BLAKE2b-256 871a8090de33486c17d4c311da4f4232eea0c4774cb26759d66104863bdb847a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.14-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.14-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 cc1c0d80d69b2c17cbb8abd8fc80990f2fabe5c0607bf44c942a6755c5fae141
MD5 985aad8cb8f1ba14931c7ae0c51f58e1
BLAKE2b-256 0e969c33a8348456c9d96a55f004acafe87ec97acce9d7ba918918b85de876bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 683588dad95bacd51bfcd892532c90eaa328c4900dee9052cbf8f2c09e6b3635
MD5 5a93bebcdf14ea0634460861371b37f5
BLAKE2b-256 47178ad71616c38fcd98ecf68e2511577edac0e9cc77a257d736ae7359051a0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 51d96028fe46864361dea5cc89a4e82e84339e81acb5e092c36bce0f92c75091
MD5 d3f8fee9824a8cea0ab3ec5fcf3a33e1
BLAKE2b-256 4494c96a548bd4bf9d940f7789bc41e399475fe8ddcae60a0031c3587d9d06fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 443c4a9e148731acb0b8b22c83168eaa9ba22b03ea2acfcb23e9cdce72c891c7
MD5 f6700631422fd5b435f12f634b976522
BLAKE2b-256 790952d18d418c4064659bf134546f202444991b9d0fb3574de6703e0ae0695e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 285d0530fd34d99562fcb705618deda0104b8040cdc95e49f2962f91db37d18e
MD5 71af830271c4a058c289b984ffa4dff6
BLAKE2b-256 108c9220027f4f4d1d2b9bb7d9a407afd383414fd6267eca267e796b1f0ec342

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.14-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.14-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 82d80ebd103a2e4e55cc3e4b5cc1d6cf29a95c066f3597bd6c4595f78d707ae2
MD5 38ff3a0784bb85bb7a7f327c05303c92
BLAKE2b-256 7ec6d7afe0fb4ff18499b98ba4b36a1e3e79d58d493856ba904bd91e5056b1db

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.14-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.14-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 1149ff3483b67743d29f7ef838f9493a065fc8d2665f80ce0989dc98823922ce
MD5 87218c5adac55ef2a23a1ae2f13d6a99
BLAKE2b-256 64e35a0ca26757e1db3c8a7eda4ee3c3ab0a37cca8b47869ef24d2caf7b05c31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4979be111774eec7dd29e60193edbd786fdb2e93825004e4af500ab156dfb618
MD5 2b0cfaca59ba436900ec9b5ad5c38b73
BLAKE2b-256 f7a0e8721246a116dcd5691ce3b3ae687b7badb97c0851832644522a37533d98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 59b0e3ae7b32cf841b8d68745878e1c6e80471605ad13b7d5adb5adbfee04df0
MD5 23c69713d6257da9460a541187ae1a2f
BLAKE2b-256 70b81d09ce21186a6f81eaba5c278d07e8a0637d9510a6e166b40f9d421d4e96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 64d2370584b6aa6a58ed9dd829ee526ed592f83462f7515785853e03eafaae3a
MD5 02a2d2ec5db7ec8e038818ee7410f6d0
BLAKE2b-256 2b376e50367e5f929ed3b3135fb21b1de21196091eb58cbc029eac5d83fe1952

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 11447526fd9fd98f50e0e452c2f26664fd029f7ad9979cd3ccab5a727415f46c
MD5 d4b4c8c27de93d23b9a08f75eedae341
BLAKE2b-256 11c7802f354514a136dcacafc0180daf2b897301b87f62330f7679b67ad16faa

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.14-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.14-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8c20db1a47746d8c55c8ea3c579eb0232f12d91712fc2186adb2b4bf507d2eee
MD5 c9bf839a2d33597c0bebc7b22c167fe2
BLAKE2b-256 1ef59bd86a6c64644d74b326d55aa835ebd8a6c0f9bbae9a144729f4b8933fb9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.14-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.14-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 0821c17359ed00332cdb9d5c4bc10968a55a1ef0a8f62b0438fed2707f8fab05
MD5 a92c5d11e559572bf8beac856367f09f
BLAKE2b-256 0512378f1d8a17d306bae2c6705946c3b55b565aefb5af68745623719dabc8ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cb2f74e00e2da7f3db1751a80cda3d1cc3909e5adb23c637d853f0c24a3219f3
MD5 28454ba0cd2309cfa4cb972b18ce782f
BLAKE2b-256 0147de3f57a851b5f674e0e287283d18469c47d9d3567103b540f60b10fea0ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 478ca55007d8abacdb24d4814eefc25f8f5c77d76ad24c29ed67dc76675e4b8f
MD5 57e401543bf2806d858cc71981284fce
BLAKE2b-256 0499608c1d6c598acaa661c0bde716d321fb9bb9fd8a9f8718e4456f92ebeeb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9112805f976e16066aa1dc0b5f3986c91eadd83d7f2a62c394d634217c8f2390
MD5 137331b18fbb7e0ec20310b9986143f3
BLAKE2b-256 92082f33b292eeef892e8bc9edb52e49b4a56de85eaf0d4d2817aaf13bbc37aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 3c441a684618e453bffc98ad5787a2d5af2027c58fbaadb84e702e60e5a84878
MD5 998fb04e39a853394b3fbfd7e2246b77
BLAKE2b-256 13cb23db03aa69fa8d097092dc68bbb2be8981622c3307371c0f65007029f166

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.14-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.14-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 104b6f31657acff43040ca0c3ed8b2a6cc2163fceba1819004502f8900837939
MD5 0c2566260c6d855e2703b4029c0b1858
BLAKE2b-256 3e4777ce34e46acf74c170746ea7a053352b949da86fb86b19e49161f9db97f3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.14-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.14-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ee6d7568a290a01875eba8c3018db68a2852ed3124ae12b2be0d2bf1e552c450
MD5 01b402eb9143189c6001eeb6586ada1f
BLAKE2b-256 40414cdcabaff90e494a903184af30019998a090652d25b340f75751cf99d730

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a0c3f0dbe824ce382ae2802edf17d39a25012ad88dde74bef3ccf20ab0a59536
MD5 070795359c74824e097409973a24b166
BLAKE2b-256 cc9a93adf1ecc1d07566ab1e9c6f497da4c7a1e89be008028180d0155023e995

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.14-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 679419843b220e1f827672189ed853c76d1a6dd0eb60a8929171e386e73a5b46
MD5 e26698265022a3d789f0ef8c4ba6df42
BLAKE2b-256 099402d793fe75450f4cb6fd43e955936e8921a8aca4889dd4f8f2c581f05ede

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