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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.37-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.6.37-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.6.37-cp314-cp314t-macosx_13_0_x86_64.whl (234.9 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.6.37-cp314-cp314t-macosx_13_0_arm64.whl (219.9 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.6.37-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.6.37-cp312-abi3-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.37-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.6.37-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.6.37-cp312-abi3-macosx_13_0_x86_64.whl (235.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.6.37-cp312-abi3-macosx_13_0_arm64.whl (219.9 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.37-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.6.37-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.6.37-cp311-cp311-macosx_13_0_x86_64.whl (234.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.37-cp311-cp311-macosx_13_0_arm64.whl (219.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.37-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.37-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.37-cp310-cp310-macosx_13_0_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.37-cp310-cp310-macosx_13_0_arm64.whl (219.5 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.37.tar.gz
  • Upload date:
  • Size: 4.5 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.37.tar.gz
Algorithm Hash digest
SHA256 fd8e3939911f7a595876ee665713e1e0b060d01ef0059152062c0becafd38374
MD5 36c17cd1d8c161fd90426d9e8bfc80cd
BLAKE2b-256 9ce26e39ebe5dc0c6b3a9cd53a56dffc6c32bddc933c646f62cddc599aebe40b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4e31c06e7e4c0233c80e999f74b94b2d065191db6874928fb66c6e9e2e4fa530
MD5 a0b0e787bf5fb15b93ace87d462c5666
BLAKE2b-256 7de7b328abbb7deb6be84e2140135f2bb25e2d3430291526e4bd8b2391af2e0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b363eb0c5ae0684378a3be3d529dd5b2587c4906584a0cac8117df9abc4e24b1
MD5 37bd4472af2d82fb5862ec717423ba27
BLAKE2b-256 25c47d80e6a875865ebb629afe82f093283928f070c739bcb5140ada5ef0eb01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ea5724f3108b39da68260ed1ca5ec2c371f0cc79759b93e8b5956c1474f349df
MD5 3141f450371a0d43cf8c31337f52579f
BLAKE2b-256 8ddf691b85c8c5002db5ad5bf49c962dabec5a7c13fd323232ae22e917719f26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4fa968751af64198fcbafa714350bfb73d62d6849d141b3940bc7de72fce8217
MD5 f4a3876f3a92a813ee8a70bf652dbcd6
BLAKE2b-256 2445919bc82b7799090c39b795e1eef07dea647295327a0e4b3856bcc01032ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a794b4f0a14280bea747902ae0fa0ea92931fcefbac3585e87e422edc2af55ba
MD5 a9eb74577845e640383bad78bf9dcdc0
BLAKE2b-256 eb992c51f10d17d3c0d04e48c76362d24ea37e9a752ffcf30fde3635d7e5bcd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 45019638d73c64116308e5bf7d40928caacc91427bad866e3a4778f5eeea2229
MD5 ef67b9fbaf73cf2881bda4a9c70f848e
BLAKE2b-256 6765546a1c730d0ff8aa8420445d4205329f1b12332f7e42fe91656195198f8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 57e71cd5d6a560ceed4560941c4592bf71875b59b599c941e761bff8d383d981
MD5 2e17330160b4ef5fb99dae782662b0db
BLAKE2b-256 46c1705f36f595043426e2d97de20ace62e1c3de77b269ebc14feb8886272c50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8abd29b6fb488c632866b9eda07a8692b136d9e697cf006b5c694082f36cdd5c
MD5 6a7fd3aa43301d22a909b475b57d4048
BLAKE2b-256 dd1df854566943410f4ae4f4066b5b3dbf07c7cc9550fb432085a59f63b3b729

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2586aab8f41b4ecd4ff67290db668ffa5fc9c47ffca777de22d425a3e3540c62
MD5 46d3eaa17379be009c33486b3c3b04a6
BLAKE2b-256 64fffb4ed820fc3595537fd51b9348ff14ba96e8021162dd1a3a1f5a2c8bcc3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 49d884613cb16a8f6aee17b4bb845ac195627fcc4936ae6cc106c7751b8459d9
MD5 53ae1442ff7f85aa5db663e0752e8781
BLAKE2b-256 d4c118651b30090ad96682c6f59282d5e838314ead7f76f465b1cda8a45fafbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7be3d9c03b7bb397f967f68e6cfc459c1d616dd9c02ed5ccc392f40b44874986
MD5 8e27b5c77473bc585e4cb1716d9e3408
BLAKE2b-256 066a4c4207374af98b413710aae34b59e1c6f3068bd4a5c38e09e81f006510a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a2af60304896eb5509571450566c6ea1db9c8d8168cb2b93a14da2fefe8d82ec
MD5 c6417d68c3aa68641a60ff1ce1c86523
BLAKE2b-256 d98cb357b29790af42000fd5acd387d6c9af8fdb6e9a051f2dc5ee01287e103b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b04d0e45db2ffb2100fbd0c9c0d3ae4023e612c51ad24cba92393066e449ef50
MD5 fcc3b68386c172c1ff2f27392d91dd9d
BLAKE2b-256 273f383920ede018473f2ea6a7c1045b390be9f75955a310826ca87942c54d56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d92f941d9ad1d0a40b0234d2cf7eed208edd9d3221d44dad04c4a63501aeb932
MD5 834e8f6a6476054d125b9713611b3626
BLAKE2b-256 23e08da5ca5e0e46b221d596f9f827b12b67a242ccd770e77a9892ae0eca3c92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 69b3510105929027550750a4f1d2212a8eee8b0b049e026b147b1298009aa9c4
MD5 74d4a9a3e3c29565157d8bc37e7b913c
BLAKE2b-256 108c54d4f4746f395fec67ec10f81ad54026317bdc51851d41c456572503fd07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 00a423e4d69b048731672664375491ef4ae379b58a69f34a58677fab3dac00c0
MD5 4c084cbc8161997c40fdeca60565c945
BLAKE2b-256 619060dc991597bb120ffe83d60dcdb727ef962d198f2281dde2f7b18b8815ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 221253b9fc09dd52dfb2087220d15849fbf47d23cfd23eb3c8312c3b0aebacba
MD5 ccddd918b9de062474572c07018cffb7
BLAKE2b-256 18db98996540f9f45556074899792b07509df238b666b81c786849309dae88f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5eedfbbe9a07551c8967d629581314701519865bec34d9880f33c1d0a54aad60
MD5 5d77a703a26885a79fe388af059414e8
BLAKE2b-256 9f52cf5ea879c4023628b91c171661d11dd16f952520ba237a3067c34f4b6f03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bc1e9bb116f01eaf6587b810ee45a159c37775ef1a1f216e91742c67b8a552a8
MD5 b512fa8a636f9f4eb2eb5b66727ca14a
BLAKE2b-256 c6357ee3aa14da181ac20c6ffc88fbc1e1fe392e92deb2252ef77be320b9cbb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8c7ffad250160448d5e4102c5a70452b8303a499c383d10e34b8ec8bc7f3f90e
MD5 05ff279e06dc5c58ef9fd1030b45f0f5
BLAKE2b-256 68c9e6423e9a457ff0dd4ec11e087cefdae0cb4066b85ea0beabb28c4e812ec2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.37-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fa8c94a8781acab174f67e927f6216a7ebb068c7d44eb023196e809e22efae3e
MD5 ca27791e0c36d26e68705e4eff4b60f2
BLAKE2b-256 190183296d907382505617ee8ae7fd79761b8d7277d3653320c19c090db1eca2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.37-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a09d318377ca527bd8baa983e6e15b8ae5e3c2803e63750b1238f6055b8f5bfe
MD5 c5bdecddc355ae97288ac5710b9547c9
BLAKE2b-256 77b4aae77bf122284d0071de26d9de7375d9b5b8dbfa49b4aa195571df1cf988

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 554271cd696644b63074d22af77baa5dbb356491a46a99cffbc5c0e083985834
MD5 e9dd3a92d7881b5860911a3aeefa33e4
BLAKE2b-256 a7f558694d4684ac1978a51d93d81e041cff035b84369070ac6ebe5278c41b2b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.37-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.37-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9a460492c7de2012ffe8b49b7070477a0baf67812be5eda716751bb0f629bb5d
MD5 d0441a30d235e9401af2075a22d4938e
BLAKE2b-256 adea67f18b33e1308b3d5ebd240a2b7632da6841b447e11f371a0cf753880e6b

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