Skip to main content

passagemath: Interface to the SAT solver glucose

Project description

passagemath is open source mathematical software in Python, released under the GNU General Public Licence GPLv2+.

It is a fork of SageMath, which has been developed 2005-2025 under the motto “Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB”.

The passagemath fork uses the motto “Creating a Free Passage Between the Scientific Python Ecosystem and Mathematical Software Communities.” It was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support and provides binary wheels suitable for all major Linux distributions and recent versions of macOS.

Binary wheels for native Windows (x86_64) are are available for a subset of the passagemath distributions. Use of the full functionality of passagemath on Windows currently requires the use of Windows Subsystem for Linux (WSL) or virtualization.

The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.13.x.

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.6.13.tar.gz (4.4 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.6.13-cp313-cp313-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.13-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.13-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.13-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.13-cp313-cp313-macosx_13_0_x86_64.whl (186.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.13-cp312-cp312-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.13-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.13-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.13-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.13-cp312-cp312-macosx_13_0_x86_64.whl (187.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_glucose-10.6.13-cp311-cp311-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.13-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.13-cp311-cp311-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.13-cp311-cp311-macosx_13_0_x86_64.whl (187.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.13-cp310-cp310-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.13-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.13-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.13-cp310-cp310-macosx_14_0_arm64.whl (176.8 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.13-cp310-cp310-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file passagemath_glucose-10.6.13.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.13.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for passagemath_glucose-10.6.13.tar.gz
Algorithm Hash digest
SHA256 e147bb7d63a7193ff1e1979faa7732fa35079354fcfa574974548c3ae77f95bb
MD5 3855bc39441d4fbfc064acedfa9341ca
BLAKE2b-256 ba35c560ba5ce6f18480e9bbbe9a7e5b79d018f35f07a76e061e7ff92fc3d509

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 10011d4dfcd4a0f00ec73fcb725f1af450060b3135863b82f32e1365ad55fb92
MD5 3aef90a9f4fbdd3a53309254a47444e9
BLAKE2b-256 44f51346cff4c4c27db0d1dd0a8be8e1e2b5993d35fa28a7d13510495c333acc

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.13-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2477681da84c55f449061cdc7943439753b774b40fb5241a16726c9f4a5daab3
MD5 0a60267e447116abaa0c4198fa3f3e4a
BLAKE2b-256 fc3f496dd912d35d15bf0517488b95a42dc55e21e16485eb6a69004e453dd2b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dfd6f26e8d8ee0e6119328312e8a90ca59a05429a8530ab4d84089868b56b70b
MD5 2ef1311bf70dc2c52614099bd6c68553
BLAKE2b-256 f6e7e2858761785f4631806ab87b8bfd8983c53c50b4416918e13892f0e33d21

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.13-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2a2ea81b2613d170c3b28fa998afd7c9de3ebb38b80167f377ce65afadf94b44
MD5 277beeaa597807979d49e5dd34a0adfe
BLAKE2b-256 815924479620787a47e9fe451463411657fc8071a4d557cfd9f8abaaaf6e74e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 78e99e80eb825ef0d5ce9cee476c8064ae3cfa0cfe998a26f8e998fe47f6f066
MD5 cd0354f56b2ad06cc5aced6eab6b206c
BLAKE2b-256 6ca684a6cda84551491f7265215dd968ea6d318f850a4e391658630fa3b5eacb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 304eb0839e7d34c18c79a755dd9e15911a4fd74e0b216524d532161978b88058
MD5 ed55a8dce2063a8e8c8d3ddd86b82c88
BLAKE2b-256 7af11b10a40750eb2464231392ab051e14ee6103c20ef7f343f6397785ac2385

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6246540f1c7060bea6c8d30dd43774ff4173a06ceb1cac6fd7dce9a144672b02
MD5 f6dcfcb85f88ea97af51a68d99c09fbc
BLAKE2b-256 bebbca6afee4fc286ca799d39de5b38f060e5228909f46b54e4cf07a4b351dde

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.13-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e4c3403901e7ef038db9044313b56b8aa679d65892f029209a939e5c30acdf20
MD5 2468f3db7c9f8d6d5362bed40aa8fb34
BLAKE2b-256 f8afb20250fe6812c48b5fbea00cb2b59f160a8e77aeb29a3560f0ec447c5712

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7456f426a3c7d3056f5e2968af5bb45ddc60159a9712ef4d2964ec8841794493
MD5 c15255775e3a835cc2255653277aeddd
BLAKE2b-256 2249ca55dc8f5932627c6994fee570967ec85fec2382d4eb92f68f52e4c59b31

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.13-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c2ea0b445e90b6d6036d213dbd27d9a089a0cae723874eb6e0649af72aa05318
MD5 829e7ba47a0121b3f95c1f3cd05719e7
BLAKE2b-256 78d686a2d6b827fd8c1e64a0779be897734194fda6600bfe6c18baa09a1b9d7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b91a6a05cda26aeb570645108d22226b14f3ef3227a0e6dfd1b6bc4cdc8f1a7b
MD5 68593116f62d600e7626c8f7662ddc18
BLAKE2b-256 cb8df4ded0fac12100f9c04360a70e8c6e9b57b782f06480c893fe48c550344f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 24f6c5d758722f780a7d3c1c845ede6b78834ea8d98912cc07b70b589adc1472
MD5 2f1c4b948dac6564b475c77a4953cad2
BLAKE2b-256 7785e29f7ee04b569a152a25d95820055a292fd98010f8d8faecebf92bf9b3bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7b3ed0f7a39158275559e639a82431efb03fb01bc1b2dcce4854641f34d8e1de
MD5 b7fefddcc90b2b8c45559fd3043e382c
BLAKE2b-256 5750faaeea032632682a0a86dd2454ebf1e2465d9f1aee9ee14cb9c180c65034

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.13-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 97e4c0b0c3317d32dedcd7a385bfff7bd5f0724766e77edd16514c0b1c0de20a
MD5 d0c9520a77baf188c89f5258e1a2f55f
BLAKE2b-256 dde0aa49478f19eecce475159c883789408340b7b2f04c9e1cddfaef145a7f0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b54967bfd2fe8eb549d5a7c7c3303aee3535de545145d47b4598ade2e356f35b
MD5 7fb429491bd92ff15cbf8560d0a744b2
BLAKE2b-256 adb44fe5285b7f665077436332954c7979d465ef169ff8cd612479e76b14943c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b7dbb058ea9bd3a47f9b2fbbfda387bd60a58a8e73e2985edeebf82c558d8689
MD5 f9370f8e00a888e2053ff6fbcf0966ab
BLAKE2b-256 7fde652bd76aac0a2b6c11e6fab2aefe40b09cc2a046a360c110e9fe4a4d4204

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8c873018b2a4c0d62a821ef3baf404f28c710062c63644373a6f1f589f1f4041
MD5 a68372eff42b5750571970dcd9beb932
BLAKE2b-256 8af3b063ef89e74133f34b8b8fcfcb1cbaa138a9d04c9634f999b1935dc56199

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e54fa142dc6ee9523b915bfa5e249f6f0ca7e20654f2b87ff49171da58cbde93
MD5 41e7b03e63c55d3dbb70bc7a74a04173
BLAKE2b-256 0c373d08ad23e23d2976465e46f6e788b27d2da122167755c33f758985ef59ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3119731d95da35f3402fc7420b9ff5d1569ff84673bce59e594d718e03ef4745
MD5 f70cf0524edaf43e4b98b2b3a88f41b0
BLAKE2b-256 0bf835a122f4ce625be47cd90eda4264caf25673f194ffc6ace2e11f94bd0fc2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.13-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8960c8e56ab6a56b0e7780299ecdc05b4154b8bde42ea585445baa35b00fa99b
MD5 7a7461ebfdb2af3343a7b25563a6ecf6
BLAKE2b-256 cfc1a2dc7eee665396b70483c49abe4dfab2ca35ec9f1a05764b12433c14f5ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a6140f22db134c6881c7748d597eceab469a8255d68d9d48ea3ce63c01df20f6
MD5 5410402a2d67d32082f7993ccf7bc444
BLAKE2b-256 7e4a3fd43246c8b8d1dab293da1bb0108c2a954b597f13c235c9b77b9db50380

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.13-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1be6230933b22ed42af2a631ae3e7a1fa014117e1ba02cbbc64f74b676892eda
MD5 15e3bfff092f67df5e9ea168c5a72cf8
BLAKE2b-256 afbbca8ce691665dd17e3c123b2765a9f2c49d1472ef4a9b6fd5933ea970d814

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2bb2103d1fd7eb17db244f5ea2e999ddf722cb47629e4d327aac4e59d0bb0b58
MD5 e3bb2bc309779db47335bf08d4f34e6e
BLAKE2b-256 3fb740184e236bad94d79c94f9dae37c6cb3d9d655d813e9fb36a66481f88984

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.13-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8dd2bf8ae258e5064ec3b82af603958277cc9b0573cf0474544e112d40a7ab5a
MD5 0b3a6e7c601057c395e8e69803185dff
BLAKE2b-256 2acc66ab3a79933ae3f6156e8b2ec26ab11c66d2ca2832739034edf38d249eef

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