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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.5.7-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.7-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.7-cp311-cp311-musllinux_1_2_i686.whl (29.7 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.5.7.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.7.tar.gz
Algorithm Hash digest
SHA256 9bae8125f8c7d0f2c7d3881d3212e8b4daadf5e8ce5a6e88f11e3150a470b18d
MD5 681776e363b2e02664a36508c915220a
BLAKE2b-256 bd5a6c39cde3230630127d11889f17cbd0df9688ecfa3de065e1f6dc01169f90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3f75d36df1b849a7a974b169d5d8f8707a2c5dccad2c900279111773915db2d9
MD5 e23d628aa528b9a0c28243dd253dc110
BLAKE2b-256 8dea799b7363aedb872b711397978dda32949954e162fde66a31f9ac799e5115

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 c86cd8894609a698a3f2d40a45fd9ce040961bfd9d9ece01ea94c932e1ccbe61
MD5 b60840267762a8f8aee502388ff31866
BLAKE2b-256 01f4618662c39d8127fb9058c58f82b46cc10d453e7d7814a04c6a9c693e33ce

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.7-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.7-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d950f24a28d2fbd3567e4663acaa4f62b3e166faa4f62bb7e35fbddcdae81682
MD5 f159549fd8e1e4de91c9f710ae034d2a
BLAKE2b-256 15af375031f3beefd0daa20361d934adbdf3b964d0fa1fe6de502f1f33dc75e2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.7-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.7-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2747aa52709c676cf66140a807397b62a9684b881aee56373aea9dca92b3d3c5
MD5 5093557ee7269052c7339089c5420e48
BLAKE2b-256 89a836dad42d811c34bfc4ffd10a47e2b27100b53a12b01eae64ef5c2247aa50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b05eb058b4154b4fe8e5c73dcd8ad24acfd5ad489eccc1382c92fd882e500d31
MD5 1fa7175f7a0fc1079c9298df97fac991
BLAKE2b-256 89036951197299fdbd93050a615ada809972513e6f218e8134799799b55552e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a9c007792768d1ee450a39773ddff56c4d1a5779303b91c6df645e4f007c1f9b
MD5 3151b1a38ecc3e48f1d594d7c412617f
BLAKE2b-256 3a0b32fd5e3ae23a073711d60d45006c364d9cd1cee75c29821e8e30b4671712

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1b578ec87c978c405538df23bb1f52f3ee96bb6abed179d4a2a8295650d9acf4
MD5 2372a982332609b1aa64f8052ddb83e4
BLAKE2b-256 1441d245568a6e69a367b279003ec7e8efd3dc2e293470821275ab1d92b0a226

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 cf2557c10cd60895014769c7b1057a4dc83dfba87f891c6271d68cb0885e7704
MD5 c444ecba168717cb09eb7e1413a09db0
BLAKE2b-256 bc6ba4b548e9e74efd42d68823f60e5462f490253b0ac5b29c083b37873dc697

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.7-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.7-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4fb408d8c55c4f4d2e77cdaea901637ea9c1292330d4fb1c0effc7c12d5c9fef
MD5 605fe7cc9db515b0fabc1ab96737a670
BLAKE2b-256 e0cdbc15b097be9fe1316515c37f7498b9231a8750b2b1f0ecfd4edc22703266

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.7-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.7-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 58b7aafd1190f7f39a4e1d07055ca14888e5928fec55ab3853fdb07d54bab13b
MD5 a1be654ea045f4d68723f1d469535d70
BLAKE2b-256 3203baed14f6a00c006959d2672562f24bb910e7cbf64791761a124507e21eb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b1f2960d08d0ba1f17fa92a645b5a442e01d9ef2d545d524e01944025230f833
MD5 de90e95faa5ddc45fdbb9200b3ddc0de
BLAKE2b-256 90e0edd68c2d6e44680deabf468b2d55cc86de6ea7092e399740f646aa19e20c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ad35ea12dfe97384b948644cc1dbd8a1de7995a36e0fb9c1dc764d78793c42d3
MD5 427aef3d5eb1572823d754d2a1c3243e
BLAKE2b-256 b44dd85a0f9905e2b097665918a6f9e36931e339f6767e64f60b7f001f9c25d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3f06cc3e87d780f14eb9fe20119b5b015afe689f9d80d49dbf0a085111582848
MD5 6293c141e99457995ed7a9492239052f
BLAKE2b-256 bae2244967c7cd972cbda5dd332193e99f91c7d2aee74627acf123ce06ea92bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 f9dbbd1014f7fe229c50503b09840c2536803b0b0da9da850f9202b96e0d4e30
MD5 88b842edc3f35527dd4e960b5f4df27d
BLAKE2b-256 92fef837b6e81d6d6851dba5105a75071dc471260cf02fef4f2dc2e261384b15

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.7-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.7-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 230864e78acb05b625b00306b9a280ed84adb849d19a361e322ad1c9a368dbb5
MD5 466adb6e930b718f434d39e4ee071516
BLAKE2b-256 12a4ef5ce9393fb9bd650ba335615a4a7bef3b9769be7fd403c13a921d5b4ce6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.7-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.7-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ab12e94924870832d49f11ffefec4e5f8dd399f9df2f6db5e4db091cdd326280
MD5 3717e8a6165b81aef53ec7a470c37320
BLAKE2b-256 8fa17fb694d308b6546f5cb7dfc8ba0439278f8f2a181148db000af4598bd3d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f88b1b9fe22e33c04926f86a2f59c70dda3ee9a38993a716bb12c24e4866b59d
MD5 a3c70c8701f882ed017723944f38e997
BLAKE2b-256 5f8b2faba36d3cc68fa1133c5ddc397834dbfaa2e3d89ed2abbc8b9ca6282c9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4c1825e2296f7eedd7eacad8a14bbf9ad774c98d2def9e7ad8e5528b90aa2aea
MD5 6133bb94e5023af0c50bf434ae52232b
BLAKE2b-256 ee8ebdfb17925f7e00e0b98da6c713bbe62db2618e98790ddc18a13e1cdd8997

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9753f23c5f2bf59c68cf8ce62f79edf44f614b7b11b053ecc46627e1278f527f
MD5 824bf37e51e06c966957f203b2f449d5
BLAKE2b-256 3d63564c7f3274958ebc17119c2bec5556253eebaef9b9952e263c21eac3e20c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 a5b8494d5f23aa1eb85f4413faff1d1a301fc6335674feebd14dc4d327305b89
MD5 6540361f851a83bcbe874ee3c1817ed3
BLAKE2b-256 b3bfb9736b6c861b41c895d2af246e34eea6887aee4df39445d518c39dc07eeb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.7-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.7-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 df73d738f1384b341e7af5af6bde87b2fbcf3228aba1fa88b9963b2d0167644c
MD5 a01d5cb8372badb61ebecfd7cc5e2e20
BLAKE2b-256 1a6736e8c9501e2fe91abae41a18594222adba65ebe1503b0472ba06fa72d1c9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.7-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.7-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 44d4190b8bebf326ddc09673f11cb70a81efcff8cfc10e064e71adf11f2f7df8
MD5 7b28369b6c12a1e4ae60fc4dce74b369
BLAKE2b-256 49499cb6169f05342f6141360d2d1cc276fe4d1d66da31934b0a396774710ad1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 13919bb25fd60056b76926f4b909b7d5c4e8429b16bfe3633c396a9ccf52647b
MD5 24bfde3ab81aa2145fe148e780fe5275
BLAKE2b-256 6a325714e07decb95876dfd16415dcd1303f120f796f8e9492790992b6b4318b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.7-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3897b2b6dbe5b9155ab098aa7d54b3b446469acfb81bd74f1246cc3ab74b6463
MD5 87c29b8121f79ee80c88d64f0bea0618
BLAKE2b-256 885eecd821f78ce6fd7a3f96c9053db0e1a4bd058e8a8318127b745ea71a3e93

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