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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.5.19.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.19.tar.gz
Algorithm Hash digest
SHA256 f52000a27281979f449bbc760718782f750211eb748dd820a3a230f7f2f798af
MD5 9fef804caba8f00a384bf48ce2a6c952
BLAKE2b-256 03d3f050dcfc3563fa1b01bf6b4f4a8a54e182a0f613fc80b3531cfe07e8075f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 804243d7b194f5b2e0bad1eb4fa49280991476c3861f8a5f4c9dbc6e9bef6522
MD5 95287e11116cbb1bb115c95112a18445
BLAKE2b-256 c8df81791a4d0ab395cf89385a39dd58ebd1e1e003cd9e8f27c04a1dec212c96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 315e2b7fab168fc78ceb93218389efc49775545f2f63e0890ba4dee89f953302
MD5 dbc24c4350a7081881899f46dbc11c63
BLAKE2b-256 4823cc0dc4b5bc6748cbaed1e045033433359ae1f61b7b7cb0735c0a618a6008

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.19-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.19-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a79f1804124c694fa2c7d01e29fccca4b63ea0f798f61e93eb485cb4471aee62
MD5 114b332b3ffe7a1939df666fe31461df
BLAKE2b-256 95bdd7b9d2da805e598ccbbf6f0de239e6f331728e11143f5f569e41c9f8c6a1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.19-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.19-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2afe1530192b4061c781dc9a5f4b3024b011ba9547444d143369ff031059f509
MD5 aa3ffe1614732406dc8fab6c7a7b6321
BLAKE2b-256 f9b30db611678dd3b3e657864f103d98b1a381cfc3500848fe27cc2c1e0c199f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 063c0b3f254a78fad10e78d7b61988aefc423a9d5cb315306326c99d770c7589
MD5 c88faf28f9ca2cf2574faa3e71b1e7c7
BLAKE2b-256 a73a3d74365bbc6bd4ce753649c351202b88691a779e77253c5f52059e44df85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a6c6cb389c8087338c525a2e9ceea5f8ddad1bef0c1008165e34797758ee3cee
MD5 e06d7aa3312146b0c637c2d1bfa15680
BLAKE2b-256 5d6218384ebd2eb61b123f80a689fa5f2ab9b87dbcd3d35dd426e13eb6e1a264

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 39aa9ceeb9c29d0c120d4ff9e0ecb7b2dcbbfc35b39f36606ea44176e5d68dd2
MD5 acf53540d9e554d566a402e2107fcc50
BLAKE2b-256 e3275ed37cd14b44b1c87f6f5d0fb30d59d20d0f2a0732c1c379b314c213fcc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 38cbbf310020eebf8e0fd101da820669e54056b5629247d0912e2d215057c3c0
MD5 1c9afc304398699f92a267207d3e0d24
BLAKE2b-256 13d70c7051d2734435c3781015ce93822a645b269f73ef58f2afaac94921753c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.19-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.19-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 85cb4628e398d21f067c5ab1b4ff5da851f283ddbe845402f84dc0a349a5d11f
MD5 066943cc90e718b6ba37e920d00b5acd
BLAKE2b-256 43aa5c0ea77b9e932ce5fa627d0602268f5d58b03c55bd05b8b82ea2ef7458cd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.19-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.19-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4744e8a44a4ccb5a92ccb9feccf823fc7c6266c5bb3efa02d07a1c4f9b07fa94
MD5 76e193e627b43383cb79f399880275cc
BLAKE2b-256 b31e98466a93f7a4022faf2fee10486ad8ff5178693cc90299c7c45ee804cf74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 260441db0ecad171ed110aba270034ef2d1eb5d205734a26b7056d6f8e4f0f12
MD5 61ea874b1235063f800e8789e82abb21
BLAKE2b-256 47b83c417c47eb8a80e811d53fe197d746ddc820d9673111a744af3540f49fbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a11e285cc5297e775febec8c104582c1e25470dae75f58751433fe78a276778b
MD5 b4761fcea3880e2665ee541b4264f93e
BLAKE2b-256 291d9b9da4db6b2ec908d3eda07afffd8bf0ee4aef68a482e5ba0e053f1d877e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7dbaef91418ffe6e5ec620fc14b88706fd68c1874b1a9effc2f1c2c222fa4d1e
MD5 519978e1cbb39840d3ef5f36650fff1d
BLAKE2b-256 c6233dceddb660b5d9aec4a3f7f1c1761c4e5bbfb2449fe3ba6014baecd3da87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 cd08548434d22d1b6de5bd484cae679b39e2c09c2b63f54549269f40af7889c2
MD5 b74715998c20350ce8a9a74e45bc96f4
BLAKE2b-256 bfd3c091c76ef5ef509efccd39430a91af14b75fbd1ffd55d5b123f367e0505a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.19-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.19-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 95fc16c2f0cb38f40d909b689a8fcfe31f72655540cf491dbdc079f54924e805
MD5 44d715d0e08b1219e49d51e41b6d8325
BLAKE2b-256 d5b7ba3983435bdfff9524c1405fcdd27a6f437fbeac4a2aa672ef56112ddb28

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.19-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.19-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 16f2109f286995ddfcf2df98eeaacbfe1f45bc11a42b29795501e591000b4c79
MD5 bf51ad1e85ba6f19e1b7a35d0d2caa34
BLAKE2b-256 1a49f3db459c45d6243e6428aa0d7320cfbecc193c4178f85a95622c086ce033

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8f430e0b5f2d4beb0d70faa6929ea4480221c029d7fb61f53605402260a8472b
MD5 2a89385a0517f9277cfbc31e178011e0
BLAKE2b-256 3750e3fa6086ed9305aa25ab12e96be840ce0548ab48d3f95c7f4f93f4f4b680

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1ddb8bb5f03ce630dc39f1896d1214299a1fef98bf5cfbc662a2b327cd61ad9b
MD5 19d94d18d9a8d51b0a3dee91d738e64c
BLAKE2b-256 0f9014e164217c599e8de4f56d48dcd17b65488e489062d30093f53082cfb573

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6ce28b5c58d46c8bc2898d7db0dc87abe285c0c3a46626744a901f22d35daaf3
MD5 0ac027bbcce72f6efc78cc30ec09f6e3
BLAKE2b-256 f609daaf92890156122b8a0e308998842e8b9316f09563ec72d536f7c344602b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 5629fa43552a140ad7e8a8f672042c7be544f774b24b29a4fc6d8b49370e194f
MD5 903f76d86e648346d9ba26155f544313
BLAKE2b-256 dd58a68d06e5a12a040fd49389ed404c78748c9ec839da19d6d6fc45409c1c25

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.19-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.19-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ffda80161b15e488547670a37083c4ee54acbd443a0b357e1228e3a310cc6967
MD5 e31071cd791c1a94bdd4ebbacb158d2f
BLAKE2b-256 a6eb97e00ecf81efef4b73d6c8c1005280b3c754f0ae7061db3567013de56609

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.19-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.19-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 436a1ca585f079f83579a0c9fe9eb9f107072f45e403dc1b0924b7ab2b95ec33
MD5 a763cbda6485b05ba90d25a5ae761b7a
BLAKE2b-256 5c2d6b64ea2f67fcaeab913207adb5516ae25a4e559b87a4682cfcd044635b84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 069e728c1cb24f105322b56d3735435ba5a1af0a414e58adf57a3b135d56cc84
MD5 554f7f7a40cf2dddc6d6929601f79f21
BLAKE2b-256 6d0106b782d7c67a8e0c366b2f7eb1fe910b696a2b515d2e882f87094e3f3e9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.19-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a1f5ed5cb25cf17ae52beaf8350ba612bc9e4bc5291b4e645aa559d562252909
MD5 20262f9a21752388c9f1cbfda39ea2c3
BLAKE2b-256 ad00b033a271c520b68ebcdc362849f70fb8f49ee6b845523bb8a1753b018cc9

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