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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.5.9.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.9.tar.gz
Algorithm Hash digest
SHA256 cfc3e9f38b734173175af9ee3ce8aadc9a2e9ce8dc6f2f09d411f16daf0e50c4
MD5 22e8913912fb12f256b4866b631610fc
BLAKE2b-256 3e6c4844a464b9d734f49f8f9f7de2befac2be5bc2c021f2cc1a884079288c36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 845f3cd05bd9391174032be89f6ee8610f41460a253fbaa0720c790a20da2783
MD5 61268d4616c559c8857c939e685468f3
BLAKE2b-256 de6bc782068fb9c48af0012c278b6e09f9f618d595c622dbf4a6b4297248018f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 4d0c6f68d43165889ec06dbbeca237590a344f6780db9913e5347e6cfdd8e81e
MD5 393977710f72cf70e54e39bdd9ec7676
BLAKE2b-256 b2a708f33a42d101eb5e9e9eb84b85a942b97a10a3795dbed2211f0c4b7cfd45

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.9-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.9-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6fdcf2378582d1968b99feec9969b60fe6bf0eb8fa84fb6df197c4c1f277874d
MD5 9dd8945b292882281483e4f10782dcac
BLAKE2b-256 4f136adf40d3d55ce37ef42395d1998a5bbd02f6be0d89b3fedf5e84e1b364ed

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.9-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.9-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2ed37e64e4bda8712d6ac34c38b4780474b38c9cc873f9ac56441fe4edf9fb50
MD5 5cef339ed001164f71292e0ad085c2fb
BLAKE2b-256 d7d70405d32d7b771830140e85c7c339928998b2724dbc4d31d174484864aaa9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 475c1efd62b008ca2d517937616daeabe3de27ed49ddaafc839505040e011dba
MD5 9a00669efc567fafd684bc7e7e2f3dfc
BLAKE2b-256 e15bdff67c7f348a8017907bbf8e611c51fe47937e9fda682885e18d14c5f070

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ad59f5b5953b932aea0958d6bd3c837b49d26c7ec660e7c738667b8515d3ba30
MD5 2021ccd1b97ae197a3e589ad62dc51a7
BLAKE2b-256 91b303ad2576f0c8dc00895a5c157dc4e318d0d44c2782c16fa44cff0028c772

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d12d568077da718f8ea573857adebb458c1ebce1a637153fca54723b2e79161d
MD5 77bfcb47b21721f75b231f10e6ff1ac7
BLAKE2b-256 0d3b49e2253a328937717355c2f0ff76719cc63d0d9e7f67095ce1140f0c4c49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 fc12fb57dcc20a39fc4c375145f25a5b44360d484af207fbf152233b6f7dec05
MD5 59a5896c560747ae3f8cf9d7a9c7c192
BLAKE2b-256 76512aaad376b73ebe1a32b15eac58bc2bdc411782d89ec5e7b3ab6fedbebc28

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.9-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.9-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0b17f993ab3ca697a148e63c5a1f8cb07a15662c64f20fc650d8bed8d6342c65
MD5 084aaae269440080cea2895d4f610cb1
BLAKE2b-256 4642f57068b4bb7b107622e2f7ddb29335ac34fe61a4b663e2e13086222c1417

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.9-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.9-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 d3c4979938d64cc2f779883da05c7efe130747e3fd69167bf3dad7424c9d9c1a
MD5 4595cbcd44d17087fd4ec2bd7e1c8a95
BLAKE2b-256 4bc08eded48f384de4a09005f1f9c48e8374cb9a66aaacbd8f2651929cbdfce6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1260397b4a2a4c3e901c1080f32233c663228fa040c72440ddaace3a3596ed76
MD5 6f0a0fab60f82d11cdb7edbd4e936312
BLAKE2b-256 a8033176999f37d68a421b31f649f111dc043a5d44e8dc7499e7e79bf10b79a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f967a1c8f49ae67fa3111a7a0caee9f1e30a7794c7dc91d8613aee923502baef
MD5 fa73afae79200d4b99258f7b397374bf
BLAKE2b-256 fe22e3daa33ea3240789b0f88948a7c484b5b3380414651f3d6d5a468d5f10c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bba727b4e1e609def63f2a5fd373e44d14f266d03e6e710fbd0a0d36208a2e60
MD5 ca9a0ee4692985b11ed529351ea09d5c
BLAKE2b-256 1950e0e3c037f045dba240e153fb053582fd296772ce0850d5c6db032f4d5f91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 6a32f2e200b85810fe6a402d6c89087db6bd06534c9403cd308482918e2ba278
MD5 f3dd5cda1388234692a613bbf2e42fcf
BLAKE2b-256 e3e18e61a7e84a43aa46909b4db296c6108018a6f08147aeb8abefb7a08d1a3f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.9-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.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5b9cf61f6c891ce7012ab828e721dd13f3e748e1370461cab0e74d15a1bbdb1a
MD5 fd00211a0aab884893d826d6663ed741
BLAKE2b-256 2e9de256704fa9c130cec65c2114cdcd65213a112b8ed06bf85befd5b21f13e2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.9-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.9-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 15da61e1eac856fb35c7872cba5fbb72c8ca83fa2668f39213e6c6f66d45f708
MD5 def32b46141903bb67f7089a7682bee4
BLAKE2b-256 4d8f1bfb4dd203bb084941c1f774a137fba4e620b8adc639f8fdf03278e0f981

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 89dc97a410818aa9626793d3b5394a6a2347c6d2f12d2c2dfdd7facd39740163
MD5 62458387c0a328d1ef48e94b21066b89
BLAKE2b-256 76d3ec53fb1ff6510f99c2d1919ec95dfd9fef6b5c43e14ac0b54eadfdbdb660

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 70e13a704d21508d454332b0d3f3ded07d1cc19414433c543a370b3f035890a0
MD5 3b9ff26f9f98b3408e8ce0c09ac2865b
BLAKE2b-256 137f736410a7261558cbfc796f24107fd4a7bfbeb53a3f3c476e9684e813d6a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b71946724c80c40b2bb0791ec77f0d5b50bc3eee4cb0366376860e2a9163ead9
MD5 8b63440f0801937c3c6306751126055d
BLAKE2b-256 a8044e845ad8198244325e933e0d04c7cb3b350dd7618c73ecbe692b7f425d82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 0483fff60865e60a7419d5328007b7e2accf39370f08ff76a5e1aca957c93835
MD5 54cfcd476d683e4063810358370643da
BLAKE2b-256 0527d05d3a61cc750d46324b109af6babe30ef0f1ce4a1bd81fc2fa74b8aa9c4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.9-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.9-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 80cada3acd000cc7aa14196f8fc373bf3caff7b10cded1025bc1900b769d44a9
MD5 1ed91e2b6ad8928875855dd741974663
BLAKE2b-256 29667b99f1714b197ad7e02a3b6a37b4a2193b1ed0a6a6aa87ae54f3015aec6c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.9-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.9-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 45b063322a62a4df5e6f46247592dde862afccb21cb210dce2eecbdfe932dc42
MD5 5c0e0b6cb8eec9d5ababd70c097bd9f4
BLAKE2b-256 c9bc116c5fb65a36625a17645a32cbbf193db3c3035bc65c0bd278fb3fbf6407

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0f22e7cdeee8d7be3856e573e0c48da5d28e318775d667e4af3fd9977426695d
MD5 5667f61c0cad1e5a487b10c00cc88d06
BLAKE2b-256 1cb68540ec6e568a0c6a45277d5eebe19f50a84037046be34ed5acb064289200

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.9-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ace93d1cc234319715c61ae51ffff20bd658a7ec6e5af93a54ba9840233f7061
MD5 8c13292f923e7a58846088f81aca2c3d
BLAKE2b-256 d427f00a179a09b04793ca6024d093f8dd3017ed6920ec2e951716976c732d72

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