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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.46-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.46-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.46-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.46-cp311-cp311-macosx_13_0_arm64.whl (219.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.46-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.46-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.46-cp310-cp310-macosx_13_0_x86_64.whl (234.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.6.46-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.46.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.46.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.46.tar.gz
Algorithm Hash digest
SHA256 ed779117bf0bc6433fb9e6c703ed461bfe5db03a1ef8f0edd99ddeb83643e213
MD5 b95f241645f809a790f2cf1bf68d9799
BLAKE2b-256 49f45525e977a27c399048979aa6c3cc34af2baae907dd0bc18db64d8e8766ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9ec08476ac47b5b015de2ce09841d022cc857df1a97ead32bdd89e6722de2b5a
MD5 5f3ef35bb0be920ce7e08fc56112e705
BLAKE2b-256 ba0eb92e68bbf6e0d38814bd4f9bfee802cf7efa5d196db07bf850ae83333138

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cfc25915bbd0d617243de0e6c07ad14924ee45b2e797f11855452ad0ec1e74f0
MD5 5c0ea87cdf0e7303ab647ca7ba6967f4
BLAKE2b-256 a41885cdc9f7dba3de7a313316f8dfce29d7e843a56f66a8c77108511f56ac0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0e509196ae20976335e99c1f886dfc05c38a3537f8fcbbe412488985e243a39b
MD5 ee1d673b71f4f4503be4cc98b8d8eeb5
BLAKE2b-256 30ab9fb84ac9606c8ba2fca8ad55507609114f72486f62ab2222166731ee9cca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8d27e8a1d3d53799a10f0dfa4754f7f14d410c391e30c180810595744f02f157
MD5 646358fae38534ecb4070ec792591910
BLAKE2b-256 e0b8237df52d15c2619ab3df5ab536c1dca7ec461149efc9c337b7dc5f0a7f35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ba5333fdc44504dc00f039783c30f50363ae792ac356b2a0c1d7147c06521885
MD5 3e734b14874facd2911bc3b3feb14234
BLAKE2b-256 89da319a93e2495b90fcbf0b66f904b922aa43776c10f4a4e62a2f67a67a46e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 915e424d56b6cf18f1f606177df523a05984636aa16d33de6f2e55e65e794a3d
MD5 c8b6656ffb23fd799d49cabbf0417deb
BLAKE2b-256 3153dc623d987942810e6e3a5b4d539d6de66be92ad53aee2e7623358a45ddfc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6c6220bef4168f973231b8aeeedf75945620935b8c8df7a4ff872de60bab6200
MD5 ffd58bb1011e10aa1b27bbc5c4127a94
BLAKE2b-256 40aae6027b25017dc4faed855b52bac9e3d722faab76e1551cc5033213667915

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1169f297992249c84750d3640c251a4dd028f40f6cd80c236f6ed3394c91ab66
MD5 2f2e03113f9f4933073d9b11b8d8bfd0
BLAKE2b-256 688d6137224cba5f7f65df0875d7342de47d77247c24d1efb0967d595ef4efd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e75de7c2b91b9826f5ff18ee38b9f9aeeff33909e82a29852a79ed5407d9de69
MD5 9e8b284f8dda8589b539e3580c92d8af
BLAKE2b-256 d46d0646563593d5c9f5a1fbe6fc499771f8a938ac899d9e5b4721775205b89e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9c4e021a78c4f19435cf4c4f3f43475e2de7bda8f1073eda1ebd7fd2f25bf66a
MD5 c40dfe52a13d1249558f531521aded2f
BLAKE2b-256 f2ac0409d588431bcd26be5c53204100eef3792a3003b80fb098e56ecdd5c2e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f64feed63bf327dc6d59d223e5c8e481184ebc0376cbac3180a30398eaedf5f5
MD5 6718654732a026d1464e24641d831c36
BLAKE2b-256 22eb547b49f75295346d6b794f89e09813e7eafff2cf6ae7d0bd9523ce5e617a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c760a1740ecbf59dda9f8c9e53d82c5b8067136cb36a7db9e83889e058791d93
MD5 4bcfa5e90bf875f2d852f89c0980d51d
BLAKE2b-256 b5ce891d7324783ae91551f6b88a5abd21896ceb6e349566ea70920343d4ca0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7809e8800083b5fe8f9221d660c7d395f4f1c5d49d7a790681f5064bed44dd7a
MD5 0360acdd717293cce7e26fadbc1f8058
BLAKE2b-256 7141cb8b746d949da804f310cb5b44797a541893bc739a460a96d49f38bf0073

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6d7cdd5eb4b6178dad024cec92a9902c6d4270a68a1067449110d53f434b0722
MD5 f903eb8a9dc9394e1e93c4fea3ad26f3
BLAKE2b-256 9b67ff0ef81f7c7b8c496d8252ace07061de322dd23b1d7ac1db1a338a339cfa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f7f84d2da97556597d434eea067c3d57aa19af3924551e2eb28ce1b98aa2af64
MD5 e6cfedc00d8c6a9c8bae5b49ee1782cc
BLAKE2b-256 a41e6ef99aa7ee2d2729c8cbde6904fdd034f7ff0a2031b957d7a8c6bb14696e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 37db8a4ceccd87f4b2caac592d7a2a75b99e295fb6ac032be095ef2809a85bfa
MD5 5b80ed31f7b83ae81b58f398555f3166
BLAKE2b-256 89719e934dac48f70db7e0539b0bcd20a13662f9ba27bcfa12b673dc2c6411cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 638df70b6018a57d72935c2466f17205d896881806dda409bfac2c32cbff4db6
MD5 4a0351f9051115b4fd66c69da99c16b4
BLAKE2b-256 4a22a10998e4920cfc8d8097cd5bb5e09b4c6475d6dbd0d91825c22dd0223812

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0df383dbf441aa4e6b9a60830e2453522e653638e3ce925d6857225f43e6aab3
MD5 e2fbc012dff137efc35a47e32d336505
BLAKE2b-256 7e59a22219ccac94a79c451a5f3e67e59fabbba7225ba02b8ff7b8f9ec146cf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c4f3afe24d1cbd3a574dc1a4035f709382ce4851ac883c800d2aeaac62d94667
MD5 2db3887bfa5651515a15fac629022f80
BLAKE2b-256 ac19db2a1fd2e854e258643046f2849131670be863c5f7c013323990aa1cdce1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 720e498b0c8acd91511bac223fe8087d06a2f64ff8905b129eccd45a652a6964
MD5 a615cebbedd0be93d9577856a91078cc
BLAKE2b-256 f62e966a95342a0701d4358c2b0da19d8ee1507b6eb2381e8e0f3192ec49fe97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 85c31bd514a0b0bbbc5229f5b58fa103db411017eec10ce8c515b80452e0786d
MD5 a50182567fe69e4499f09659fa64b6c3
BLAKE2b-256 597d9ab478759785ba87c4dc3a232976a40c0f2fe91dbd39e290e571e2a32bc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 502a7d397063243f93dabfaa43d6df8cb7cb0ea8593a9c194711a7a01228aec5
MD5 21f8038f3fbe707a0aa45a0936e65af7
BLAKE2b-256 ce17b303fa852c981c7519e3a7b7e5fc487f4c51106018a410d27c9133786275

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7bd2848139ef5699606d69330599a472a9bafd2b69b2cdb209a3ff0a1357b8ac
MD5 98a1524401e3ff16ab2b42c804139969
BLAKE2b-256 4693d6800dca4fc8a6c516f71767c579b9f8bd8dbae9e3c03da6120fa1d211c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.46-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8a054bbafab57ed9eb12c6bd1a0178522e57baf357fd3c98bbf35db7dc81219c
MD5 13e6f10f783e497b4b1a5c24476d6022
BLAKE2b-256 ff9a8a0d53b1f26f9accd97c9cb8443dab80e06abebba1ac0baa3267ce3017e9

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