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.21.tar.gz (4.3 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.21-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.21-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.21-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.21-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.21-cp313-cp313-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.21-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.21-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.21-cp312-cp312-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.21-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.21-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.21-cp312-cp312-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.21-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.21-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.21-cp311-cp311-macosx_14_0_arm64.whl (176.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.21-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.21-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.21-cp310-cp310-macosx_14_0_arm64.whl (176.8 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.21-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.21.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.21.tar.gz
  • Upload date:
  • Size: 4.3 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.21.tar.gz
Algorithm Hash digest
SHA256 4aee98bb9c3f168368854ede796f4a10a114c1e748da77817bbb7223d2dc0a7d
MD5 d1d205074d6f493a5fdb11689baf2ca4
BLAKE2b-256 3ad626e652b0751c3f2c01fb6217604ff66732aa4925efd4855e3606ee12a057

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0943866838cd1d8b2a11239b43442df83f540e16db66d4b843193461b6f7e40e
MD5 79e095d9e936a7214feeb87951601f0e
BLAKE2b-256 792aedbcb889f7e4c171300fb8aed0956a91815dca16fffe9bcdcbe6ba9264e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bf62ea7841847e08c64cb5b89754e2733a2bec0f0750cc33b3727a7b15eedd37
MD5 377605ffc054cebe82a0ce30b13dbe6c
BLAKE2b-256 8e28d229831d251090bded68edec617d13535d908c88f7f6e8b09e9a02906e03

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.21-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.21-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 81bdbc5d4a959a8cc0e8a6b62e76b47a8f17912b330117abbbe95c3e61163162
MD5 6e79a08cf93fd2593f81b0757db0b479
BLAKE2b-256 9874f10f41dd063d7542e769070c3893a6278f1299a6435e3ab6d9d7a23510be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8b239f0ff4b77677c8700056262b384a490ca65d871102392c5b284a57a43303
MD5 4a38984c4fb30eb3c8a38013985e73fd
BLAKE2b-256 2d5981bb7109128c17468ba76054b97158b926128ec4dac0f9e532dd81ffba33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ef1933eecc448c1805babaa256035450d5384e2812750bb9ae927c37601106fb
MD5 37d6ec4ab0a75e1f414d78e8721baf7a
BLAKE2b-256 90b8570d602d55bde9524f03af96e8e137939ebbaf2f4407f2c790af40408c5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 66b6bf8b244c0b46ac3bf86bcfcf46a0e7ca710266e07705801cb37f0057bfe3
MD5 c092217415f8caaa953a67f86a0bde81
BLAKE2b-256 41f79c80d1b41bb9c20026cfaad5fcbcbc67f9461cbc9e4990450d5867d16fff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7ee3e1ed80893b79a90c5c92e7db9a49b0ea60a038e0c269eabfa26471cb7c86
MD5 2bb663ba2ff3fbfc7d7d2975411b6f04
BLAKE2b-256 2dba4945c9ad0be4643e891c18a6e063412fffeb8f18fdc0561d746256ff2de3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b43339a7ed3fb191a8d557404025dd7bd6db93a1e6559a24ffaae1bae7ed5c7c
MD5 69bd91692a32f9d2d0ecbbd902d14588
BLAKE2b-256 fd2c8f0440c8b5d5ea0d21870b45731604e4ad5a32b66af3a3d6f58774723753

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.21-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.21-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7e4296879ee6160b85ecae52e8c1bc2c8d15713266e2db7c789bba37c4cab0ad
MD5 b56f9b734212efe2e69204504727ab3b
BLAKE2b-256 38f9970003b6b03ae2f67cfb940b5ef49b341bb2623e998c5d8b235aad80b5c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f154317696cad0cdd99551685ace6290eabfc217153bc271c2366798d32f5a5b
MD5 7b3bfb5dace0025f6d94a450154ad8d7
BLAKE2b-256 1a73efa3d4612d493428d61caf310b1838e1e699e9a599267f5397619a995955

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 941b01fe48c29762052d6a2934c9823100d5b12ef8f57e6584707b07d0deb2d4
MD5 89c1898b4bbb95ba37ac3afe52b583ad
BLAKE2b-256 e2735cb81020be85d095698812864dba1f02cb2419b486cb3c31c89af1fb2d6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 08dd81de0ce1477a3a5e1f02f07befcaeaf47c477b16195a75193bf2e07f8508
MD5 996e7c2f28fbcb8eb625e3f85e5337dc
BLAKE2b-256 dc1d2896a0b563a60188199a1775c48b3ec77cd569e31b074fb1137f7b11aa2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f48b84b479e533a5af4d051c9c9f9eefc34e7b039c4eeb1116f2a69212b0d5f6
MD5 bb78c4ff4261e3eea1aa053372362d71
BLAKE2b-256 1ec049e336fa860d9bc078e1dbd155de65bbf62f03bb59dc17c1e410e946be7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c77f6966ba62839aaa039d63adce813ea8f105b63ebaa4ee1723544f6fcdcc5d
MD5 a3a155c4f67c3b2e8c8aa28e1a24295a
BLAKE2b-256 11024ac8c8286a0d56b2e0baa9d9f38f6bdaedef77ec8d4907049b8287183fe5

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.21-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.21-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a7d2056bdffef0211e763db1934d3136323c23b79e0b0040259f2ba522b4be83
MD5 7668dd3a13148814b442803116475cba
BLAKE2b-256 6f4feb5816b3a6a939197da62e0a1d0bb2ef186e5e25889b52eb3fb82532d404

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8549e1ca236bd816a48b4b8390618debab26814a512be41f2cd1ef66c4646c53
MD5 c2e0611beddab912e3adee7cd5d42b35
BLAKE2b-256 d8b3af9e4380f30d9029307ec4fde6f6e78b0cecce19488f5cba59547d9af16c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 eea849aee80bd32a1f1cf8bab35c90b5faff429d4794c94f3d977ecdc8f50848
MD5 8c753721c91a10708b164b173b882618
BLAKE2b-256 1884b64004e47bbc1a497269a5ea5f107ccb7122cceecdf67c3c3b6acbc77fe3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ae71f99e041539b346846f3749eb10ded8ad2d95e015a0d600de713354ccc3ad
MD5 230d2befb666a950d9331eb12065c53a
BLAKE2b-256 7b45655c659d2818427c1989e66fdcc657f5b99dbc2b9cf17170dbc6487c59f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 785e8bc3c087e658d98130b2cbfd63fe99e2ef65deb4554f8c1842b9003d841f
MD5 e13e219bf14d0207accdffe1f48dc4fb
BLAKE2b-256 8f4ce9570c7b1c15091093356bedbaa6cb92b0fa0991888761f56bbb436de7e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f098c0011243af8a3d38f017fc342e64cedc090aaeead50795644bb07e6cf562
MD5 7df0d2c90cf5033cdf4d7bb8463836b9
BLAKE2b-256 bf93bd2119c36b8055d88f2bacc04ee23369b3546f9959d1db3b73d833022f8a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.21-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.21-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d21e304fd23000fdfb7c945e0c7652868a188471c7c7ed829cd0210d18ea65e1
MD5 5062956f0c5e4fb062c0728ae4b44f73
BLAKE2b-256 6d083d44f6311c884124049683f35d131096d50a59d363fd134b090144ddb9fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 566e8c44ded17fb54cdf15031ffc3228442c5e6c0d104d40f57f0cbb779dbc7e
MD5 0de1a009f1fe260726d36b785c03f8c0
BLAKE2b-256 ce9e0341c5af348bed07ade4302932c9bfa8da4e06af6e22656bad915195487b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 72da6ba5cb32ba7b383537193f172722902acf018748047434656541928a8cc6
MD5 bb000c56d873d087886136aea0756f51
BLAKE2b-256 de9d1428cbe47f9c3f7740099a56b2dc11b41682ba9a26684b4b0d78ee11e234

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.21-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7d56c779fea0a47a8e0dce19b897b5314c37663472b443096982aa8a2c5eb68b
MD5 176e24c6d7683bb4f77894fa3dc7d09e
BLAKE2b-256 aea599b57fa118f2795096924160e670479f6cf656be713177bfd493036a2602

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