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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ x86-64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_glucose-10.6.47-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.47-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.47-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.47-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.47-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.6.47-cp312-abi3-macosx_13_0_arm64.whl (219.9 kB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.47-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.47-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.47-cp311-cp311-macosx_13_0_x86_64.whl (234.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.47-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.47-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.47-cp310-cp310-macosx_13_0_x86_64.whl (234.9 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.47-cp310-cp310-macosx_13_0_arm64.whl (219.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.47.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.6.47.tar.gz
Algorithm Hash digest
SHA256 73781b433a29be189fb2f838efcf1b81ffd22628bc1d413ab89611d20dfcd917
MD5 da895215beab5451703ee0e2d11ee817
BLAKE2b-256 4b7681419f29cd1e9e723035910f42fc1160ec10927507af6257859fb46cb66b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 219a4f0161b29812740f52ba624632be3b5ef4bc453fbd66e58476a881ac1e3d
MD5 7a619a059e435bc90be125d07964ec22
BLAKE2b-256 333351d3e54afe722be66896197a586353a3518458035b068264187a2e0fe164

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b8ac607aef36661b5b83dfe9bc911fd384718d43e6834b00f7b74849c7c49e27
MD5 ceca84a9c79e0a16bae785f85ded89b8
BLAKE2b-256 53b4f9576c17f98204e3a8f27e1b237482d3205cccc64d4c4c3b2d8d548ad31f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0a372fb8c22e2c582176f20c44ab14857e70ecbaf1e61e0aea00537ff7193a17
MD5 f25e8c79de30400d02c7194e3d136725
BLAKE2b-256 c76cc7ca1b4ecb5b6151197b070747a771f6bdd581e63f748ccc99031077591c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 933462805a84f69439aae10f4634fe70175d0d5909637262dd29d5740f9e8cc1
MD5 3a239ed8607de48b49d6e6511ec339f0
BLAKE2b-256 cc1ede7959fe53bc5961abf22509618673e0c1c81007b42bae85729c88d4773b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8cbabd27980d38282daebbe69eb760b71a27199718fec8ada50f6d043c06f93d
MD5 2402ef36c3581f50c01313315935383c
BLAKE2b-256 6f2dff6931c95bf3c9aeb1e2e74198b75b63d8878c7ef84694c66fd10b28cbd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e362c0ad1b36fffd3cecacf09c5a4e961fc14cbaea279cd0bf93f9eae66801dc
MD5 6f13de8f63ab2e4c0ca53c4faaa7d0ff
BLAKE2b-256 6b22aa76db8fb1713d673037a59b302c7e15ea626039a2f939233de555f56145

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1a9382cb46a914ddde1505340e00c6e015c3355b845ba392832aee20d6472d25
MD5 8a53ba4f0b07085e56f6d067cd833bbe
BLAKE2b-256 abc82c500179c5c137c23e03ff788b1cbcb072668c4d1099ab0a00f301e0617b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d08b0bc0e9c8009706734c9a0a462f5e3b78ae3251d9ea2b9dd80e59bcb0a99b
MD5 f517c89db91bb77b4ff59feb63061c21
BLAKE2b-256 b70270745e268077be7033d6c5cd7dd7073e932546c5212eccd373c064bc3689

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 414315e6ac853c637223556195659c562ffe0dce32544c4c99a46b0c2b17585d
MD5 db2b7282de6a3f811771c8ccbf8cf8ce
BLAKE2b-256 76895f882b3135ecac16b153ae6acd62f31826a7ee2ceb5ed99f3f5515c24539

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e8eccc3f91d9e32d72de67cb2ef74d921abce98b2c28b6f91fd10e5c231f3741
MD5 bc07d31a0ea8501b09bf4444ace34ef6
BLAKE2b-256 01733c63576c2cb8042e263172ba6478acdbef2f06bf9adb01cd64a075eece0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9093c5183407810abb5b05ba9d1cbd39a9dfbba7f70fc23d959baae25e9ba9a8
MD5 df1c81218e874b7e24a08318976ae6d5
BLAKE2b-256 9239a65ed4cdd1d32035e66ab9e047d237261547cd5cf7bd4d9fb4624089bd73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a31ffb81148f954a5cd45a2a05c08783ba9cc91f11e5ddfd325757da01ddb75f
MD5 3a23e86effeb2d5836c424209a67055d
BLAKE2b-256 4ad489931205739e39448c159a86919a856670af1490a39e27c16c5ea0aef718

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d1e31450edef47fef6da24f226a8a4c2129cb09c45ce7a4a906f83f02f622fd2
MD5 cb7f835850dff3ae9fc4fc20bcf2df74
BLAKE2b-256 82146e5a71f9d271a710845fe183b73326808587206b39974031d2a768ac93f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d5de94f58951644840062e489cd99279421f4bfc422b52697b5f663476912dbc
MD5 65f3330b4003372fc6442afbab282cb4
BLAKE2b-256 80ab7f3e24b67ac493905e1a4fde29c6f30464a08e80544adde5c4cde7e22c04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 90585726e082f17bf10ba23392e852a29d5e1dbe3cdd26e4e75bd617a2544c69
MD5 fe57015843e09609ac58b4be494d55f6
BLAKE2b-256 9dddb3142fe4905c13c2d75111b46efa8b2946fdbdfc7449da8f1f8bed74f986

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f957fc67024597a990178664340baf61a153562926c3cd434014f2c7cb245464
MD5 fda0a1494701984d50655a622175e04e
BLAKE2b-256 0b132e67463b5ad5275764ac321082bbbb1e2ce0be587e3d95bc22155fea944f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ddb96d97713819f77aee0a4e57fda3b4eaea40de8d60e70dc62533af4727af51
MD5 ba7a3f539bbedaadd4431501e7247f83
BLAKE2b-256 1545050207c6a28ca4fdc8100899fb796ffd23991fa296c55a044b69a02f2af6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a54c4b947f538f952fae0ac8727c3fe2ca41e0ce18ff8763b3466aa75c7bf757
MD5 1290adf5bb95b440ca0360e4353287e7
BLAKE2b-256 fd20bfdc30d1a6a059bf84de8147115799c468872224f8ea517be7c3c8b7a88c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6dfa4bcebf299968ba892b4beb0600167cd3b0e85e6de512b994d36ea1563ef5
MD5 01121cdc102f09979077d634200eeaa9
BLAKE2b-256 7b3fdd3aa8f9f27db3988c448f6a417b7a536402a986311a1099fb45b6a9cfdd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1dc7f296ebbdc08019a3f3fc751c614932e8501d55932f47bd0df35082fc9909
MD5 35ad67596542bcbf57bc3156e6359c4d
BLAKE2b-256 093b20377a173c3eb6db58823b3d6eb435f55db53046aa4a600d968546fc254f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 221f27b17eb3c7c2f09a674f585e33f7455295729e158bc5f2ad27025ca32765
MD5 b2cb69c3a589ddce7248ad7cac81754c
BLAKE2b-256 72a376e7e4528b9b34729c9c58c184206b60c19031587aaeaf926fe533f6b649

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f761c520d5487b359ee939732d66935b7edb1b68fd90d6f4ee18f1ed07af98fe
MD5 f0ec67dadc382152260a9cd7a196b00f
BLAKE2b-256 35e533f9376a25ece9fd3a44defd02e77117907455608e37971c699d8bfe9a07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1c70ad55e4552cd43f79337fcc13f76ec09578010d713c5fc3fac26c27e57022
MD5 2af40245377d48318ac56c4f48a33eb2
BLAKE2b-256 082dbd3361ce6b18c7f04fbda7edec054aad06394af0e24025d4dd8481b858de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.47-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8b26d323aae96f9c98ec939b55a03b995ec15de0df315f59e4c4015c4fdbe7d8
MD5 2b8fa1daa63a63610c962c98dc4c31ec
BLAKE2b-256 e9002a1993f05dad07d441e8bf44ceae75940a68bb17493403fc8d0ab849ad40

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