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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.2-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.2.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for passagemath_glucose-10.5.2.tar.gz
Algorithm Hash digest
SHA256 591956889b04949289b847297165d3c3ddc54c163b3d535f27c36a4479008cf6
MD5 11f378c1202a6f69a76a763790320c2c
BLAKE2b-256 5ab2060434ce15aa35197b1c9a79c0b182ef88057c829fedbef70c0695b5550b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0554ffdf6b4907439a6e421f60ab6753827ca4726556abad95136ece26214679
MD5 9fea590860c1630baf3b85e33c07740e
BLAKE2b-256 0d3a47e724c241425e353b07e04b3c653ef6bc85b030ee155f357c1c68962187

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 30ae651d428fa4c55a51b252fabc269e0ed6496c0fed7b6261817c1e9e11d1d3
MD5 761c4b5abed7295244303cf343bf1616
BLAKE2b-256 a95424d1faf0bf4d1a6d49232ecacf4add38565e5007ef06d650649c52368975

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.2-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.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0bd95f469d75e3733b12bc8a333051c9d313e498dbd1fe428e74106a22d848c4
MD5 b0e59d125226c8919b92ea9512e65cbe
BLAKE2b-256 d30b2dad269d33dfc7093d16aa255e959f9f42eb045a025154af84a2848ca4b2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.2-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.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 f09c5e015964af1b71153b74cf56520e566c66338ea901260864357418f6f5df
MD5 ca67e21de93bb7cd99336aec61315684
BLAKE2b-256 a9dc9da04e92d4e0c5103bddc6e56a4a1ccdf07ccf2b2080ffb8737b549a1ac2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 764fa75b568e9a8ee803bbdc5a63aaa4150f1fe6d88bc6f9c317ba6f1583dd1a
MD5 e1d8f7b0c0955f6e0f27cc87e2dfbd78
BLAKE2b-256 d20661931523a1e79b5bea547e5c9c2d906942f7f8c853263af926cd8b63d666

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b8fc31650af96b63e8fe4e5fac77432c62f2455950f9991c70d9d0da1d8bdb6d
MD5 4940e3b9512e2676bf62a8384269a9a6
BLAKE2b-256 9cd2a44b78f7326eeae8482b74fe061cf64a09ac16887a597bdbf55d137d915c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 71127ca9d49c1f51364ba4bbc400e16953e4ac20a32e2289cb3adac81a75a455
MD5 22cd9adca521964cbb3188eb2aa2aff7
BLAKE2b-256 2d312557f62cf8f2f0a44ab85bf5cfd890b92f6518f9499242bc833491bb8757

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 41d1a5f9b0325b3cfcdba363ee15205b93bf4357bf23fad46b08ecc21c5f99ab
MD5 1f25133a2892d88512d33206d2df07b2
BLAKE2b-256 f36c43e1e7820d04ded0524b2fb59f4520837b8bc8e816bfe3da50b3bb2a06fc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.2-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.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4107ae2bbb7caaf88fcf824af8c8b4d8b66088e4517a58ec9680110260637748
MD5 9bd322e8aa0547e951771e47da0337a0
BLAKE2b-256 a7d6895b6d82092e479758a6f0ec76d8bd99769617438347e01920892f325e8e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.2-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.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 213410b875bf7fad356caac1b7e438138c467f397909546f558a68003ea14255
MD5 633b24d5aeab994583a4fbdb9eef25e1
BLAKE2b-256 b147a17e5bc174c1ce5886dc0942fe59e5c932188d613ed71853cf9c9831d7af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1bf5790d180dfca599c194cda257b11fccfd0b4f78cbacee9e36a8079429ccdc
MD5 b1809f2ee228c1ca6a36aa0c41c21eb6
BLAKE2b-256 9a7e3e3671d1c3f70f970525707c3db70d3bc9dfb454b57da38f39bcff20d0ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1a4edb7df057f4884ada640e81909ad0f25123a72d1d7668e7a15dd1ad0cc3da
MD5 3cd40a0ea834053eac1385e17df9ac5e
BLAKE2b-256 ec23ccfe58da2bffee4591b921502add8d7a87400120d577daac60d86ef1e32e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c1240178e9d885858fa9a4f2b6c185ffac0cfff1a70b00d423499bdb29ad81a1
MD5 64dc213eb0ea1d3e14944f9a8aef6421
BLAKE2b-256 31f3bc9886667595397391335ea62ec72b6795e4b1794c1d28b612c899d537e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 17ea345ad1665cac8d92da66d5d2f1254091e8924878a4ff9bad36d135262f37
MD5 2affeb44dbcf89d58427ffdaaa6148eb
BLAKE2b-256 ab7cc64582bb569f4a66ad008c2e6de21cda41b07e0c9ec1ab39b55ec5aa6c1d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.2-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.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8845dfa978e936eab53ef035cadc71bb10a953a07d0a067dd2681ee2739745cd
MD5 4fc29fc01fa7e3671de3efc32211c097
BLAKE2b-256 b0f5668a9e398e006d2a8dbcf7cefedb874c1f579bd10185c06eacda243c3b27

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.2-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.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7e28ce4f2e63712feb40516b2e11b6cac2c68e70879066d223a45e5cd79db36f
MD5 4efa421f34b7dddc25fad8a691ffe488
BLAKE2b-256 fe037493efd8788f7c32c932a2f9d612b4042912cb3219ac0b75df6921f932d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5a82e7dd27354aa6d75e51f66ebf01f05b173fbea7de85819745bdc75e756253
MD5 1f0a37e1bfbf0017f06415d877baa283
BLAKE2b-256 585215262c48baf07041b3b2cc41af6d43091f5f8081be5ed6d4300727e6ca30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 166850bf1d67907227fc549c53862c6435b99c35d353d5ed5b09f8695ae0464d
MD5 972642c1e85483658361b7eb75119fc8
BLAKE2b-256 c758f43a9a1a1615af5f6a6ebd55ddfc97abb623f4b90e41d076113dde38cf56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8329269edfa2e2ee50fcb7441c90da60b049d9868be4950fe95e39c4c48bf033
MD5 1a290a428e03c64862a2e2f33f0d452c
BLAKE2b-256 244efd625bb0a543ccbcef9d8a9def62dece214115635c430818a529734ae03a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 2aebf82d17cca1bc1a90a12fb064a569a60f6fa87c1d687338986243832b13b9
MD5 323711e6bf7afbe9ed41193ee942f881
BLAKE2b-256 2318630b39ba048ee02eaa3f38bb624162636c222a45a0e1475058f738328896

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.2-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.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e956a9f9ae3388392bf73187547879e7ebb813321b100eb0373fc5237581159e
MD5 4f156b29ea97bafe81dbe15e67c866b7
BLAKE2b-256 29b5c16ff0daf7a78588d5ada251ff79b1288e7e6050cdad65bd1c7b83067014

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.2-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.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 8d1052fea40671d69e02c5d4147714b889708ddf9bb07cfc769281bebfe658ad
MD5 d70d48560e68e9010f5a58656e6b593e
BLAKE2b-256 3f0694b65b92eeafb3c69224a1d7f54551528564206f9edc9cf04cc7ed941763

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 92e1b1f2efd9bf8843807e0f06d3e7af15e9b30eb71dfd366c8e5b150fd68580
MD5 d03c1373c886cb8b8a7c87145c6e232e
BLAKE2b-256 c46265e3411cca26528f84a36d83c6e1417ebd54d08a7f82ef3c90b033c213da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.2-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 50d86ae60318d7626b149b8f150b959c13c0cf55578550afb2cadafbe4619b59
MD5 3138954d17de3687943657e707c7510e
BLAKE2b-256 b49a504726e9173297b6f4d38a482c00d6be05965c51addb19e95839acd6270a

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