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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.18-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.18.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.18.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.18.tar.gz
Algorithm Hash digest
SHA256 4784dffb64ed52eb8d2c098ce7356358b07ce566167cc033b7886dfbeb802842
MD5 d3ba0e75141b6c70e5d29eadb8a646bf
BLAKE2b-256 71c73901bd97e31440ec7bd34ccb867d8ce7c29053545bb8155e765acfb481a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1ee2071ab97b1b294e5c637a794d9a69b26dfd3a5a1023c2ef981f7d300bddaf
MD5 3655aa824c2e26189ccecae097e7127c
BLAKE2b-256 9b4b97f5d815efa8b28d7b0dc1d7547fdf4ea22fae7be5be8f32864d6cda2f86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 398cb03b1134742f2dd665a9c2fefcbdd85f835288ae6ccb650647820c555f95
MD5 2f89f55cf948ff86a25332f8f826e6a5
BLAKE2b-256 b712d7b3cce7b6c3b928f92b85f4594d07c1e7309c6313c32689c74ef0275182

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.18-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.18-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eb9c5fb8e683f7d64051d79bbf49f92c2f575e50f0497c17a9fd32ea9180a534
MD5 fce4ebb05971adeb2b7f0fabacc94a39
BLAKE2b-256 a0bb8b49585b5c2e88607b7af80b31c94f71c4d7fecf6d9df82701f70af1e319

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.18-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.18-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4eae02f6f5c616e66f7ec99e80731d039230e73bd2ab476aca2edb0abec62e04
MD5 84079d40974a066541b8ca2b04ad90c9
BLAKE2b-256 723087a73fcd494895a30450a1a5aaf446e1c73357edd4587ed559338322d32c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b192fc4b66946c71a96173891001e794848d72d936c00df96ebb872a511d43e5
MD5 96515d276b5aeff548c5dddbedab74ee
BLAKE2b-256 e6044e850258d4891ffd2533854f5f45a6583a0d8d3cab5c7e800599e1f2210a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5615904cac7aa6cb81453e03d210f23deba3dd48255e89380ec58d2349469195
MD5 ec268e78aa5807dd35b715526b6d87b8
BLAKE2b-256 835cb45b91eb6e26d880e4210b0f1afe01f01e763e8e4e52d787836d6e3bfea6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 74f91770d3c5eb451b6eb360c9d5f204252728301188a72e0bec8fa9299925a7
MD5 c56faac1bc499495bd22ed1e900b570f
BLAKE2b-256 2561220670fefd1df5622e97a6ccf244493c2bdcabe43866080f878504519577

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 5f526bcd7dec1cf963afdf4ca92e9f3b035ee88c78e4180a27eb7b1848c4fe51
MD5 b46b2dac2834e7cf988b46fae3a1d2e4
BLAKE2b-256 40c3fd8394b2d4de02cbc5f27fec08808659771b20d7d9f33ba94c4c30750253

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.18-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.18-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d69f201394297e62e75ed53651dc7226b5f8dc90e86ec2a907e8299c9a22491e
MD5 fdf0f63dbaf686d5e93530457b6d4f1c
BLAKE2b-256 36f2c401ce5ad85e44f7c85ecaefbd8081df29557c9a93c77c489766293c890b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.18-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.18-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 051bad4bd1ef2a11fa6f47b517fc0d79cd2826c34ac35796283276720b90b2a0
MD5 79d2cd07bacf25c99732eaa3083b3533
BLAKE2b-256 64363cdae0cccbdd3f93ae5b49b57b7b86c2a60b1d5f4802ce71e990ad70425b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 92d778fb59e699d0115bfa1c6d7adcf1d68058fa735e1fb8443fd3bbeb4ca064
MD5 9ccb0e66bbc6155c05b07a720d803f90
BLAKE2b-256 ad08d1283139db5667ba360c6668915c4b0a819461139511d89a8a7a212b67d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 883fdf0b5f0348172239c96350c60331819a1186dcdbebef1faffa407b2229a1
MD5 750a3c0abc5ed4d5d3044198432dbb5c
BLAKE2b-256 f9d952f8dba9c75dcb66fdf6c9c6cc256bd5095b616f6f9ec9d2d0e1834750e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e39f50a16f0bd3cb05cffa1ab923f0067b568bf040da63e5cd4890f835810ec4
MD5 ae5cde7ad9b6983a932ffe9fc34c3b39
BLAKE2b-256 5e8d2d7a8947aa6c82f9a2abb4f3a79bae703fd36c84db0810f1fd431a9cdb84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 286b0e36470eabd6fe7501c6f94e4e1c1557045bdd9e29b6f247f641644c6a14
MD5 26879beb1da9bed8452fdcbd9f22e970
BLAKE2b-256 8065bfdbd24f7e96a131658acee7a7d4d00d32000b455daa16eb3deeb26cdb34

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.18-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.18-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 579f112594bd7be540e42275e7e4c8fae9f3ee43f00b804e18209661491952f8
MD5 a60017f5324d52874f4c3e2cbb34bf36
BLAKE2b-256 e19541d5c94632eed03d4ba7602c700881d7ce487773c94275c76293769e0a76

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.18-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.18-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 75770edb6eb939546ce2cce8d56126597c15de7954d63fac6728eb850f463186
MD5 47d9d929cb276a0768b470f4b00c8b20
BLAKE2b-256 c59991a7bba7b53e64d87468ce6327ad8637b70876069b92b32200a55ff7f18a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f40fdc7df95cf011d3a456db69baf8a615a7280674d1d30054c9b641fa118b61
MD5 58bcf4689e7524cb6bd63c9649b010d8
BLAKE2b-256 df698cd0c49a134edceb06945981e61f78dfd163398bd7fef8fde10314942bae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ff6960acba715950c798e264d376db9a3f24713dd1808e7c99f76805dce943be
MD5 5dc350b9ee647e62a689fe40f3968bb0
BLAKE2b-256 bce7b79094014e0e03429b56a6aba4913c0be867a03b7a70d20fa4ea4bd3a21a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f3d9c9ff3234ab3e463cedf82402c8eb13d9131a38e428b12363c8b22ab136a3
MD5 6efc6dbd1b942e8da01ac9ea81a8abb9
BLAKE2b-256 5f940da7a8f35563697d5b47a41e532a053a147872676fe37328ddc8f3ed383b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 3144a17feb7eaa1cd101027e50246a2313d3b760ace54f90af93bcb0087ff1d1
MD5 fbd2f95a1612a41d7a7d1c5be79ba8c6
BLAKE2b-256 c05ad6ef902b6c79fae330df9274a06701ce96a32eaefb1084f3dc4be05e16b7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.18-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.18-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dc47bacc86e85d2a53b6f2a39185cf6797cc2d29540b337bd6e235eced509cf3
MD5 28336131d7688a55e93ad89316297bad
BLAKE2b-256 b8794cbb5a2c65236f302182e9232ae8c2c1158ebdd16247731460582731dc1a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.18-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.18-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c80a1f9058400002348362833be53525885dc7939728a8f3a3a37a4e4e116115
MD5 16aa7659d555e987bf271ec0100160bf
BLAKE2b-256 b20717489fa0ddb7b25f3879d88752113706b80ddab49a1cd3a9d79cfd12b925

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3d21d38e00f47d20d1901ed8ce66896c47d27c907105ae4791486eee4dcfb067
MD5 9e3f392871d9e233b334bb03c3f999ce
BLAKE2b-256 7317c1c67f5d6179d2f6b51c53acf03d89cd885fd0459a475e250d3173f27399

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.18-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b3ed03c17a1715cda8871d3ce5cb6bdf5cee237f533b20eb22bf3a693c8e5433
MD5 f17aafbdf5b047375207b97dc23a7379
BLAKE2b-256 9bbeb4b1cf30f750fe21cbae7e28d34e7e2b96337fe96f0ae594bdf6ce7420b4

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