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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_glucose-10.8.1rc0-cp314-cp314t-macosx_13_0_arm64.whl (220.4 kB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_glucose-10.8.1rc0-cp312-abi3-macosx_13_0_arm64.whl (220.0 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.8.1rc0-cp311-cp311-macosx_13_0_arm64.whl (219.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_glucose-10.8.1rc0.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.8.1rc0.tar.gz
  • Upload date:
  • Size: 4.7 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.1rc0.tar.gz
Algorithm Hash digest
SHA256 d6fa0845038e4b84d52ecb0c18cab64ae117e87918a1f3af94b067b1b24a510e
MD5 b878de27ffb222f05f45b2646f54d519
BLAKE2b-256 e6fe8ef209cacc02db24505199fbd1975c4b9d4aa5c1a70711bfdabde59ade8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d1ccf03f74d7a23cf8852bc3eb9bbd672e25ef0c7147309421a1d70276cd664b
MD5 8d2017b765af9785db52c132fe196a28
BLAKE2b-256 b6f61950cc66a9e6ef5417ab0d6617af25f040d2a81d4dbb9ba34ef926381404

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 52181635c968058e6f081bb85ce884c1bebe9702498cedf8b14a0f8afb40529b
MD5 349c46441eebebf380893a9e3232b2c3
BLAKE2b-256 e306bfa1e47b699a93002268fd37b13662cb716eea0da3f28b04f3485c529bcd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e0c8f236bb03ec126ba03e723dd5b55ae53ab5a15fb1697200a20d8992059fe4
MD5 40b5e0d5f924de68ad2d8deedaaf318f
BLAKE2b-256 c89136d6a6f6c4ef77bf331cb27372972d493ff5903f80e7614cf3c1008cc266

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d0b107b2a46905f5e1e99a3ea0c76f24c40250b4a76e65ee472cd966379c7189
MD5 255cfb41bd2eb0acea9ec9079c30ecbd
BLAKE2b-256 22ffe110b95c43b01961c2732c888ac41867b509f513ba6cd85c437b7139c350

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e72d1227e02a3d9c583dfa987beb8a5d1dd0a10956fdbd19f85345a1536a82de
MD5 8a1aaedbf51d776b46017b533233c373
BLAKE2b-256 9b09752753269ed820c7c7a6b737170049ecf1928ac6de924df18042f8d2f452

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cb44851daaf6a07870f1a12a22811efd4cb3ff564ea7accb9218c703f199ac71
MD5 130910f6dd5d8dcf95b60a1e53a027bd
BLAKE2b-256 b59cc9dc7d2f5b05590196120e1159f61bf603be2c9622751d4e33c75b21ba8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 51d87cffa3d0627bf947e8d904dd9307eef2892bcdaced2aff2f2a2c1e8e8a82
MD5 dbd352ac23fa4ddd82c6433927b5e08d
BLAKE2b-256 d1d0c967bcdbd11511057dc6c414a8ad163d4f40cb55469cfb89b345e5bd82ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 716c8f8e4b6b8af01b4f1183e1de736109e9b472dca28080ffa352b270968f8b
MD5 1bdfa3d0318a0c9a6794b72e10444969
BLAKE2b-256 ff04eeef77d272252f109217c1ddb58f3ad6ca68996369ef9f4953d7fe22e820

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 55ae80f3eb6182302b2fcd8a21604ddd62dae924ab21d5b8493adf71b7081232
MD5 79908215f56c87c5475f62bd3248d166
BLAKE2b-256 e8b993d2c0a4eda9e35cc61e9b424a7c8ee6cb9a48f139182561a2a0b8d66d3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7023f33ca6a72783b66b0307fa29e0534186213e6a6fa6f8854ba117c659a497
MD5 6d220283927e0bbf21347d43ad3b61cc
BLAKE2b-256 3537533b05b9956a126075b13f894213d364d0406bd34b3ff84a173ca62b40d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c9f2c44e784c1b65e743bb5c375ddd8c8cc1cd2f03239eeb24a101087bb37916
MD5 12faa234e6f6dd36de5deea416449dcc
BLAKE2b-256 ddd3a581199e50d145bdeeb78163bfc533a5a33102d039c85a94f3ed2d08ab4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4e4929b2a2b09650895fb8718248d2e57608279c46d97d289ea1b90fc0b1ee8f
MD5 89fdc12c5cd8ce7ba58950b6f32ec001
BLAKE2b-256 9bb90cb5d75f58daba4597caa2a925aec832a57d76e875beabad294c77d6c831

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8720e63fa88a6de98863cddc4c63222eee3b901b1675cfdb6ffa3ada471e67c1
MD5 909f8de1fb8866f0249bb2a4fe9aa9d4
BLAKE2b-256 26b91562f1d7dc18c14248da058d3a114e13f894dc7334b5bfc4a8ca5bc32c69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 388226080025a994684e71e722b800d44d5046476a15c1d029c7d4e280558bc1
MD5 1510257863210cd66417afd7ac3e18ae
BLAKE2b-256 be507f7a9ab85cec8e92643ee80722bfe7acd7bc2491d76cba3e7ee647b71833

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9beca2d98e6636ceb640e6f8c6bdc5930a8151ee47557c97f8e629d4fd837ef1
MD5 cd3bfbb5e82272decb133742f3c7ac2f
BLAKE2b-256 a0a28fbb5d53715c9b067df84b7832a5d21c498512d6cab4c8fe572b610be0a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8143c5a9c6af4b376b9b50c41119598a14c683d61e1811f12b61a47c69d0a99c
MD5 0836d782a4a0354c929daa747602dddd
BLAKE2b-256 5b3179e280ea338ce23895882d55600ecada277d66c5fd86a436f1ec46d14cec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4686442b93d59778254e3e2a049b64ca9de01f14f023e181570ad3faeb718f59
MD5 580f9610074f89a159d390b567b605f0
BLAKE2b-256 ef1c4f6fb31dc5b1e7f29012a1685db492f35a76aa38384c2f36f075b2f84ddb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 67aa8c265d319cdeb8ce7c35549677d0e2f8dbcb39ba5452ef73470c0574f8b8
MD5 eafcd837e10064eb659e0624d439472a
BLAKE2b-256 18067081022ca862932f6dc2d2b4a461905ddce012d5862b13d2488b02d27be4

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