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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.15-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.15.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.15.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.15.tar.gz
Algorithm Hash digest
SHA256 5105a7d12384a4e9722e7c6a0c61a62fdb93f83dc954dca067b431c225371be7
MD5 c0b6581fcbb91f2de44f5afd0d42eaae
BLAKE2b-256 4e23ddebe033e03aeb7222ca3e1d5e1bcf1e8cbd328857c6a46ac6e0d22f6837

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3e625ce44a949512157d3f75ad9e99479df5d46e45cd814fc73091a61ff4b52f
MD5 b32f8269f6f8aec3a0dcb91cd33e4456
BLAKE2b-256 79b7dbdb4875201e6a7eeb554b4bf1e141922dae295d9d4844b178d5d160d45f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 76cd55646e47c4c560dfe89b71a2764c7164b06d9c1510d660ee84cb741ebb0a
MD5 9c1ebe7b4cbc480bf60dd5d3ca05f33b
BLAKE2b-256 c5735f81f9c632d25a8c36701ea18e68c52229a9a8acfea9f762f65631567fb1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.15-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.15-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 44aea727e98d2a2905ec635c882d631bf7a53f4b310095a57643d7ccd8be7192
MD5 2024d02adbe6c28743466551958644d7
BLAKE2b-256 c0443598968da6219b5842e70b770f58bed48fa16042815561c71630d0ee1371

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.15-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.15-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b190a34214eb1631bdb715716367b3bf5e784d179175f7a97012af9509cb940e
MD5 21e828af5da3e0d71d48554133c0cd68
BLAKE2b-256 7aef76d7392a55d1a76247f38b3a12f14509399f6ece014fc88077d7452a3c1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fb1bb0e8b7ae5d33380d3ff946ead95205349097ce75610ab21606572028a557
MD5 32f85e1f3db85168108114dfd1f7188c
BLAKE2b-256 5a6e941cfaee43858a11a7f47e8cddc065dfb2c700aeed56a4e22ee703e53c28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5337d1e7e63135cfedf668d0e8fdd236211593058bb8b6116040e9b7ea5f436a
MD5 5cb58c3535044e876fb5dd80433911a4
BLAKE2b-256 3213370fffd8284c9b3881721feb5ae5d75a6a2893c91a5929601b39d5cf859f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6e02d77ea2aead8ff185b1816660f18b2bf40cdeadb32255c6313b00caf39443
MD5 f4e0defe643d56816100421831fd7792
BLAKE2b-256 c68d00495d3ef251067e2af621ddc24f10ec28b82cb26f62fcc71c91eac9160c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 012cc8b6a2d39e9f03fee4e24483455097fa8893351613df428501b8982ab844
MD5 1ca2222edf54a3d5c546b253a12bb25e
BLAKE2b-256 c3b21a8b3db0fbf1e80310d01ebf25205c69787a1b38d6b80f6cf36a8ca9af5b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.15-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.15-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a2f948d264677ef04165635896572f8bce6da5378aec96d8bd65059cb6e723cc
MD5 aeb5ddef0b9d928ad841e84e59319f5c
BLAKE2b-256 6a22b2d00fd79eda89bca34650b4a9855bf63bfe1ef1ba0fa7da75408514b50f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.15-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.15-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 87a5af77bf4fc740be5089548f1b7deaf94ee7ef98f131cccc59e5005706c230
MD5 0061e410841c76d49570cb77ca30ab4c
BLAKE2b-256 e5e3acceb78647e12de1ac883ad1c1e422232d7ba1173ac9dc6afa55ba28f0cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 944b8b1bb305805d70be0130ac40433c91236584280a45ecb4c66bd3d74d1cd6
MD5 1a08047be6ccb1dbae2a68ab0790012b
BLAKE2b-256 2f9f8b318cfd111be8f063e63c2f810d70fa89c481b7a1920829db5593579463

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 824f78d21499b2e0bb11de490568293bb76aaecf14e93fe8bdcd4970115537d9
MD5 b782991e735949c818c0b0a1e442b134
BLAKE2b-256 b7d55ffd82a0fd1207cf88949079dc122cf0f3840ab0ec4490f560a56c27af29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8445943e7b0225c55d10b60cd050a04993ff4eccb53f90d217f18c7ab2d1cbeb
MD5 96794c76ff29f6a24173cb2a0a862ca0
BLAKE2b-256 e2d213e464b6057dd5f6aa829a03b2a330fab36b5ace4f031e9f3b76d2ae54d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d20f60d9e13e0a6e7b207aa7006cdeaa94d9e1573aae284445e930bf5ffa505f
MD5 229cefa6ef1818d1586c90a5e992f0df
BLAKE2b-256 de9294088f53a5c9baa0823805edcc3bd47c371be128da47c16ec2b518b29217

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.15-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.15-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 239d50cacb5ef82c238258883522e4eea34806ee110231eb45db1174ff94d7fc
MD5 510f4795a6d8e7cd31aa01c03db62167
BLAKE2b-256 93e0d1c90e98236d47711d7e3aa31e5e9fa423d2dc6b3f52927b3b1ff063c6db

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.15-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.15-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b67f618f93c4d5c60300cdc03a9cc09bac997e3f5b70dd4b09bdd5d971bd9087
MD5 295007633852c7cdd770657a6d9f5c89
BLAKE2b-256 7c14511d2fd6c9a1279f595270b7280511be1332873ee05128d30a77497ef35c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ba731eb716c557674d97b53c549111c996c746dd3a58eb081d7cde428d6c3fb6
MD5 39956bfce582283ab028ab12d44a6932
BLAKE2b-256 1f4b9dc2f810c176e3df95f72e46a52d47f08cfdcd60e3bb107eaed537fd2331

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 00c4bd66e380935b87e58bae2a3c97b775659c9827fc0d87839b95ef94ce0c58
MD5 7cbe10cf16abf9d8a02a946598cfb419
BLAKE2b-256 a99ac06fdf894e3a70859c818581a6fad60c2b087fc1ec1f2b0f53d91b217139

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 448dee3c935658aad6fea32c25d6ad6b5b8c62835d0894de015f57554016f8db
MD5 abae5647c4b8b9eafe49a55c59fbedd7
BLAKE2b-256 0e0a7a90065bca60381dfbfab7767a8b55e2f6664046ed3ab70145bca846f5ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 66f2616a2f3c9ae1a2f33848a626be3936b367fd53ab9484f6abf998299a740b
MD5 aa36d9e24f14777f7221e031ee64cf2b
BLAKE2b-256 cb41f8b6471d988a1feea4b4a826e4abd60d11d6f22f795b76d07c1292817fd2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.15-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.15-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0f77a35bc5ca71d3847dba1ed12065b0040734ef5b3f358277c6f99d9f04fdc7
MD5 a29fa3e54a80537e1058293876667c41
BLAKE2b-256 d3177f6d2545b6e8bacb91c4a1917f59afd2b14518a19bcef1e513a3ea9cff31

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.15-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.15-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7d258cfb201cc6caadf4475c3dce3bd6b29827ce2ce66d2cb1ca9cb106ccc5f7
MD5 333f1bf6112d8afd39a1d013e83af88c
BLAKE2b-256 9dcf0a01e1ccb2f207c6cbd222dd688815de35ac964bb2ec58dade48f7a9be4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5cb35cdf7df8b701d758434d4ede744ca71008e0b67c1b3aacf133bbd09bb477
MD5 feb89ab14395889b954d20872161febc
BLAKE2b-256 f9a9814b3dd27c61a3e0e3738c269c0996d646d0c11e4e142e9c0f3fe85afef7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.15-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 53cd53cc41277d08a8ff761563ffe242cad62f9a63fc2143f6003e5281279d1c
MD5 1f31da73aed0080dcc35773190833034
BLAKE2b-256 dd71ff3e79b4ceabfe52589e6aa6ffd545f59e8bb81f6c7be9b760da2861505e

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