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 sage.all__sagemath_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.10.tar.gz (4.4 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.10-cp313-cp313-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.10-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.10-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.10-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.10-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.10-cp313-cp313-macosx_13_0_x86_64.whl (186.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.10-cp312-cp312-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_glucose-10.6.10-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.10-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.10-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.10-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.10-cp312-cp312-macosx_13_0_x86_64.whl (187.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.10-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.6.10-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_glucose-10.6.10-cp311-cp311-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.10-cp311-cp311-macosx_13_0_x86_64.whl (187.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.10-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.10-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.2 MB view details)

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

passagemath_glucose-10.6.10-cp310-cp310-macosx_14_0_arm64.whl (176.8 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.10-cp310-cp310-macosx_13_0_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.6.10.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for passagemath_glucose-10.6.10.tar.gz
Algorithm Hash digest
SHA256 8c1bb4a6c46d6d542e47a3faafb137d14c55ef403928f2fa94653b61d5745557
MD5 f5f985ddc9b4418029c03a98004c53c9
BLAKE2b-256 d578e37b72b107ea31c15a6b3d3f2d131ec8a32a1b2b29997087d34231dcb0d7

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c28ec2336978b909a364bb6680bb50726e5bf63a685f145d0e46e4814ee00e5e
MD5 3edaeddc85ac344238986ce26a8bb14e
BLAKE2b-256 d6ca94bff67fc61bcf789fb10054d5d88d4fc7bd5c559c05065c401629c55d58

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4a1e99ca363be7e1cd660c9643db4ec0daa927788a4d933ca4934ce64928f787
MD5 d453fc2cec2d87d50c43d57b03724787
BLAKE2b-256 066468d8313e2715015dbaf3f6bbc9225716f28d56781bec4789a2d40c52e404

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b058327677480799d249293cbea74be38ffa00865c8474595894d03184495bb
MD5 dbe7a193bb287e5db52e877ca11bccd3
BLAKE2b-256 47ee26a01b50281cb1b140a7c81ef57d9bbdbcee7351465b73e6e22c609b1965

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d7a175432de4bfdb3999d41ff856055ae3562d994b3e674fe7a8fa60a17b9a48
MD5 2061e7218cf1d456ae09b6584c247d08
BLAKE2b-256 6cc4e67e2ea95567c98c9fb301d02a74d10fd65ac77d94fef2e0c3a321bb48bd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6551f529e33ea029a32a31ccb5049a6985acc5e547c9a60fb6881888fb8f3119
MD5 6b68798bfe1e1010626655b800691bf2
BLAKE2b-256 c862d7bd2953833b762ead5630109a8eeb8b44e0453966e45ac85b42da0d8623

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 328afd12c77706b12fc121a165849470db2b648e77d923245d0dbce14f4c776f
MD5 e8e9d7672a999e968a9a86dc87623b17
BLAKE2b-256 d38d4c59d192c3c4a0fd208079e20b8a48a1656387b156cbc108af6c963d6e08

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 85d4b551b0b54f2c80d21f9fe2b8fd476b456ab404d072c470640a9d8d46bc5b
MD5 19ac4fd82d8f3615556d13d8ec0c4017
BLAKE2b-256 2c9c6e946a076068d8b901f2dc464995d3f4d8a5a743f8600927947fda2237da

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 00ec3ec39f5dfaa3b8446087811c7cf27586f2caa4354c990bec3e0d8908dd5f
MD5 03bca0afc9d74cb5900befedf2054a4a
BLAKE2b-256 9cce3b8e667b08a1cc2a0c9e9797106e2c68c81a6242c9d2b55706cc382c402f

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 913d403664d67a61fd4792d9c86f9cda656bb89776552e338393945728883612
MD5 c8cce5d3c9e1bd1be84fffcf71028e4b
BLAKE2b-256 6a8dd6891ad78e796b7b6e045666de7e1e3f43424ff5d7e83eefcce3fe3303fe

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4bdcbe08dc4e4c536673aae24c43bd3ea73c9bf2cf383a68d1c965c135e090fc
MD5 27f43d754e52bedf295803d7b643a122
BLAKE2b-256 1705e2f09afa64ea87f4a503fc48bd1343d13b47de86ee7c4931ef80b4436a14

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7f453876d7437c3a03ebabbe6ff585634fa25f71b214c25e9c6f3124a47b83af
MD5 50d14236247206aad1eec320ec387263
BLAKE2b-256 8fc79543dc0815d8cea041985808ebb98111759ddefbe7a5372c7f5acda60f54

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 737a32a6272e0e03b417b765ff351751cb6cb3d796eb525d17720a2e943ace27
MD5 8845cb9e9ccede50ca730aa258b10ed7
BLAKE2b-256 c059cedf1c3ce9a338c289aaa525fba1b219e9d4d986d3228e459f5dfa54f13f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1ec5d311a9651d22857459680b78ffa2506f5a25996a061ac83e4890caa7ea1e
MD5 d158d6a456201b7b4834238de896957e
BLAKE2b-256 c0338e3c33404bab53a3e2fa5927b50007531f4c3ee75faea817203d46d305b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 046d3fc03dd26fefa5c37edc484b3bfc45a5ce2fca61d1da042e72e087ef41e8
MD5 b6f7de2071e08c5a77c453f049f9cf7f
BLAKE2b-256 c1a80caac9debafbe788bdd8c5fe713656ac3de447adc532f2749fdb8ad8c52d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bfeb15e31079fac00d1163a5fa468d3e1567d246a38fec31e1a4ae5789ff1efc
MD5 12c770711b1bc286f0d3ca3495c19859
BLAKE2b-256 535feb7eb4a5737f99646d392d72b02c85ee18c6988b7dc1e0d3f99c6ab58a1b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0b7c923e8d9e4974a73059f534cd7b95e1fc6f6ff1ae33b387b5e102cdb0d7e5
MD5 d2b76e59d6c62365d546186e4eb74078
BLAKE2b-256 2168ab172c8d80a23789af54db6f8cbe8a71b2b8d51b2d9e605fa9e3e4923f87

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e072d77220b49410a0ac9f8ed39a09569e54f5d089d6b1e5d75b946a539556f8
MD5 a5f2ea9a9ec1f2996263f00dd183f690
BLAKE2b-256 95999efec0a43536356968bd8fb7ceca530b0708b3fd4e1dc087df1d3465f7f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d294959614726d69ead2ff18a1ac99ec6aaaa63577883b32cf2a2b78f5e24949
MD5 de935f7f9d8769d7eb59bd61097a8012
BLAKE2b-256 33e3387f49826d8f24bc60ee51ffe0ad7e9e8d0dd095663072386b80c59f4ccb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9bd800283f5b849c3ba800d25f551ea2a0339b52b7bef6d774a2c3525b929d96
MD5 638b61738cf83cf90997541edc9debbc
BLAKE2b-256 f630082b69ecab75e2552e309c67775c2b4f3f2885affc9c1c8f82ebd16a8349

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 78d18a8a9d270b5d9ab77dfd1049c380fbf264ecd95994dc69907887caa28e85
MD5 0a1cd87d259bb073dd74423b8699bca2
BLAKE2b-256 5752c4c88feedb6b1f76987cd11113d66526d8ca82c6543171909607fe3a6449

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8c0dd3687fbdc7c95805fdde3cb6b1edafa7155b1680352c5a8f5ae597dfb1ec
MD5 17b7986869827569adcbd7697090b65e
BLAKE2b-256 19e622ada21950e0ebf5323d9872296298082f3543b3a82bdf9c501ecc9456e0

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 05b159354846683a58f25b2c22f59e32926a9f4c6ff3d9d40054de7f526e3e8e
MD5 5c20c4cb01203aa809550144b8640fef
BLAKE2b-256 8f1ffd0ec29fb9379cf58fe5d09fbd5d1574f0b6f9c2e1051ce626ec55a8f014

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.10-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2b74fc730a75902c1503c74ac69dec7078648ebde967caaa0be7e0bfadd86161
MD5 e610a97b671f9724d6e3199767653704
BLAKE2b-256 297432153190507f18ac0fb8f01f642b118b63a1183a9c08940df1245f74b5a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.10-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 352d8d1da762c015fd317b4a91c1b60de7def65d09f3ec683b338feb3276420e
MD5 4f7e2998dbf9c3be9a619d1673fe44e9
BLAKE2b-256 5723d0b66060da5253b20760a1e0ad689d65ba90d60c1eae31edc10ea4494564

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