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.19.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.19-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.19-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.19-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.19-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.19-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.19-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.19-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.19-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.19-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.19-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.19-cp311-cp311-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.19-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.19-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.19-cp310-cp310-macosx_14_0_arm64.whl (176.8 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.19-cp310-cp310-macosx_13_0_x86_64.whl (187.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

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

File hashes

Hashes for passagemath_glucose-10.6.19.tar.gz
Algorithm Hash digest
SHA256 e178e256d0c53cc2a70d568d8be2e9864d0907ed6ac2b4398819a6bc6dfbd1a5
MD5 5e6b0516e062d7558e9a1a7dbefc2fce
BLAKE2b-256 944a5d312e8fc44895734c02221e885d32fcdd9ea6997de0685d06523c27c864

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 39ac0b35d5d09eb4ad17810f5cec7a66fef2805e2b82c46f86f4ff7e0a78ace0
MD5 e3ba04f5b0e23b7d39f35c2c74a4ea51
BLAKE2b-256 b533bcbcced8c1ea6fcb539f387d458b453e301a6e48194d8b260a77fa7635d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9d5d7a16458067aeaffb4b1a6d0dd14bf995ce94ab2c58bdfde7cf42c6a88ac8
MD5 3771663cbe9871d4724a31d5548faa3c
BLAKE2b-256 68a346d7cb3d65043fa84d9d887c63dc27b92e8eff132c96adb6a7791e103d4e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.19-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.19-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fddd5826afb7d66ed65ed51ed2d5f04feaf56de2e63a8d8e11a590ed362a4d40
MD5 8ba3f11f3256116a41b559c05f93a219
BLAKE2b-256 65dc83f8a5fdd9d45cad772933f316a2dc86ac7c5db0d35a2d6d04c317ef20b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 536a765e8cec64121c0dbb0d7df311cbc74e91ae32d0b0e3ab1525a3850f4220
MD5 03e869e499ad401cd58ce1047c6ab37c
BLAKE2b-256 cebfe23598b24398d7f09f1efe628f979fdc9fde04f5f19fc76eed0ee7306832

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1d5f2b895c7b213e8ddadf971c8ed1c3179d2a033cfa384ab0476999d6920639
MD5 e7c0e0c62a538a300a3c24cbb6fe2448
BLAKE2b-256 da3c3f8321aad95f24094be9eb70f0115b94183c84af9f33e9e9e73ccb245112

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 880bc59eecacb3c4fe1693a18622a11b9eb432f75a9f4a358b5c509cbfc10cf7
MD5 7de916135e12779504f6d3710ab7fc58
BLAKE2b-256 bce0eed2faac55ed69ba36f6a79e647ed0473d23d45644e0a34156737b452dff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d6dfdcd2cf8135cfc525b7bfbf2c44143373ab805ff817cc676c38d59a2f88d5
MD5 9028a90262aac7247863b2bdd29fe2c7
BLAKE2b-256 af73c960dd096addb8dc91d9394ee1fc063944825f4089bb77f882eb9ac6c603

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d10073f456186f80aa0db9587b65d4f259071f5db47b82ffb4d7b46465ed87ef
MD5 5e65ee21d244ab66e52e8a443e6a38a4
BLAKE2b-256 8401b220280f6e0f3e0ff11a6f8610cfc01ff6ab653ac0af41bc90c34ea1c280

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.19-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.19-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 03d55775f9e283827764050e10b8160146c222b27cee94f6a1db409959e27e7b
MD5 baddeecb15ec23d31c4b5aef59e91d9d
BLAKE2b-256 f2695d84c72ff2a22cf937670cf0970500cdffb1ba59addb071dc8ab58397bde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 37bb4ceb47948deb30ed4b55e8cb7354c6afc60c71c29d1f93943a7cd8d84a9b
MD5 97f942d6e8c4335082d2add49575b148
BLAKE2b-256 65ee6ff724513806dc20dc0e0ac2158af7a72f8fb7e18053916f48f1acd67d41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6f36cbc16f318c64ce670521595b7dfa2cbbcbca49a861751b57150752e803a6
MD5 75905bff32fd78d98db46bcdf4c8e8f1
BLAKE2b-256 56e37f0043c9edaa6c1920da70d167e9141270de0178ccc902506ed112731487

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6413981b9d24559a6f91749edb632d9d9d5bbfcd8ff2c86c69157a4130efaf23
MD5 21faa7311f3e6dbd69e6bf29a2e33935
BLAKE2b-256 1e392b3251ac4a8f99e2a4a720a7a99e0ca177fe3e88af3a6a3bbf16808c6520

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 afcc1a96a0adfa0bdbacfe1d1ef113be4f912fd0d2e64ff2c3ca3cf5440dbb38
MD5 8af3637ccaf159b3774795455dcdd5c9
BLAKE2b-256 defa6cc3d15e9e21f7e3826e84c21c4840c331b65b519074fb9a18def3e38048

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2f72d6b5624167b7b2479ef9633c7cd61060daba6fb4716e942324af2d831251
MD5 3c33c43be729c12ef89e4e73fb6c337b
BLAKE2b-256 b266b5b553946bf04c7360eac56ca1513958eefc132a5e7ea45ab0cad5ae14f9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.19-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.19-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b1baaa84feea0e873666714141f569f69064e9b12d09ec4e05a66de977909187
MD5 8aa15db6612b9efac957db2f87708965
BLAKE2b-256 712d31caad0b9568652e81b185fd7ea29aa151110f4078a76575dbee746b4bc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6123b56eb92f58937f3e206990866357c18cd9e349060f00edde10f64f4c726b
MD5 d1f0bb2f36fe66f4fb2e3a7ca608a26c
BLAKE2b-256 352d7ed8b73ea11d0c0edf387eda37eb4d86c5351d85e3671f6a06b0069e0cf3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 561a69f7c1593a66ff220df7136415d1159b8e4ee750e622f12b6d162f16b783
MD5 120249ed8ca63c2aaa2040bed81875b3
BLAKE2b-256 f42f94b7aaed67745cf7c9d2e6d7d5faca861a414816d88b397f39e39219b838

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c9cb8dca9a7fbff41eec9f886af051ef2e8f6932250644e6bbdbdbfc88868cda
MD5 6964c402192b814e3674e457b220289d
BLAKE2b-256 db2ca24bf3d8823a5df6fc410d4effad732f83271e3d3fcf126f5c549b472394

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 45686741191fa775f9cd0a00d8bbcdfac944a2f1ca47126183f9bdf356fe7c70
MD5 c96db59df86b53e8786ceab2d700bc8d
BLAKE2b-256 8db239104b7a9d5b4f6cc92183bbc4a7bc2ba7a07a6dc3bbade4096c95a31343

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 596c2b47c1d5d556661644a73bb6d5ece93de610cb9ff4c123abece39243093f
MD5 60246eac499ca93dfa9e458d97bf8125
BLAKE2b-256 f969731c533237c681b6787f2890469f2aec5993868decfd76764fece046784c

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.19-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.19-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1bd9b6c5d1e0362a3d0dd30c89a826a39ea57f5169271bd6d6c755c40ae9f1e3
MD5 69c13fe8a77413f7e92d4ba8e35fd0fa
BLAKE2b-256 f8ee8e374079e14eff3fa9b638d5ac48fbadc8be42acbabd04439643c0b16b68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f1932d0af8a57ec8f47bd39094609a150e6489444bdce0ddcef157a507e92d15
MD5 2dc65963992dfe499438a3fe94bc4bdf
BLAKE2b-256 44e874c4b66ae90fe0211fb5ddf77b8330936364ab40d464c2ed9dbed03b2163

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 af326b2f931a4705c2087442b6688bc0fd3090614e255a8a7e647a7aefd97e40
MD5 eefb7876afdc4bc1e44d30ae4054c97b
BLAKE2b-256 b704d2fcd5b543b441c4ada18f95debe8ce50795be8e530b1779b1fa1463daae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.19-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 daa96d48af0d6b4de5f461d61601528e28b7119aa49aaf3ecab94b2d5dadbd77
MD5 223cb9b492fca081b20ab611fa278b8a
BLAKE2b-256 051931fcc514c3e23aff68f22599a9fef747165cc1374b76b40b516d39c72401

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