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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.17-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.17.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.17.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.17.tar.gz
Algorithm Hash digest
SHA256 a542dad1132edf930dca8ab9680bf86b4d62e8950fc2d187b284828f90b2d616
MD5 1db8b5f5f950048c048987b6fb9708ce
BLAKE2b-256 dd2ad0e3a5091cb7c0094c7a7f5590769d9582e2cc24f2a7ec4a69f922749198

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f299fbbff2544c27906dd0bcbb2d69ee75a35c5c3d7579d4783f15a8730a00aa
MD5 9e10d8a8620f8707e48366e299ad30ca
BLAKE2b-256 8c2372b0188dda92a4aaf5896439fdb33fc9a289c4b597745a54f250f66b6df7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 2d72f534de3c8cc55f126335265f21c3ebe6344f5b9ab311d421a666469f8135
MD5 c88f0e2a010454d5659d6cade81a1429
BLAKE2b-256 3ccebe2ea4bc49a3a5d11516bddfad46a5448c98035825381985da495b7a3a22

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.17-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.17-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5e90f302c4abf7b416430d97d9c2c9f82610abf0c20c86d4113707336c796103
MD5 df4d2440826f88727dc253d44f4b2288
BLAKE2b-256 5492f8b01f999a66eb94723bf0b83a30c70279ad4ebb22853fd8964ef2f7340b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.17-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.17-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9d811dc9a8b41a5b78d2d98266ce060c80c427316aefc50f1ae65dcf440c2b85
MD5 245fca3cd4fa9fa04edddf9ec9c21ddb
BLAKE2b-256 172f6b76f2c238a460068303ef0236cc8afe1ac18202541f94f6125080946ef4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6953c00c68240a883f65d740b3ddb69e857e9f904c98e95f43fc0d9d582ce26e
MD5 cdae17e1364fecc232528a6fcf27422f
BLAKE2b-256 ac840bdfa576c938ec2b771fd25e42a5bc600a9472ecfc86961dd517d0d07d7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e8847d296a9271d6f7bf9d054d46f681ae0660ecb07cdef86b1aebf599548054
MD5 cc8eead18234410688c45a243b9e2f4e
BLAKE2b-256 76b19a59911127def45f0bead4960a4c3f657e67c83a37ce1240011c20b19527

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 079ce79dbb9a81a206a9466f47ff04d64010699e34a692e88583bb90b1424e4c
MD5 0f4ae1d52bd16e629c79bdefb9d276d3
BLAKE2b-256 e86b835f375e1d0c62ba524779a16731658f92a92ebf6294b836fcc5466b9471

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 f0da2df5d435d1fbb85dceb83e86ab7087fa92c936f2b092c997d994b9dadb9c
MD5 c95fcfd3febbab931944b71711ec5b4f
BLAKE2b-256 4344092a7d3cbf28e019cfa2dee9fc81f71ff4a226c6b611e1c272e3f763c67d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.17-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.17-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d6332ccf348c10c2334fa7489dbb8a434d531b5033813dddf3c3aad056dbbb76
MD5 a1209705fd4ca5eb370a7bc3da10e255
BLAKE2b-256 140c707a7b19f24109761424bb2312f3ba2d72fdd07c3a31cb1bdfd0aab8967e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.17-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.17-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 cc973c35fa5b2ccc8eb57dcae561ec751f425e015b2c3ceca9d38d088476fdf0
MD5 d1e5fbc58ac24d55bc9902c40490fcd3
BLAKE2b-256 005dd4f807197fd86735b6a06edcd4154c93e7d3b0436e6fc0e6fb132a21b413

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 434b8b0ecf68340f83a7c7718e5a6bd69111a7a3ee5da7f441ff6fdcf473d326
MD5 f9cde9e9777556aeeb3dbad5476174f6
BLAKE2b-256 62a8dea53f17d1416855c3f52da37e1a94e6a65e2dafa2bd760ffde7e70396f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 62451ab138645efabf2e856ff57202ae30f7c688769a118784d103b9c9d53d45
MD5 c9729131455187b322b06c14d1c9f824
BLAKE2b-256 fe05ef33b5a22a27c1de97523ee3f6e363ded5bfe5f69850d399773fe2bacc9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 64f19d3153b109f9f80a0782059a613108d275235923ee4062e51d3266f77c40
MD5 ecc395450cd9f71787704a5654643a59
BLAKE2b-256 387e21a5fd611ac72fd33f0b908a0f4a629ca938e901bc12086024f1405062b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 58ad3312d285bdc3b6bd5b377ff258c77cfbcb8e7456f881157a1a5c8d0895c5
MD5 0c89c590ed6294909d5603241072a023
BLAKE2b-256 384a34f564f40b593b361c04ba6ebbee2b38c4027b5291714d28df47ad0b6c7c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.17-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.17-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6651634d7aaa392744b05a32233d55139ae14ef03b765b7fbff91d1a5deabcea
MD5 f826def02e456f518682eb601169cd3a
BLAKE2b-256 d9fca11b8793172903eba40bec335865e0cb83f3457b871283e9a9c628c74674

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.17-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.17-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 340519af886f977b049fea6dc4ea6f1a52a4c91a4d59f357255a266d4ad66a79
MD5 a160a5cb5e8b020460cbcef64e4ab5ae
BLAKE2b-256 21b44832a3389ad85cc88f1353d96aa5558b8cd1c28648ddc4595b06ff546a02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cbb187cdf143d844c140c70e6b551efa2f3a33b5aab43225c29cbd8359cf3aa5
MD5 3249585f744cc728dc64d79888f1504d
BLAKE2b-256 e9211c2dd012f45dd7b966453bf79564e241bf09877fa5b644ae577389b9f4e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 12af85ff852ea52044dc834fef482688f6c4e15598c4e9571d2dc882536acce1
MD5 6135fb17ec3e1606f6e72e54b9844299
BLAKE2b-256 09c63e77ad33ba4231741c727a7a1ac4d063af19e58684e2a4f3c3f8d3c5e94c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0ba4d5f0371f57b573e64c5eae9663e7d9d7702dba1f3b00aac96251126eb38f
MD5 92cf936b68a4b22452066be7ba4d3d16
BLAKE2b-256 16b6b2e17e7da4d90e3eb605ead15f6fc28f38c933237250bd81189fd01a2fb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 ba7e26e9e0e33b355fe0173db09a79dba08293717a1f6b14ed93f08e491b1c24
MD5 7c10a594f3de709d8a95fc64ed19c02b
BLAKE2b-256 a80a5d157f2b01a6354585a70cb4e7ce2df81eb2e07aaa2c47d38ae9ee57d134

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.17-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.17-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0a2a99b865c2359b78dfa69e89edbeadde58a31b4cfffd9f4558ea055462f24f
MD5 ed31a73db1bc61cb560e1b9610661c9c
BLAKE2b-256 38e0f060ae2ac76c75fe49cab9de60bb0a4350eb5d78420fdf7b2f8e939cbe03

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.17-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.17-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 178add0219a8f07061647661971fa527c93bc64300e1da614f037a6261c22434
MD5 77fe1f0b5ef00e5576913b28d1ca14fc
BLAKE2b-256 6ff816b46fce56c88e3585cf7046f3f4b0ffcf8d7a63238a292994a1330b1228

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7d27d537cb71d58538cba72c67c7af1070e7bebd3ca992c391c630d8e35693f4
MD5 5aeb5db728370c62982f68853e047a91
BLAKE2b-256 87ae2a580728a82c3f2976256319380e2ab29fd608c2231d2a327f9af61fd15a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.17-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1ca6230c74bc17312b145841e72bd107bea35adfcf9b9af71f2f564f9acf6162
MD5 c87387245c6c7219f5268e9f53feadd8
BLAKE2b-256 2d9c708158d3202282e9885043d4584e03b378a1c7d4af14263de304fc793806

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