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.22.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.22-cp313-cp313-musllinux_1_2_x86_64.whl (26.2 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.22-cp313-cp313-musllinux_1_2_i686.whl (25.7 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

passagemath_glucose-10.5.22-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.22-cp313-cp313-macosx_14_0_arm64.whl (175.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.5.22-cp313-cp313-macosx_13_0_x86_64.whl (185.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.5.22-cp312-cp312-musllinux_1_2_x86_64.whl (30.1 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.22-cp312-cp312-musllinux_1_2_i686.whl (30.3 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_glucose-10.5.22-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.22-cp312-cp312-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.5.22-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.22-cp311-cp311-musllinux_1_2_x86_64.whl (30.1 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.22-cp311-cp311-musllinux_1_2_i686.whl (29.9 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

passagemath_glucose-10.5.22-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.22-cp311-cp311-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.5.22-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.22-cp310-cp310-musllinux_1_2_x86_64.whl (29.2 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.22-cp310-cp310-musllinux_1_2_i686.whl (29.0 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

passagemath_glucose-10.5.22-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.22-cp310-cp310-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.5.22-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.22-cp39-cp39-musllinux_1_2_x86_64.whl (29.0 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

passagemath_glucose-10.5.22-cp39-cp39-musllinux_1_2_i686.whl (28.8 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

passagemath_glucose-10.5.22-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.22-cp39-cp39-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.5.22.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.22.tar.gz
Algorithm Hash digest
SHA256 06196de03337c936271756bae8cf3cbe4f8840df266ab4ce2cda08f1848bbdf4
MD5 e36afbac900cf97662bb3c04770cdcf8
BLAKE2b-256 bd8ccc2821de7bd8b03e47590a9991ebeb32e4632aec41a57885504427f204fe

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.22-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9b1191ea550f0148cf43ee22b757f2ba98211ee2beda183259326614d5a5bad3
MD5 e98d493db5a9820f3f31705d9fa9e7df
BLAKE2b-256 66807194e67b9a8ce6bada5ba8cef7cc10931eb1ea5d9c7c35bb4fe48e6df890

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.22-cp313-cp313-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 9a2402aa6bb92e603299518e01172daad8cfa95422558bbb8dafcd1f6bb92875
MD5 9313acdab3e1dda039bbd6d739b31ff3
BLAKE2b-256 9f6b7f49f47cffc28a3f1929a80b0b0c214e6eb57fec8331a6e8516f870a8f4d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.22-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f0ce20a3303818c15e86cee8ae4d02f24cc6dc5bcf1ea49947950d1d2a1ae425
MD5 fb7fb44e419393fe9c1443deb40afc27
BLAKE2b-256 e2bc992a77f9bdc8fded01711f9364b6f1d2aedd45063301814b2e8a7f419f52

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.22-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d3b3a5648bbed0dfba227fa793253d3c9af0c9f73b83818c0d16ccf23b7f89c9
MD5 8479db13fbe4ec1791c39638bf4eff0c
BLAKE2b-256 ab5a346c85fc36580f5bbc8b5fa659e5d431c1c0bb6ee5334a1aa44a25ab5f14

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.22-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9eca6fde5461f61a48a3bd9f8433ecc2cdff94f203af74deb4a70e38ee45d350
MD5 ae529dea6eb90ffd922a50ae84762c5b
BLAKE2b-256 c33addb9408318b115fc7b7c040976c3a2e4006fb963de05946f3b6354125aa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c78a7bc5228b6a82c1b2aee25e62a2e6fb4c06505f3b4c96cf4c02d64692d5de
MD5 4c313fbff230032bb4943e6bec75ef3a
BLAKE2b-256 0a91c0c34f422ec78a9b1fdd16bca85e5741bb371ba7a46e1bd96cd9064266a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 ba5ccdff6b50d244d832f832f73520d062d8df03ffa4ea7334fb3169929be8bc
MD5 5f9d6c6654e5e38d7eb2926fb24c33ef
BLAKE2b-256 88097956daa9b0e4eb1c7bf92fcc73792e213580667acec935c544d045c516be

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.22-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4a12b2d0a0b4d9c6b0c3c980dd4c549e4d9083cec2bf196369f28d45c0d94b51
MD5 765f64b945ebb47dcb5b7ed16f66139e
BLAKE2b-256 e0e7089dfcacc0b25a572011874a0ad081e4a8431182cf98011f043f45c13319

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 64bb85cf2f6c433aabf4a5040ead73c2f8d81777059ee2ee2c52155ab6436e77
MD5 60524532cfbf9f60ff36be0854fbac1e
BLAKE2b-256 c788aa444002891df69177910d305e615f812fe57e3745a6e9ce3e55b84aac10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6c10b9bd0f9bb0e3e542b9ae1d6f15afedc6a6635d12537a3f017ae86c79aba5
MD5 4f7ef90bda7a5e4e5b8455d666bc0aae
BLAKE2b-256 4709f6ff9e33df6940243815bd2eaf53f065b444b90f3e9afa6b02e158e76681

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4aaf34ac40d4fcb3493da28022b6c09fbe6264b7fb74b4ffc4abe18f8f557bb7
MD5 dde0e0a5de6a04740a7d230b59663ca8
BLAKE2b-256 d1631684c4131e0d365ea0d7c5dde445602129fcb90b82a95900fa8c5b3455b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 2d64ea7f126432a9d6b1e1fb89b007ef9117374a57baf00bba5140b54d1b6037
MD5 c82ee1e56c28174ace92b34f16df66bc
BLAKE2b-256 0021a17d206fad32e11cf41b3cf6717b0a89b6ef993e847addcacf5efb0e82cf

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.22-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f127202451cee0caac9ae918ea5b91c626e88dbb7f8edea120a31c3d819f8030
MD5 10b9b3e0fb7afb278f63c1dd12c6ab2a
BLAKE2b-256 1571194bf034eff25a0fdca36ffb9115ceb24906a202a1770302a7cd844ec2ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b08978a502aee52af2560f7b35e1407f7e0831a4b9a7328bf7f8349372e34571
MD5 07cf0c48c286daeb90bf1467096cc654
BLAKE2b-256 7d55f061f68b81c21e006e614c8695e08e0cac038f74b547406f9b7a4f1be1c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4fe77ad7b1cc7a2776b69734d42823bdb8fad4aa2c179989fdc60bdd78f31a6d
MD5 d422ba8046dd03cbc16745c510665514
BLAKE2b-256 a61fceabfabd13bd872e08567eb9d415b5a1e60cce7c3a57f9d25bdec02063c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 96640ed0ae812d945ffa843069bb49a570128bdb750a86493959644b87425f3e
MD5 c5186b2050b9f63646a31363858837fa
BLAKE2b-256 e30d7811ce97205e81cc86a77290dcde4072aadb74f3a8a224dff92a6685329f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 01923a106c522ce0037679205eb9aff41462825efe8fc368b41c9489ffc17e0f
MD5 a5240c3b0864c939eee4c4eee2dbffcb
BLAKE2b-256 d697002e93bf1a49b568650add8cbeff0faf646d43fb73762e082f93b94e78ce

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.22-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a594e4505b9464c410a347ce1a184950b3c6a637f06649f1f67a9caa9261bd90
MD5 51cc1bef5f3868071fe66f1e989e2e08
BLAKE2b-256 5a59e098767665f70ed6141f7c76c2619fdadb1f626a5102586b78eccd6d4bc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 165abcf117fd0d2c540f4e18b6cd54db9e97f04aceb660926757334a853a3f34
MD5 61a089f75da28abd1badc0042d99f4a6
BLAKE2b-256 4b49204b2d54fbcd9c4c3da34c8086febe4685765dc34add4425892c2e633f53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9c1bd1b8ce16326ccbe07ce7f8e4ecf7b5cbbc5b86f70cadf5c857617e0e68a0
MD5 68f1dd1d11c09c67e7592cb99b77dfe6
BLAKE2b-256 aa680f6f9c7f1afb3ffeadedd84b0d8c0a4ed04808289375179494f29f763d6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 200dd248800fe153c338d40d52f1e3fdc9964ecd5b23ab455e06583dacfa48d6
MD5 040d05408c3222a1d367f0c8d0283202
BLAKE2b-256 ec10b38bf10087af059dc05ab88fd3b69894debfe83e1a9bd78c686ffa8e97e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 272cdccc4b27c832ce0c27e525b12c8fa6f345c3267cc15cc98ab316f32818cd
MD5 29972f0b64b531ce86d888526b3ff21b
BLAKE2b-256 dd00d2475d3d5fe0c4e9d89324eb302056b2f2e22636fb208400b3f32e16edf0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.22-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f018df9279d145a5b65b50c8d012a4a384d045daa86e9772f47b1e3aa871817d
MD5 5a596592bf1e680405b85993936051e3
BLAKE2b-256 98bad00635f808bb23883f00031cffa8900c319220097b6f857695d685319b1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4e80df66a8d74e93f408f91ff8cc4e21890d6d99f8cf0df5a6f53910d75835fe
MD5 a50f0ed1e231152509314ee3903965da
BLAKE2b-256 c8b0d856cd62419ba82cf5d07f53f768d237adfe7a82dcf853ac6ea11a73a46b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.22-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e350fa692595386591f5ecd1ae9eb57ab32266f4d48506fa1b7002b96fe037b1
MD5 09d95d4ad9f4999f98a6e19d425c92e0
BLAKE2b-256 043389e6a521543455135e870dc46833590645c04cecbb9bab6fe94fd444b10b

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