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.

For the Linux aarch64 (ARM) platform, some third-party packages are still missing wheels; see the instructions for building them from source.

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.6.tar.gz (4.5 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.6-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.6-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.6-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.6-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.6-cp313-cp313-macosx_14_0_arm64.whl (176.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.6-cp313-cp313-macosx_13_0_x86_64.whl (186.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.6-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.6-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.6-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.6-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.6-cp312-cp312-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.6-cp312-cp312-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_glucose-10.6.6-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.6-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.6-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.6-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.6-cp311-cp311-macosx_14_0_arm64.whl (176.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.6-cp311-cp311-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.6-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.6-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.6-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.6-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.6-cp310-cp310-macosx_14_0_arm64.whl (176.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.6-cp310-cp310-macosx_13_0_x86_64.whl (187.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.6.tar.gz
  • Upload date:
  • Size: 4.5 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.6.tar.gz
Algorithm Hash digest
SHA256 50aa55ab47ebbf75c08315573f780740d014a37f96c6937ba7001612ce4a2f3b
MD5 3fb1ab99c8f8392b42d3c7b2f156e695
BLAKE2b-256 dfe51099c962d628b2d5fdcda4a4633e7a12ac8ac4d519ddd4adb1b3453dca68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9670c20eb0921f5d86a76bc6ee97e686bf37dec37e87af82911f57f1182f8573
MD5 e02b173e77e6278424884fd65638be93
BLAKE2b-256 5440918f8a2636c00b1951cd3aba1e928cefeb88ecaa38198d80e5d304a45d37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a112980805f6afa79e07a6e8e7295f480012c7e086584ae11dd81c22f7db9fec
MD5 6d021bd2c880e5c3a48c25dba5b66ce2
BLAKE2b-256 19fe8c45f229486bc9b567ad844434d9d0f6034152fe2298287835fa97fa87ec

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.6-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.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0ec3449550fe08aa2fa3358b2d86d9a19ee442173dba6f41cf44f96fd6262531
MD5 5581b159d67ce63c36865b2fb966371d
BLAKE2b-256 0e37356522ca88cbfd89c73f404f964ffe1c163ffe6232ead64a9aae8ddec179

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ab4377be43d06c36b2dc55d9a20f4350d178ef65cc67c0462fcc4a3d54f04b75
MD5 0a6e9bb4c63180f77c7806b70573f185
BLAKE2b-256 2c05cd634124e823a4e9e9e7c81190b8ec9d3b56ec86371335bbf9bf2a85901d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a282d65b5a7e807f333dfe693a0dd14c24e7c305bbbb98eb71862ccc0d5e19b2
MD5 db45113f6ec718141645d172b88c79a5
BLAKE2b-256 04dd8ec755914b25ce1c85507f87e51abd6d2e58c2f34da6dc61bba743601aa5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9adc9a596298f9bc4bef02249dd9b21ba595d238413d198cb05065d92acb990d
MD5 e4807bcebddcd074f9c71beeadabf3ee
BLAKE2b-256 888a30af7bebb6495b1867675768889b1900936ff4757a377367148bbb3cfe81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 19e704add5101f46db04edcc6a3190ae8644f9f4d91ddf21162bfd51679605d1
MD5 6f9330098f540a6abf56159dc9932d75
BLAKE2b-256 f797db7359a6dc51386bf355887f42fe515492759b8d7446aa04ef5b442347d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 33a0fe04f3c9972969ac49baca3d8a2ec0218b894fec7e8b86dcc15c3e44e233
MD5 8e20669182cb1bf17b37c8ba23c59b77
BLAKE2b-256 adaf065ca12de633d78e3f683f55b5bbed0ab6461e18f4ba0344268521ab7bd7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.6-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.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0edbd64a676dc1171d2038d09132e74f74fa9047cb87b2563987d41bcfdea03e
MD5 ddc42f3a8f1847606d21e0e0a59ba9e8
BLAKE2b-256 bf35ca1bdabbd007ec6d6d8b913b948482a1af1f792df9e0df11b33f7fe42798

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 828c461ce5aa2308f9a98179cbc74f7623a8b196d3d39f6e69d45fd3a7c92357
MD5 aaef4ae94615e96dea710422ab8964c7
BLAKE2b-256 d6cfb0341949bb692201f6aec11458cb72321859f6c460f481aac6abd21f4d3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 58fafbbd68e54a8d9f32de70469be8a090c6e89a77ca7ebcc9fe536b51dbd53d
MD5 cda3fd1ade3409c81787f7d6e53ca941
BLAKE2b-256 3cc9cf37cc14e17e71e69a64571537c2deb3d135a2c6ceef2a6caea7953ce7c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ef480eed833ee7a40ce7b6325c06bdbc7bc96f63dfd3b5a6eb0c42f9c89ecc27
MD5 d73d06a058240e88b03ebea1e0a443a3
BLAKE2b-256 b5856624e19b5a7300c8cf41091cf9d82e2d90c6cbe63590cdfeebe172f39b49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2ff34835ad8b17ca607c7084ec6ee5450be82575e9cbe08d95bed541db1b9a02
MD5 c42eb281abd0b661e855cde2b8e65131
BLAKE2b-256 e26a96d78a862f0addcf7be1ef26ce4f9bb4c1b22fbd2609a94331a8aba4a400

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 40a48fa6f0d8d01fdd65a9ee0d0c128897be654506c88e4ec12d303477a284fb
MD5 dce35014778637c9a85656ce456353d3
BLAKE2b-256 e4b99a398e9b9e1c928128e2fd350a935e9b50a63ed681f89be39177eb1d26e5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.6-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.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3abe34986a4e95aefe44f0a77735f4db95eae13f4ed779a48994eda792f2aa88
MD5 d2915ab200bc81fc4ce0a2bfaf69a89f
BLAKE2b-256 fd697ee4b6bac9133d471dabb24e547b31f6ba4ab240fa0d5290b100313cc6a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9dea78859a7b5684aa6fcf7d5c2e37f7291b2e21b1621a982bd097bade071932
MD5 e705d5965f6a84e2043526e4efc361cd
BLAKE2b-256 189d04b5a63c68fb0ec5a0bbbe95733694746f5c31b3013ec57330ba5d22c50b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 409b97a0148e9d4bad44e47d2f6d83e0c4568f68a62b8f64c1e75945f6921708
MD5 162bf95165a7f261db742586f51824c0
BLAKE2b-256 2d73819662e42f785608bb836c58adbee46b626c9d69d0530018eccac767c8f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5841e22c47aca6248dedd14834db8b20cc15c46c1990682abbe82e9f9fb1148b
MD5 899f22d98f4a788a6d0eefe8e164d47e
BLAKE2b-256 5e23054f93ddd4805087ca1ba9a87e326691053f2bd43fd731e27e0acff048cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b57570d777a1cab1979ca38900ec488841f1c64da300408abac3ab62ea8e8081
MD5 9daf4dc67307ea1e0be30878818a6456
BLAKE2b-256 4097e387396670d0189b5b6bec03b272c1ea76eed9d1ebdd829105ef921255e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 69b621d38de8323c1285dfc811f2d850c8e9be70848f7c75b222563860ebed1a
MD5 ca677c77c10818ea762bd97da33b25e3
BLAKE2b-256 101c5e0eb620eac66f12e8313f28e5d6133b5412a6b647d46c9a8b27a5ef9d5d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.6-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.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 56e62682486faefaeeba0c5d881f6609834f34d6ef3bdf87212d224adf256c34
MD5 d9e7b3c6b68cf3facdcf432eeb6f4e4a
BLAKE2b-256 4647dc7883a86ec966c349ae87db82f8c9183644e00c55cba8cee732af0f59a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d6ba5eedc8c30209d33fbf3749e57bf7d809b9a7f266e1eec0aed7d980de2022
MD5 53237f9da1b5e66d34ed16633105ff05
BLAKE2b-256 4840d5fe4e7a326cc6276c36b02c2cb521eca330e55df53f1dc70af389e66df2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 de170db9228acf8404716e3273e48393257a7d12ea46f89b94c9ba5d084ae564
MD5 870f89222c1e2d6430876a983599299a
BLAKE2b-256 f809dcc190e2f0ec1fd409c952f261681fa6f1a785d0c26d1cb8adc4aa6fc4bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.6-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 74757fc520c07feafe44a82b7f38601a1353a30a8842eae97f6cae9b78c2c1fe
MD5 577e41f0ee06bf95cf27e5fed7d9d73b
BLAKE2b-256 8f8d5ee2da41627199f73d43a798df0bb7af691fca63adf0aa17abe755c5f384

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