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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.13-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.13.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.13.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.13.tar.gz
Algorithm Hash digest
SHA256 03b6a4283bd1572cd57fbca25f3727d9dab585ec9fca664df0cc00f3c2b47cfb
MD5 3f7d654a52b5300897f4368909811a12
BLAKE2b-256 256c206055de641dc3db5ea1d1c35da96e756f088c320a2cdb2feeeb0352ab60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 eeb71af7a090e5163d7c3a2d8ab7900ef19ed949a96f1ee7e49239bcf47619f2
MD5 02e1b2ad12ddeac3b26cc60724ee800f
BLAKE2b-256 990bfe9b499f77f75386294844bd4527d91a545d64076db325b782ed590118d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 dd598b3110d2af7128b805d75f918e3ecf1c3630a0989173969fc77d966476fc
MD5 be3d4c766d10431f1ae9d414f7357df0
BLAKE2b-256 e8c9b4c00ae17dc66549b26a514a186f5ef529e45b1957b18866c5249b30e233

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.13-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.13-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1d7b6810692c87efe503bc9926797059ad5750d7956065fc29037fd88c0b82ac
MD5 1983d21eaed6c68d7747874712f78bfb
BLAKE2b-256 a8bc85ed727f1ca360524dc36ca28eae4097040e46765a1939dc0022398e0dc2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.13-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.13-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 154327af8eaf374f3cb60efdeccb2e84977a378ec9eaec7057ab7d3ee0b5a7c3
MD5 68bb0d0a5a2b63d720aea697c1fa8065
BLAKE2b-256 b8bb95282be98480f205593915efa571fe932214c20bd6520275dc4869ad18de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0501756385962085ba27760ae9a620471aa2d2dd8bfefb2cd057842c14a021e1
MD5 564b87dc0fe769a54537a054d3f15291
BLAKE2b-256 425453c010a92d4645f9750a04a6f9833eb3ef7dbc14baddec8eb4585bd36542

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ec89f263215664e518850ba3edd08774113563a75ed5b33c6653c0c205232603
MD5 467c63fbd84716ba5845ffbba5a8100c
BLAKE2b-256 e0ec0a750aa56060b02a3e311470f46e7dbf86c2747540bc6c6368ce12673d27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c14bba7f37867db7a652ba51c30b12cd355a7a089077138ee8ad3a8e1266d9b1
MD5 fb203aa4cad0ca5aa5399707e79600af
BLAKE2b-256 efc1f1b6f1574b5954d7ea302caa37614754d216687b70a51d4d28dcaf001956

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 f01c33bed0232b299b5b72bda15c9ac9d80c250fd085d6d1d07cea9f614d35c6
MD5 95afb4001e0eaa7b4fe940869ee64af4
BLAKE2b-256 bcc2803bf7268d8d966cb25d5293a03f3d593966e0b43432f8b41ef2982b5199

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.13-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.13-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e6aa9cf196657d21b9a01ff02fa92efc707abc491581dc0114984f9611c3bb84
MD5 89eaeefd0a81af6fc728740d8e2c2374
BLAKE2b-256 6ef088df525a606c3ec94f0911cfe88cbf623998e875ea9b9f85f0e9283b1b86

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.13-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.13-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 560553e9f8c135a0b290718af2aa4080ed9c76df821706e9fa82d8dd406c963b
MD5 b52d1bea9f0f680227a897584f80094d
BLAKE2b-256 896903ddca1cb46ee563d896f9a8e36f9c5e86e2d0030380d136304af62fd958

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ac5a0b9b72151830d12e3223edf98b9bf7ed64a348d67365b96439a9a4acf64b
MD5 e0db2a88de94f91dee47648c39f5bef2
BLAKE2b-256 edd360501b4e1112f940196f89629451d4707dfe23376e694804c04d734355d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 472cb07aae6c5954f75d066a71abe3ce9007d22f61cd33cfa218320610e0a01c
MD5 c4b436c3adf6d2f70141379a192c160c
BLAKE2b-256 862d37711e6053cc691a72c033dbe40f41413f4c8afba44ea5ed974ec3131ed5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d77d75cf67d0035e0a9158590343ce1fbbf51f312f494288f9eb4638f2352863
MD5 248b031863e39cf9e4291b7aeb2b20a5
BLAKE2b-256 db2e122f715d4496c308dd28377b5f23a9559ab9f994ecc5ddda10d5896a70fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 b1f538e09d7dddc99f88aab647efdb711634668278d709450116d05b71590bd1
MD5 7f117dcf23284c12e60e28f089ebc48d
BLAKE2b-256 f9e871d3cd1ffff39267f65dce2d5904f36662a54bb687eac15c78a5f3abfb52

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.13-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.13-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9074aa4aedfd177f4d8d5fb484d3505d63e5d93d4b162efa15366048726c7f35
MD5 0387d0d460679a71212d2351e1fb3fa6
BLAKE2b-256 241c46f4ec5f5a84ff8e3f070e01584d8c4dbbf56479a7332b05b3e571ffc114

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.13-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.13-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 eb726a78f7f412fcb29d8e260e9acfaac8ba328ce3ba9fb69b950bf45b959d44
MD5 3e5d7317c7fdd2a8e1a61ce48beefcb5
BLAKE2b-256 bf4a770c587d5930c46c88dcd352b667cec2d3543586bef8c4ecfc9f0aa66abb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 eb2272a442ff089233409aa0f5d5911466822784ab2538546c1c414842590661
MD5 374c0684d953180f87fb734da15fcb22
BLAKE2b-256 a9aa4e7684a39232ffe3172ed6fb862c12558f11d5f4656b0355b4e56b244149

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 23c0c9cba5e17547dda9ab1803feb15a46ac403e01a8193122a92ca393f69d13
MD5 d1b8484f9ce15a872f2b28cdf9d9b455
BLAKE2b-256 2c6e9d287ec7c85056e6925b84fa25c04a102d761877ab7dd3df446594a8375e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5f35bc5e3d9752ec5cb05f46c6f3de0209b7e93406a462b0e4e35dc96dac7787
MD5 72c22f5de944f01434abcf618689cf31
BLAKE2b-256 696d0d24f10d1666fe80fc5ac96ba65fdff32256643c240b572ac68f1880dc5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 01691d762d6fe4194934b6621db79f01f827cc8c47c669524f91d6332294b4b8
MD5 634183bf5c20248ae8dde2f005f424cc
BLAKE2b-256 b5e847fd5cffa6c0489a35895674d182cdd4c2de524c72ac9792e0a04ac4aa27

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.13-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.13-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5cc9a1b14794c93b5a284ea780e02783aef44d228923bcdffc6b677dbd77d6d9
MD5 dd416a0e1416d6c9204e108c36443bb0
BLAKE2b-256 170b3f72c1cc57f756456dc4db91dd1c2141a6a821f89c73e4c5c08db4f3bc25

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.13-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.13-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 f137d6c3b776a9672cd68e023f5069294b615c39b8229a3dceb8a7cf9619daf6
MD5 1c39e047db17acf7cb58f6e223e53c68
BLAKE2b-256 20745216a231924b8d3c6fa78431d6891b5c0ea7342654aa55992c6126505af9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6cfb2d3c2db28152b2c2c55d36b1e6b2d5e42b13f3c1315574169a6f01a4199f
MD5 356442135f2084af9e22741a46efeac6
BLAKE2b-256 fdd2a52d596407a5fbfd1cabc5b1d5221d9bead1b33c6d1625716d6681989e21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.13-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 23377c519fa4185ee3be95dadb6c5c7b40da0a9baf338a90e048be881f8768a7
MD5 0d4e20233d570084468656ef2d6bff9c
BLAKE2b-256 75d1a2652d50319c7cd28f9f658286795d93526d4997028c3de9689b9dd2df76

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