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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.8.1a4.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.1a4.tar.gz
Algorithm Hash digest
SHA256 8a85ccb03d35ec5aefa7b224faf16b271e32259a22156c93b2764408e2b9d081
MD5 c486010e8e697aeff5048ebe54453ffb
BLAKE2b-256 d30caf2fb3d1c8482c81524a3133dc2d890f67e745e84831f568ca90fc3a43b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 43ae15f948a1e1fc6a030fc66a98a90633fdf178493d338141668a6282033bff
MD5 56f8a0b07f76a1a2bf5cf7e8e443d52e
BLAKE2b-256 98db82749bda6405e848c254b8fd55c86608b221c0afc7d531de6ac90928217b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 759b4fc0eec3b504380defad8f20498fa1b2631831b1a4de3ffb056300a1dbae
MD5 fb669330f5a47c5bba635fc443f43b0e
BLAKE2b-256 291284a2bedf86147e99f85e8bcc99e3504f0962e20b901862a99fff4cda179f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f25e9642c09120834dd4462a59a7c9a18d2880ff52b51e417f841066ecd76c0a
MD5 606564b012461f223c8d15f19022b791
BLAKE2b-256 4365473cabbf881b02501e0ba12beafcf41a9a960a2b9bd5653e383dc1380f29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 70b6893444f829534a6c25a8707dc5f5577879cd53710e9da1792fbc4719d3b5
MD5 768cd82aae8d645ae44bdc5b9af08236
BLAKE2b-256 c472f2043b3728ca78f0ca57b6d52d4a0276ee9f6a41c5f83d525cf9a99186d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fe7d8139ee69ecdfaddf50743f1f341fbf6606513d3e50bc2c33776535f05811
MD5 506f695bb3ad05cd28cc5da7e57468b9
BLAKE2b-256 0ee970f0f1faaa627ec9fd7487cdfd9244dc0506c3fc9cc66944176d393304f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0170b211dc61a01b1c48261e6df55620915090ff0b1269ec99a18042f505a9a0
MD5 91d0cf7597cbaa94fe8292c10e7a422e
BLAKE2b-256 b2c1836a977a7d36f2be352b071537a490ca32160609cbc4b917708c5131b03e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b9dce710c750b4205aff8dd9beed95eff6f9348225b7d6f538f28104db75a296
MD5 3b3e1f4c670cb77e2e72b8f760d96804
BLAKE2b-256 9fae39283f34fd09716e5ad4b7520eb20a2edf5438e2ab7ae9d4ab47c613d42b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7adb8ce6c5406d2f1dcc2a2dd58b217a1f80dd406cfa359a168d1570636f575e
MD5 1e415c05716a5971a9c1ab71d546b6c4
BLAKE2b-256 b7f1fca2bfa2af71de13df420cef0603a21b5740820565cf8b74f3f1a190c4b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7d8176476fef9d97fe38843ad5445927c830ea71cb6cd725aef7922a748a03bd
MD5 62a616bb22ef72dd48968d78e7d12538
BLAKE2b-256 ba384a6520e8c0fe305ee88521df5fa33d0a32104690af738b9829a24a3560de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 99a8bee2dbb6bfead99eb566266dc780287d37775f755c4e469abc7f1760e2bf
MD5 451b7b7766a4382988c1f2712188cc37
BLAKE2b-256 93110d5684e5d9e86a2c707ac9e582db59bac5f52a19042eb193cccd5502b837

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ca03254158b3281e33f5eb9181f8d29fb0319bde08e599f370c2534b84262121
MD5 392ab8fb256223d670126db333fcafa9
BLAKE2b-256 b9924558e4c5220c49bbe74bdff0f0c40730d04e34dc3473d48dcace3ee59107

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bdd7ae0a0be40b41999bd41b4e8593be8fb54fa9d9cfde3d1203d70beca2e9ff
MD5 2da57653d7b7710db61ebb322ac7890c
BLAKE2b-256 9db5f3477f65e5731cfcc5952244a1a951ff7c91989c61c222f3043389c3acee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a8b362fea96d91f795dc7436229b332e38e5e39b1e26953e0037322bc3b7c022
MD5 a47ff84fd5a625b3811684d9ca78daf1
BLAKE2b-256 adc723ac5e99dcac880de470c09a9067219fccbb69619bcf91a51ed2ef766939

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5bcf72a0c4dbd85df7574d7d4c99a2ce30812fb2140a3963d0176e52b3bf2452
MD5 9e2112fa2ee43c50ce151051a2e1ae9b
BLAKE2b-256 8f09db6b8ed45e83dd0bc4490ee12f492216881f99efa113b6291e850bb5c951

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d96cfb0852688512d1ab4ccfcacd517a32b2dd7b45e8eb1b4adaf3af7b173008
MD5 0ade4946e07ce997f5269d76b70f43a9
BLAKE2b-256 13e3cf0e47956734b6ffdbf9a9f00d14d7e4e1cdf5c77a2a7077c0fe39e4c22d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0b4305e8b1175d12a69b519d40db8224e6791942825c36cd48236f4fa954412c
MD5 4e13070d2b9532927206bf78fdeb5b93
BLAKE2b-256 5f3afddf6835ae2b00e4d331e8aa3570f30e75e723835dcd9d58aa9571b2d189

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bddb837e9022d6b04dc551875a3ccd8c0f358a39632d4600093fd4f3788629d2
MD5 f0bce8a87c51f9460699ba8386cad350
BLAKE2b-256 d3bbca6764b02260d9bca209837bcbdfdce9c0252cb4935f02ee4dbd2e414f05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.8.1a4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 60860745d4777f534f3aa59e39e8439a5f736244fb86b0a467159e34a8d3a7fe
MD5 4a3637ee4c7d3a33c7f887bf4bca86bd
BLAKE2b-256 db3cabf88334ec7c1db034d87780988221afd86fe37659e677466f688451e13a

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