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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.12-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.12.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.12.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.12.tar.gz
Algorithm Hash digest
SHA256 393e54b000992a7b368c5e8ddd7d4931aa43bc8baabc55696b25616d70f1c9b8
MD5 96e7a3c3957bf34f4054cca09cf42384
BLAKE2b-256 ffc6cfde293a5ea291745851c50763b8be2b9a33d50cd02ee7d1f6fed26d4431

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1cf217117382e6367919e8a3a86fac850370d3a9b3d302f0ae7ed70c15b5ee77
MD5 6126955540e8e0f65fcf247136281149
BLAKE2b-256 b797626d760c3455b6289af3e7848cbf6cb3616e021708f4be4413cfa47bb653

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 73fa81c4cc57c886c02cbf3d4355f342a336988ffc49fdd35860853d7b054202
MD5 22c9f0c65447528cbcde73b1c04165f1
BLAKE2b-256 29f2056723a862d1c6f1829623d727f40baff45ec33ccf788c89f59c634aa3b5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.12-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.12-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c728e0da139aedda4a8ec6c07033ee86f0a7e2b5bab9e294dcc526d08756e361
MD5 81cbff921d4ea0c498376a2d538267f6
BLAKE2b-256 f900e32ccfc89613f3ad25a4d25a6126f306d1b0d3d3bc82c97f89b217bfb090

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.12-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.12-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 73ce65b3096ce9ba73486dee4d41b3346278d19845ef41f08580aa37f1145e5c
MD5 c501cf5af3a49b73231c0bd5256bc1fb
BLAKE2b-256 c7085cd15a6fd9995cd5a8c0ef50c95b8c4531296fc680d9929c19904f407d1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 31a5cc5140c5f29de0c5c05b8ca4565b65b6e308a74ddde7045a922590a00cd8
MD5 c7ed095cbfd6ed212e1fa0f1b7bfde91
BLAKE2b-256 f80925dd8cc71099d468841752dabf8885622f869dd4a6284ec8a7aea9fd622a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 81a6af34e4bda8f9bbe0570dfa61ca1d885d4f7a0f0efe4414211fe11c39b2c5
MD5 d336c2ae470372b78ea4b9d35ad050c3
BLAKE2b-256 f9b395959888c06e347c0ddd27cdc6c61f6d17a7412b3458b9c89e636a245085

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7a358edd57af339e036f6036f132c54bfab9657a49a2741f74358ca068711511
MD5 dd7032503c7adb7030a34bd17f3ddac0
BLAKE2b-256 fb189619d676ac3c3bd542fc4044663e53cf3ad282cf2e7dfab4e6175fff48bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 8675427daf24f22a53608df3696af5654ab0dfd9b858dad52eaf66f587af211e
MD5 937459c0a9a036e4408ba34c6cec4cfb
BLAKE2b-256 0c96cce6bc124b33c90b7ed1b021e6237e86561968072471e0cc429b6f0e6414

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.12-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.12-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 46fd94ac5046e578754d21a2be396d04a0b4f485605514e98712d43ae2910e76
MD5 f56e1cbb58541485c91e96dacfdad453
BLAKE2b-256 aca298ae6127d9125f8cf7dfeff7689dc2b4fb17ed9185b89c5754b16d3491aa

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.12-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.12-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 defd34fbc9e6e12c85127b4829f6530aa561ab7c4a3393b3e59b3c9343d856d9
MD5 08b6484987eae700c3b1b478b927009f
BLAKE2b-256 5df905e532488f68b88a72d9f2c562d2514b3a7e7b3723c453be7b3cdc6feaa8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e0b29227bc4c9e0fc2ab853c0f57d4d6fa596746ca0d9891b28353b5d24d2dc3
MD5 82244655ed555fdafe44686cac5d8bdb
BLAKE2b-256 f2b33273472c88675ea66b08755e30e102564372962dd79359884c6895764626

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cdbd7e8e075e0bd4b8ca0c3c5423677bb4a66a8e01f709947fbc6191d7f70f45
MD5 8356aef816fc227bd19d7a2197c8edc6
BLAKE2b-256 fec71a3d0e775a751e7ca44f7790d60dc133e71e4d3fd959d84faa3d3fcb695f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 db4af34a6d5d0799d808c06364e8cac9c68b4f0ea0a15fb962ffcec6f17fe1f1
MD5 fe1f4bbdd1c944667e56568dcc86ad90
BLAKE2b-256 51f7d299bc5caf8ad1252d261169b49842c38a724415f2007fc0aa568b08e5f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 41629e93af1945942466f592828d491d266ea5ac4f5cec6523a0e5edc85d9a65
MD5 4b44d9d1296b4b9d8e5f3999f80dee7a
BLAKE2b-256 f30474ad3189bead8bbcd32bbb6a896e7fffa31ffce52551b79ca77acd825093

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.12-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.12-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a882850bbda5476c2eead2253c6ceada3b41a3f8518cfc3bec35a1f04fedd9b6
MD5 f0e8f0c4f0350565f84d294128072d0d
BLAKE2b-256 28954cc30e3492ad0ad2b8565d7474c354356209b5ac2a563bf7243f084ecbcb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.12-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.12-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b28db794d1bde2ab05ea479032255ed3fbf9185c3a26942e211374da5552db31
MD5 a09360e53ba640f05023fc4d0ce34a4f
BLAKE2b-256 c3d5ebda2b09d62866bfa1d12bf1b4171b828fbfce92cdac77d0997af70c8bf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 93a95adcee5a1cdb9559063decfc63d0bf8551bdd92ecf2606a9ec39b23c29e0
MD5 647ba4b4d21b1d34aee952f80901c044
BLAKE2b-256 69409f3f3d18105fc986641e2222a799c47653c0cb01f982870a84588ff05b89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8e3db8544f64136b31c988d8f35d87783e38c9bcd34ff353ae955e5199c70414
MD5 0d9b9a7255774ef91fd1973d53292fad
BLAKE2b-256 bd1317fb42b75bcd68ca362d50730ed210fa9b564655d810ccb0221ece670ead

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 301b14aaf5ea800d164a6c95fdfccfa5a4b5faf28a95e5f30e70e54fb7445272
MD5 f70a1f502e558c7318948984b968ccfa
BLAKE2b-256 ed3f1cf126397a846c0a8e7119b847ad68090dd2cc785b11cacf11b9aeea4071

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 1d0d3848b3c6610ddedca071b543b6907cd3ca9a726e54640b54d8ace52c0bc0
MD5 fe1d8d2a9d31118167afb3af1a7c9d1c
BLAKE2b-256 349f7e0655d7cc35c7b622a6c934894ad25f22bdd1e3bf44677f33dfc2de3265

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.12-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.12-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0d8365ef5d6d465d1f24b3acef729174f6d5135fac4772264a65e245a3af7594
MD5 a11681c0817a9e2e7e115167b6cc915a
BLAKE2b-256 1cb87ac9417cc9b8dd4f7ed3e2005f70f1ff4a5ee2bc7629debffea28a92885d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.12-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.12-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c3fb082f421f8e460e08e610abe03b23cdb966acae2471e33c978da5da516c2f
MD5 abedc354d681dd70b949453a088dbdf7
BLAKE2b-256 b62a4f855dcb785eb843908d8ed4895148240366c0ee1793244b4b197179228a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1bbfd3b9ed15429cce60ae2497a26177634131cf170e12466a1b6b469e9b176c
MD5 d8fd0cfba6fb31855f50f23dc81384de
BLAKE2b-256 619b291cacd8bfa461f315a841df76c90e3137faee6618361b7f482f8c1e8f17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.12-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e4cd0ea0cbd4c2c95e8ed33fd7d9901be7c0c6a87b7013178a70f0126f96cafb
MD5 fbb57f5af9402a5939ac4e6bad149227
BLAKE2b-256 608c3b9bdccf9cfa8f99062fc8a0e1692827409e20df768b99c82f24032b7595

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