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-2026 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:

Moreover, the passagemath project:

  • provides a stable, frequently updated version of the Sage distribution,

  • integrates additional mathematical software, notably Macaulay2, a full set of GAP packages, and the Combinatorial Matrix Recognition library,

  • curates a library of Sage user packages.

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, ARM) 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.8.x series are 3.11.x-3.14.x; the passagemath-10.6.x series (EOL 2026-10) still supports Python 3.10.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 passagemath_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.8.2rc2.tar.gz (5.1 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.8.2rc2-cp314-cp314t-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

passagemath_glucose-10.8.2rc2-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2rc2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.8.2rc2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.8.2rc2-cp314-cp314t-macosx_13_0_x86_64.whl (235.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.8.2rc2-cp314-cp314t-macosx_13_0_arm64.whl (220.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.2rc2-cp312-abi3-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ x86-64

passagemath_glucose-10.8.2rc2-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2rc2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.8.2rc2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.8.2rc2-cp312-abi3-macosx_13_0_x86_64.whl (235.6 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.8.2rc2-cp312-abi3-macosx_13_0_arm64.whl (220.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_glucose-10.8.2rc2-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.8.2rc2-cp311-cp311-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.2rc2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.8.2rc2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.8.2rc2-cp311-cp311-macosx_13_0_x86_64.whl (235.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.2rc2-cp311-cp311-macosx_13_0_arm64.whl (219.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.8.2rc2.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.2rc2.tar.gz
  • Upload date:
  • Size: 5.1 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.8.2rc2.tar.gz
Algorithm Hash digest
SHA256 40ccd455e59c4edc70ce94a829c2ea6998b96fc0235c8910f7bea9b948f962a7
MD5 596f1354afcb5c091129c8a2873c1434
BLAKE2b-256 53d450a18562a2e6db58e5027fa6a96962176937e2dd1f99ef9c15ae1fdd474b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b64f1e0329fd10b2422e2df846ba9cf7340d599ddb40907894cac3eb88ceb5aa
MD5 d651c17e03c02962ac4c09e8a3e76aaf
BLAKE2b-256 10119c064608f0ab495ec82a34b6e0b99cc889c230376f9881ed3912f50719c0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bf6a5c150e7aa81510eeda771d3377e5130c891def1db5eb6052c2b346e0aa8b
MD5 1342313c19ce2d9e955c85da8dd99954
BLAKE2b-256 905746a2a3a3ecab21dccc57c34921a7e96d7c092b34f9f507815cdd8052ab78

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 300ae79b785e7b2dfba0b83df39e40f28d9dd75e1ffcd9414cec43fada008081
MD5 f9576cbc0d2a47f54f8a3f053cd0302b
BLAKE2b-256 2e8645368cdbf31794ae2f2ff63995ac690bef8f63692042a9ae5621a3930c91

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bc3482e3fc00dbbac28bf0794fe7bb3ba5e893399b89b88706c5562664894698
MD5 22c65b1e0b0398fdf33f686ede78abd3
BLAKE2b-256 3c3c672b4b4849531039c0a746a3de2fb4700f80e3a394cec9a6f0ba82bbb4ba

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b732f2e023000aa87a9a1ad2eea85d01f6e92e9ac6c41e9ba20f13d6e6040af8
MD5 343263007d17fe6748f7100ac9ba987c
BLAKE2b-256 fddaa4d6ecbe8b1d87f25b2e4d8c46d896346035c52d6d8293654cc0b5a48c44

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cf4addf5d9730ad0a92409fb4d9947f3ccf7421d50bd6f51587ddf5ecada2628
MD5 2c4ee11ddb8369528ffb02eaf1db5ba3
BLAKE2b-256 43e1e233997b6407c9532d03452f21dda65470d9fc1cd45453f0c69b10ad1b90

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4b004bbf47a3ec4f9cf1e76372ecf3c3373d1d742609690e28bdad6103de40c6
MD5 2f57dd33d4956aa35b2ef8900c573aaf
BLAKE2b-256 d9b1e4dec56f52e3858b78ec793e293cb3d6fc428a0f3b85c72dbddfaf86400b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 dc3f325aceba370cc480a7c6bdb1afba01f486684934a8cda59b0eda1e984a9c
MD5 39eb6c268a1683a8f09ddc5229525dba
BLAKE2b-256 c3def922bc35f39b8880280ba95dfbd1ae1c03a20f536e8f4b2bbaf5118b8ff8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c1c469f951e5964dc7d2899058a4e44cb77f386440ce7593a13a05f2ddbcd5ea
MD5 e257fedf5d6ec1a94334f54f6270e00c
BLAKE2b-256 5d13b9c1e9a57026827cfdd453b353f5121587b665c1377d81899d6985983c8b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 067707923b0534a5c3735e68466805e93f950b4f04c63f1b98c36d14a59285e9
MD5 81fa66df500035a68fa8b81100c63702
BLAKE2b-256 b67975961e50c29647678bab9f5493f1eec887ef856b05d9ac733cdca1d24abf

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c2298845831ffb3389159931038c1e58a189beb65bdf61005961602fe5ab1dfc
MD5 f582e74e66bb566be4680c5886b50465
BLAKE2b-256 2c93228d2f4ea6717b621dbabeeb97d02b8daec37b7348b974dcf8b9bb295590

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2188d0301553653a0dc446b2a30e54ff72ced71460fd1f2a67fba46ec372a79f
MD5 f285cb5edf7b507b7cf123607239b6f3
BLAKE2b-256 b11fbd85ec8597afac64cb525b7a0a50996257c51595b7b134ec9ffc3c50ac2e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 632bafa3fece3d6d3af283403d513a946993a25c5da940b6d8cd82cbd7c3f3ec
MD5 b1d01d3cc0af34e7b212c710f75266a8
BLAKE2b-256 615c6600eae725b925da13532e687283b5afe4b0875394ddfce9a248fc4274f3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6594178983290054824e5ae817db21342a3ce371fde0ff3f94768f0968e24631
MD5 e9e0ef2a0031bceeb825a7ba34c84539
BLAKE2b-256 c6705e30dbc99dce6509b8b5dca7ad555f0b74fc559e8014ecb4b48c1670c76f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2a2b66a91d2eaaea7a6927c8057895158e3b2cac2b4deabf67bacd005ac77758
MD5 4d0fb1dd5e698327df6986b083410aa6
BLAKE2b-256 1881fc91f187b226049b80feaf7301999c2771829b41df327932b18689447d38

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c86375a83eeda66f0fcdc63d56d6fb174bf647f9bf637470909a1ecf6a4bb6f6
MD5 4db00f980fcbc1bc0783a276abcaee73
BLAKE2b-256 f1e732a937e1835ec4af251de00818fc42d60170fc45c7b04020af91ab9955cb

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c7a5dfe2dd69736495b04043bbc6934955a2ca400ecfb9717239125ad171bd41
MD5 21fcb4c28aa1d05989449ab1e3e886d9
BLAKE2b-256 d1aae1a6ed97d5b4fb6847dd227943169bf9a3bd4e8b68a0b23dbc281c46b491

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.2rc2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.2rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 87e036eb01e9466466b92a82fd205f3958693040da366d15ea93318a087a3556
MD5 c234e2e1a13c1e7e0f1594c9c3905fd2
BLAKE2b-256 ce92ced9c5ecb4401cdc6d0a192120f9a2e6b3808cef8ba33f51fecf8cda81a5

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