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.1.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.1-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.1-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.1-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.1-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.1-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.1-cp314-cp314t-macosx_13_0_arm64.whl (220.7 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.8.1-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.1-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.1-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.1-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.1-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.1-cp312-abi3-macosx_13_0_arm64.whl (220.3 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.8.1-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.1-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.1-cp311-cp311-macosx_13_0_x86_64.whl (234.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.1-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.1.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.1.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.1.tar.gz
Algorithm Hash digest
SHA256 b14e953892002758a375d0058f01a29036a6da8ae4a188b41866df665df98f2b
MD5 1fa428129e6472f3d0a55c9f640817c9
BLAKE2b-256 51bf032346bb099cc282b05f8984ed1b33eae64746521b312c5f29538f9f47f3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cfd5735977fbe9ad96096c3eb671fcb1dec9745250423676077360e164528033
MD5 c06601d05d491cc234321364158b240a
BLAKE2b-256 98467d695822dc04aeb5a5b7dd6fce07d1199348d4783e22d81a916c001be777

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 de4f724bba7ffde996d82419cbf9332b7fe0aa3761d253abeee3522ac830cbcb
MD5 360414a5c19f940dc86c536e1f755758
BLAKE2b-256 32a1022904efdaa574a0a6b4296feb8ea83b4e1e3cb62fcc5f4cf58dc8b72dcd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5476310d95f33c25e8d338ba8e15507cd8960c049ef9af2664546d319e8b6a3a
MD5 b24b5effa70f3f8235926c98446575da
BLAKE2b-256 74b859751fd978f40d24b4e852d1816e8bbeecf863104b1cfef7c4068ba6bfa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 392cf431ad985c2db5312251865d99d0cfe891c5bf933f5c54705cd61f8aec10
MD5 3cfbf604836468d9bf3db67a821c6d5d
BLAKE2b-256 07d4652e1aceaaea735a76bcb66c6a27aecfe383cdc77c5b43295ced30313eba

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 93654d1ecc3df6ffe85300fc1cd690d02f75889903d82db9f01a4a29aaf76b99
MD5 ede9d69f963b705f6bfae26928889448
BLAKE2b-256 23b66842706ca85ae7d6969a9077976a577d4d731eebf53ab376ad988b9e9d55

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ad6e977a48d7d8482213cc3a0e2a0075bc9c5ad610e395f2dad1c1c6ca0d69f3
MD5 7889c276fc0a9b064683bc60f87c3d4b
BLAKE2b-256 aa7c714dc60d41e9b21282e8f04118e6590530d9806203cc1ce38c6730a599b8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9e0fa2cedaa5e31a91438f0e7f7773be5e99de4ff277e3b0ceec5a4987e7b1dd
MD5 4d513c10561fdbd9076f43ec4bf3c464
BLAKE2b-256 709072df2005a38adb212a2a1ac8539c1d6991da8777e203fcaa0708b83a504e

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8284c5abb2ada621b8e3621c9d13b76b8c140afd6327875d5dd942ab20012c6a
MD5 530d2f48688ecf99ef9f5ca4f8c60d24
BLAKE2b-256 6e2b12f81768ca01d2a1506f6a2eeefbce78cc5c05df761351c8cd4312ec5a86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 423ccb600de63b3039c55bdeb849b478299705a71473eebae152e84a3cb6d45a
MD5 9787ff0c6d76af9479f5e2b10bc0d8a7
BLAKE2b-256 d18b0bd224569a508fc23c75497229a8a9811efc95c935ccf558123d25d13015

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0fafb5a5359bb297ee883144c1a00e16a13e4409bf2e940c2c4604a29cd2c244
MD5 24c2822813c703cafdda77eeac716938
BLAKE2b-256 d26e21dba8e33d3de46d89ef0298a69512f284d75d1e08478ef540cadde11401

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 34014d6cad2579311ff69571d34230410fb4132cfe8c682d708d89f90a5df5b0
MD5 0754643e7f350a772983a60aedb7ab81
BLAKE2b-256 f02393d3e86186142275564573c05f0cce863a94bb307e1cb0e76d58feec1602

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 063d5a60a0bfe34678adc287fe1839e5c805468b4fdac4b368e20b5eaac8f523
MD5 4c756b03356ef7c2b5f337078b99007c
BLAKE2b-256 c12d68d2bf4d30d4fa6713f177a6bd337d09a3ded739acf222971359ced31ed0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ca6b738d7af6ebcb89acf35a64c487611caa6af1a211115858ace2db2b9cf495
MD5 c9c12ac824430345ad3930b9bd0e362e
BLAKE2b-256 6e8554f86973b911b115cbc5ae8086b2493cea50b0e41c600afcee2aeb981772

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e521202e1d72b051d2400c9a1555cc73a74853efb52585a804517810033fe183
MD5 8acd6eaca91fef489723e02eea867d27
BLAKE2b-256 43060052319d22378fa8023122f297bfed2d37dfa91fd0130daf84e0ac949818

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d7735224a6cf0c196169c8a62e5dd238a3421fceeb799a8af70632109e835a64
MD5 a8e957fbdf1bd99d5e196f1e37752e96
BLAKE2b-256 adcd56d180d4b5a016416be2f0d429bbbc0646a63e1ab6a07afb13c56b39a094

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 35e84eaf1007e44554cac2e03663c33936d4ab8b5d4ae27b7b037cb40a06efa8
MD5 bdd725d5896d8111173c0403215697ca
BLAKE2b-256 816fb3f1e8f3300f3064a8f2cb8b053e79e28b85b043556f7b6c0343675ee5af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f29eddbae7331698d7f0d93d7611307aa97a397eae9264fc0b7ae4afe446f5d3
MD5 165660b871c2b6ffc469aea26c571c13
BLAKE2b-256 9b8a43e70f9079bffb48432116f9b23a2cf940d2334e34bf3c8b925751389f64

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.8.1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e2ebb9be683a3086f4739386f8696857c034bf728a15d4544ffd32d8167981f4
MD5 df58fb1ed2d6d10e6d7a28d287ec6fc8
BLAKE2b-256 0c82bd74e0fd88f202293a1a257c1cf01feafb51a5616a6bd0f7534ed827fbaf

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