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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_glucose-10.5.16-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.16-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.16-cp312-cp312-macosx_14_0_arm64.whl (175.8 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.5.16.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.16.tar.gz
Algorithm Hash digest
SHA256 f0acbb747d750d0f67788433872e291d4f905a283d1bb096bc798fcc17626146
MD5 de008fdcf6fefc7a3a6d36a4f06adc15
BLAKE2b-256 5afa0acff03360943431222f9285e298531404cee3fc7e9da79219a6e7d74d6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c5daacc80a1a74a8fdf8d7a97a4e670e5d6390a273cf6c186189004ba2b48d3c
MD5 d4fcaea62c814f50e2604a8c48d7e32b
BLAKE2b-256 9ad9c107506c1a76a61aebbce33941ecf9fadb0f9f6ba90795afddb15a62322f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 7b121ebe947585897cc8f43f7023078eae1982b19fd023b7037f7289ba985bad
MD5 8a05dbe6c8af084212c57853679093ac
BLAKE2b-256 50ffd69ac397b2311c53232dd3975a19ae3a5afba1d9d6825634e7a02be42edb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.16-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.16-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 69615ff1e0d0d1ded7b49db76aad974c8de3b8097affbddcd3ae8120a976ea2e
MD5 01567ee3522e0db35116a3e16a25fbd6
BLAKE2b-256 3dbd96822be08e83090b2fb111f1198256f18e4226d5cc026edb15b8fbc66161

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.16-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.16-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 0392b58bff7912ec2d44cadfc3d2451e4a25613cd5ede59d2f68ce72336db42e
MD5 4c7deeb810cbd329c947316a57a156ad
BLAKE2b-256 c05279b44a707eddec2bf3bf0fc46492ae647d1dc62b9721ddc74f4ebb19ea88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c26348c5bf69545b7c2f0bffdf0b420d2068fe450e78afca54ab137a2187cb1b
MD5 ca39a1dd13362fed0192f46f76bb8e4a
BLAKE2b-256 4e1cbfbf88a2e9d9d589c04a7ebb35ce680a334636019a6aa0e48be55b2283e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dc8c67a77c290640df803b1daafd48fd3524f92d5b19ed02c050d2957a26a483
MD5 1d19f8acf62b67c109fd87d335f5e299
BLAKE2b-256 492c55967167ed5c984a568df1a70b0891a7178c209036c928398ae7c00ceb86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f9d5396b8d215512bdcad0fe0a2dbeb6cc4f51bd1867bb28221c26fe9edd329a
MD5 644f40deb7adb476f3c4f125ab254de3
BLAKE2b-256 a238dbc082a3f691776df5df59f1a666898f9ad0c20eb173891ec80e8199e3ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 e09030c748779f0dc0bd38fb2346df90b5fc6d65f653e2e1b4f32255fbfd6651
MD5 2ff42074f0dae3572ac0ceb1095aec2d
BLAKE2b-256 e1961f4fbd2c850bc30e025abb5d9901bab17aa11f60717d27d7d73ef685970d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.16-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.16-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7af9e41f9781c2809d67add438ee91974b01d91cdb4ea4a14160152f6040c7e0
MD5 b68447c266a6b98a73e667156d972fd7
BLAKE2b-256 7ea77c29d34451f93266220f877f985a08cb4563de0de39b1fa96c11a3f9586c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.16-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.16-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 67bc2d3aa61d635e9d0601ebf992d2c0b50b18beedb4acd6639c945cc4a17acb
MD5 53e5476771ff0977a720c68bdf3d691a
BLAKE2b-256 e803b9917f6f0fd30597d23ff1cb4022f63147eace632a3a1a4a86beab48c145

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0b834280e5826a50c4b3a565320b768eb1262a54e7041368bdc383464f3341e2
MD5 157375a476f50c80aac74fcfcace3ec8
BLAKE2b-256 0dee00b90a7b40e871499fca58507c973330eced18958449538c5d67498b595e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1c1f408489c28e59cc598eaaecf84f21bd5b5d359eaef65b676a990ebbe16aae
MD5 3347ebc1198b5b4ccce5004605cec647
BLAKE2b-256 4fc29eb6c3203e268cce49f36c989a3434664d55f765ce4427007ac30fa56106

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 30894f8a996d1785986452b4a8cebbd332fad5bfa00ba610ab8da27e87db6ab4
MD5 396d7da9b9fc199a4409b908e52591e7
BLAKE2b-256 c93f03952c73a5083b33444fda32cff02310c4a066c6b1fe21a056081c89bb20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 3d81b4c95ef6f0cc714b62e1f17d8ba6da2dcb115a10cd771dd682bac1bccb90
MD5 383bc8b703330fb4c21fbe26bdc5d512
BLAKE2b-256 beb336d13a9e6e0ed43327811d9f6c2d445a4ab1e39dfcd66f31b0fa7de9cbb0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.16-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.16-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7f5e7a1032a1ae63bf614159fb3eece43ddfca2af3dddee32f99a069f9d105c4
MD5 a85d1bca7faae4b7edd12df130edbe7c
BLAKE2b-256 8d013dec43f9085bae06c12b23ed22707db52508489d08a7b7b4bbed618c73e1

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.16-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.16-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ab674e6f58a2971e0f7fb477042f1d8964fb581ce5e209a39716c72e44f2832d
MD5 8b042a83223da2ec28bd9d649127a861
BLAKE2b-256 c0c397c69f81e27532563ea92c3b24e6c3fdd1f65bc2481907c38a458085292a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cb3ceff3aa34922df40a05fbcef2381139b19af1df34f5c1f35daca5a337d86b
MD5 d2097b86deb3c6e1edb18a3e06023d19
BLAKE2b-256 e824e13d9ff552be92a4407f964cbe9021199dadf6de1929831cfa378e1fc0e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 48478ae0fed14bc18ad6fc3da3eb5d913d6d41837afd6aa554a409efb02dc57e
MD5 b700f5a4f56d3bfcf0ac52cbfb90f9a4
BLAKE2b-256 a8b987338d0f232a633fcceb6233f19e62e4e6ecec1855a84ea0d41fbfb58fe1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e75bfae9659cd4e8552ca663824c8ac76bc26d12bbc8b99d0b51a045c5804df6
MD5 e5477aa13d2055dcbabd431890657727
BLAKE2b-256 a0f63bde56fd10a650f7c01bb76533fb2409f5e7116e82b92205a042bb5d90ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 768e79edbcb98cdd4f7f4450726e51639c1bde5ecd80b442fdc174795021fd95
MD5 4ec4641a4ca6a5108523c52f1bf72512
BLAKE2b-256 a138fb03b209d258fe63392e4093f3c962a6ebb6acf3bf4fa3b6ead360637570

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.16-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.16-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 afe27dda130b8eff30d31c8413bf4ff251dc5279fc3e099fd7dfc1bd39c16af2
MD5 0dccabeb122326e002dc19d79e8efd96
BLAKE2b-256 cd7041499a2981ad3eda264badd8dea44317fe17b5a37485e677dd5b4f8b234c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.16-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.16-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 5a27314039130786f52002a9da14bcc311595403fa5701856e643325c28b1813
MD5 b3f5b8787d16a979899fda0d0b071804
BLAKE2b-256 9aed94ebdebf7c7f80109d6f34bb3c46eddca21f4fe5d0d07348db6b85783488

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ee6a4b06feb5c4c02462818485c42c1500fb2b58a376b60179a975db41a20af8
MD5 534a4cfc596e5c5f18c222432f48382d
BLAKE2b-256 86143512f83fa7f9136603a35194d81ff6759f69e583a58a85807d40d3e7ef79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.16-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 806665790eaee8c6172a64bd8dcb34eaa2e977c05e6b58d29707fc01dca050f8
MD5 97aa350e4d84c3348afde1b2d634aa3f
BLAKE2b-256 69b1199f5b40e5a8e26612510ba12b52bee6f215e8bd48f32ed4b32122e4366f

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