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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.5.20.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.20.tar.gz
Algorithm Hash digest
SHA256 aa34cdbec72c920233dcb14fbd8e06cbccc72aa92d99045f76b683f461794423
MD5 5cd00c43b4d1cc3230347662db4b34fb
BLAKE2b-256 7f255a7bf616f40040ba134339f081812db42516b1fddc8bae9b0daae0abc22a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0cc85e24f19bf3ea759b91e747ab99317b23d05abe25433261dc46fd008a3f9c
MD5 0d3c1a31b2599d3e866344e82faaa0a6
BLAKE2b-256 1a27df8e3e375a86a78f645a7264195f35e24639758aa82ed8a16fe62b8a2933

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 e5703ba18a91d836afb2ab206b3eca4ac535ece4971461d0ef5c8ae3427da8da
MD5 6a1b1caeff81ba48b2df47390790cc45
BLAKE2b-256 5fb79102c3c70f9b806b0d28e73e7470f965800ba3a0d4eee50a6c55f6a44c0f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.20-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.20-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 98e74e3fb62f4524efa903316a2bd00965f3f302fb38538062dc141aebaa8991
MD5 3daebdd9e1b8083914e8cfb13bcc952a
BLAKE2b-256 f0b2a062fd4a9fead1c61567461253bf20209532daa59475940d4a398a9c27b8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.20-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.20-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4caf89957ad01fbe3c53a6487df75aad5d50c3b90ba1acd330ed464c24c3e216
MD5 532375e00a04291b84af1cb8a92b22d4
BLAKE2b-256 08267b4a6c0bacad52bf16ab545c52814b3706f104f772d782a7d7ddbedcc0ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 06277a9915bb017fc6c3a5e099103732d4336fac40cd487d22db74fdf87ff573
MD5 c38eb8357ae0b0fb1a6ca2defcb1bf90
BLAKE2b-256 456edb6f3486c6d1fc94b65bd7892a8f67cd327922beee0652f6a1aa2d7a847b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 98df348e4a3fa52f559cbf3fddd9cc0f6a1109316c70ea1f6c9e00b46953f423
MD5 5bedbb18a2e64f88bc3fba793c36c011
BLAKE2b-256 86a556e7423395c130f2671efcac88103bb0152a9eadad2a0b3384b5cda34538

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f32a119be9877d93486367fe7bbadfe89c62fbbf06408b949e93fe64fdc739ef
MD5 01b7badba5959c61f0632c9e2c448d95
BLAKE2b-256 731dd3a47af89a1f41043aaaf141714608877ee1137559fff90f771b42989d74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 1ef14a988a5882d56ac619e33010bf59109f4c1290fb9147cec465c0ea81aa84
MD5 1b5111b973bea78ac81385134106c388
BLAKE2b-256 a385c36084fb8b601ce8cbfa8103a3da604acdf77f898d5c59c670f62ba64ec2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.20-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.20-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b21364f10d49e6ed0a485aaf81379a5ca48fa1bfe6078242f9298ad7eef4ceb0
MD5 20340495ad66fb2cdc6e90d95368a994
BLAKE2b-256 23729773bd40a9b1843cbaa35c0d4b97526f345071139ae95a2c92b8537ea973

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.20-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.20-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 a257bc3e9ef4292015bae3060023f69727896fcc008d368a8c005f010a4000b6
MD5 d6abe54308e221c156875e0d7fa837d6
BLAKE2b-256 a0792ed449531b8cdcdfaa214caae4a372d282ab893d4b494b9b4b274482c80d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 30f224862211f5e9f524a4113c4addedee341d155dcd085786b4ceee98433bfd
MD5 c862ca5b0d10eeb07a175c0054896806
BLAKE2b-256 7eb768c4e6aac987724995b7a83c8b6afed7af56cc5bb4c4fe04d4bc0a805d8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 902d0f167f25b8101e6252d878c73c7d3db65b087e81be991d1e17e5954ae1c9
MD5 b5649598220a57f3100dcd73779034b6
BLAKE2b-256 45050aa5dd2e940f82937b550169ccf6126d3c1c36b08b3daa5b1492514acca8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 201a29e3ed64f189a580cb2bdc8ccd09be69084d6b24f4bf10c79aae3a5c1c3e
MD5 c41f285c562bc1885fb6f4d9e3e73803
BLAKE2b-256 7d3a04dc8202546294084f06e0df47a7815b6e55acd20780202e2d6298365d6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 14b4d6ebd6dfcf8e6baf32aca60694aab5d545187de350eddee1a3659798756d
MD5 51fd3519b8aa1447cc1a92b130cb6e5c
BLAKE2b-256 59bcb4efe4cd349728de73f1ad3e33ef9703e2e006b3086bb760ec5a8073f321

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.20-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.20-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1d5575274b04e2a7a70d5ac20a13f2855318ef63f0f0c4fe2cdb3326b02bfeba
MD5 810ae9c0d7abbc0e39cd497ba32efa4a
BLAKE2b-256 9ba40e0a368635e278909c5f6cf550ded7c695368164e9bd5a6c13c286ef9556

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.20-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.20-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 76ae2b260b6cd094860d0cc95d6b2d02115375e96751eedf372f0acf6a05e0ea
MD5 bd82cf0c1d9b1bf6cb55a7d6c80053c4
BLAKE2b-256 e882c493f2240fbb794f159de21e9e52bd17f15e5d7e8ea371f8cacff48699e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2bcd1e94d97289efc7a99b0ac321efe38890a8a1edc4e29c27380d27c94f0eca
MD5 c6a058ac138bb194b6da8a8cadeed82a
BLAKE2b-256 f93a8a65f51597b69080f70d8afdf4c80e46615f5d6bcaf33da65d7528c488bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 da68735c04e7d4c0326f50e07bdfb816648317f2d1f2540eb5b87ad517bd5c0c
MD5 12da639a945b0ab3bddce2a34b9942f9
BLAKE2b-256 c24313124495682407dcc3b558538ad5fd4eb604b7243f2a7c66c8702ae02ec3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 95841e807b15ed9fcfead66792ca62db1a3ff66530f0b3adecf65c31908403fa
MD5 34cf75300e3d2604dc79e7ffb2a6ffa4
BLAKE2b-256 8f1f5a9c9fc8de095fccb6876fc814b0878edee3757f916bbcd5019afe617d1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d8208dfb5f9cd003d2fbecde320598ac3fe9e34a547133a18f6b072d9688d6f3
MD5 6a068d2ef3f5421952b1c03d3ffff401
BLAKE2b-256 aab90bf104a07222206c1302fb740b82e7eab7fe3910b256caaf34dd6baff3ba

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.20-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.20-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 75bf28ea916d56da5007f5c7511578051c2ec96371257d2c795e248a9a527fec
MD5 04d5f3962963130b238b7a09ee0edbfd
BLAKE2b-256 d0bcfc4970e23132fccdb187fc87c370a2e247f178ac916683f3a7a50543995b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.20-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.20-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3ed74b639934bda2f43de6aa12fb56309172c74509bff159951ed72cee0400f7
MD5 124cee4ead6a629ebdd5729c8d4c82a0
BLAKE2b-256 eade820ddd9c364f49fefede1e66a88599de79200b232f15a640abaccc0f1bf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4341990554ae4fa8edb35eb827935ceed5e1175f3c492a51a2143169bfe9c751
MD5 849e122694eafeb6f44c8dfbfa755d28
BLAKE2b-256 cce39d8756aca5bd9fa2a78eee2e08c8f5ec9d4833794fd56f8d2592f431c00b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.20-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 64cf3e1a8c2b1d9a0a8a9e987b20634d8fa0fb6961b52d760ec52af687b83d85
MD5 3964653495ac6c0e5190044f964c8679
BLAKE2b-256 44f19f5da28a5277017cb0eeafa4d025d95107c269c7fca2a0bc6e268d7b4c81

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