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 was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support all major Linux distributions and recent versions of macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or virtualization.

Complete sets of binary wheels are provided on PyPI for Python versions 3.10.x-3.13.x. Python 3.13.x is also supported, but some third-party packages are still missing wheels, so compilation from source is triggered for those.

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.1rc6.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.1rc6-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.1rc6-cp313-cp313-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc6-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.1rc6-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.1rc6-cp313-cp313-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc6-cp313-cp313-macosx_13_0_x86_64.whl (186.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc6-cp312-cp312-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc6-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.1rc6-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.1rc6-cp312-cp312-macosx_14_0_arm64.whl (176.4 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc6-cp312-cp312-macosx_13_0_x86_64.whl (187.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc6-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.1rc6-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.1rc6-cp311-cp311-macosx_14_0_arm64.whl (176.4 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc6-cp311-cp311-macosx_13_0_x86_64.whl (187.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.6.1rc6-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.1rc6-cp310-cp310-musllinux_1_2_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_glucose-10.6.1rc6-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.1rc6-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.1rc6-cp310-cp310-macosx_14_0_arm64.whl (176.5 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc6-cp310-cp310-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file passagemath_glucose-10.6.1rc6.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.1rc6.tar.gz
  • Upload date:
  • Size: 4.3 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.1rc6.tar.gz
Algorithm Hash digest
SHA256 47d04b26963977dfe0091811391bceb16bd1d0196e7a9498e9dcb6b83b8a5c0e
MD5 72e3455f857306d0858736251ffecd25
BLAKE2b-256 e74ed7b1024b36ff16ecb2065c175720a73e08f74cb5f97b918cdb277a722325

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 957e5cefa6ca1576be4401ddf9a78ccd39563bbf6d9ac600e25dfb56c339f5f6
MD5 3f2c860e9cb94ccb493a0bcb1b209d7e
BLAKE2b-256 3c45d7cc7cde612c3b4911dcf4c965d5ee5d1dbd0027d7edf4c0d89805af26b3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a0ee9c2b483b13de770567a53342d31b6810fa572d9dbf3d0fc2b7ab5f6ba4c0
MD5 9b19afaf16f8bb9aa22d11ea32f79f44
BLAKE2b-256 51c5fece25bd87fae83a79e64139be46255b0159a8bdd1d15becf717d1819572

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-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.1rc6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a0830cc3274abb062566cd179bf5704414bd6277a47028c2f673b1b23e76335a
MD5 98c92f708f62dbf086d021172bb1a0bc
BLAKE2b-256 f07f33a1f87a6aa57a62046c5a8f4d4470ffc934d76bf383db4cfe7532fc4999

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cf15ae34f90aefbf4b72b4fe2dc12c82a8743703c4249324f6d93b0a77329071
MD5 31378fe0773169d3b10a0319a6ad930a
BLAKE2b-256 dca4223e95e4686b74984436c390db7dd951cb9667ec2b19a04a55a1d33f3a75

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e05565090df4f123a39212f9cc7eb8411c9f4824e5b6cf1ae4c20927e3c9d7fc
MD5 e70816d3e1708649878cf3e43876b9d7
BLAKE2b-256 6eafdb7b418cb9d0e7bdd76fcf6cf34ecf86946aeb2f398825c9c8ceb655ae9d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 662ce6bbabf5a11723ec68c26ca1fa5a10cdb1ca096179e8cb904e067386aa6c
MD5 1f9700aff797fb5c76dc580cd63f0d28
BLAKE2b-256 7ad1de93e59c3c98506073880e1a2268e29dae6b8ba6bd8cb65847d08b932c6b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c923cd62cb40d30aa453abe9dabd4cc845c61222c6abc424d40b9daa469ea010
MD5 ea2099853dd8c1a09b1581f351c6263d
BLAKE2b-256 dd6eb62f44a1a123bb7d247d6defddef938360bab4f1b72bbb4148b0e62f7f62

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9f92b2387764af597b8467675b3a34e4ab8fca4451a894a41b7f9813cc475eb7
MD5 c35d9388e85917d948acdb783594ed34
BLAKE2b-256 cc6309cc531eacc419e471378e9c074b516c2d409ed6268601215a506fef9267

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-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.1rc6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8226e7c34a1d27859924c0501ddb13a7352258f5027e4d780c75c6a489cd2c97
MD5 18dfa59a6d1978aad4899524ad7bdeb9
BLAKE2b-256 4bd5df775e87888c160f75ff349f8866255b4b686393f821a164f06f328a465b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ccb4eb61b9916bc00d32be858752844ecf468a2226b2e648d4abc41f20033eee
MD5 c7653c0aa0743e315bd902518dea89fc
BLAKE2b-256 35846a2085594615fe07f969e8b6426a4d2e13257d440dc0faa5ce1c409fa4b9

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3e05e09f9b590ddbe8bfaad6a794b2e8e82033a3abd95a8eb7fdfc526b697f3a
MD5 82596a2df732a5b8dc87d7d640a0f961
BLAKE2b-256 2cd962a353cd822a6a2c47ec7c9b19fb1971d4dcb3ccab984cbd84c747e37d83

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bce75f02fd6df8e726aa68c3436f92e74d81b372fe4e6d1e7596e01058c32699
MD5 a010eb4db602d3180fdf8a4a57f75e77
BLAKE2b-256 3ff2b4cc2b2158e98d41f8c8935b55c84f89025dbad716d729943fb40531b6ec

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2a6025792f7d5044e3c0a8c46fa817706f68daf8f9d351bdeec0806296f28592
MD5 1a0457043229ca0b4fe830f210212d65
BLAKE2b-256 e8918339c29d8ef03ab17967abfc18c4e92959666527bb899c971411b2d38e4a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a5165b722fb1a2984a04fd82ae1086ec24dbbc4ea439e8cdc14bd67bda1e0eb8
MD5 d7cfc2923e711a3957a421b5c7d22fd7
BLAKE2b-256 24c2331ca4752d074ec4adad01f1120f3b1a718234d3c19194f4438a6e1226b4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-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.1rc6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 18a104f984e9a78ef756b038af58076d70641711836bc6e029d724b76365c956
MD5 6663f69331a3fbc585f858b02e491fc7
BLAKE2b-256 f30cef2a56b0f0e24613b3e52b58c01f97efddbb86d03bd3bff025ab2ca449ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e70144f82203a4c5a5cecdd7b1d21d03247c6f6532879db3e38880fe31d3d1a6
MD5 0843dccf13c280a7e871540d82fadbc7
BLAKE2b-256 06d812decba5e08df6d4f269bb918bb7ac987c90572891d2aa9b722bfe442e00

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5fe49b931c42def75a55e5274416e8632b87444b7960eff099b9af228285871f
MD5 1db86db56698d67a69bd0a7aa53b6319
BLAKE2b-256 0182ee56e010c24988bc026c89bad62ff614027278aacfa0750097455add13f8

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f5ee88c47c93107952a4172bc85c685039a0964c167047a9d840b918a46ddc3e
MD5 039263546c30b506ab11bb7f830f1f4e
BLAKE2b-256 9f3627ed5446f4cb7b0087b8e952916ec6845a95909a1bd95ed4897a060b7410

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c60dc3a5407e0154e13c49feacfae8ec3a3c3367a5d15510c0ea06b55e314139
MD5 c40bd7a4c90b1984ae0a24bd93014525
BLAKE2b-256 150c5d01bb161561babc14d77fae97840ec144671b7537bf7086a353a2263c49

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6e1d6401e398c3adcf279069829538577dcd292a876a5e0fbadba1205b3b4a60
MD5 742a7442506b3f129cd91306ed3e6c85
BLAKE2b-256 6a64534d143fba891b392ce0a26d47f76812971d0faf1215fff83c85d21a635a

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-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.1rc6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9586d2cf75d779f752979cf6153a9867901453651338657d102a4a7facbc3e7b
MD5 7ad89c0da0cf99f2b56d35860efc7309
BLAKE2b-256 667115e7a5ad1e035f020643e2ab428ea22812283ec2ef1c53368a3e76cd52d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ffc19f3faee4f08afec6ea1de6cf88e49b0424c616d97f15663f28e5665315be
MD5 a9b655cfc61478f39d92a064bb37b400
BLAKE2b-256 dc026a7ecb79e89b5fa03ecab01590358e283917eae6896d44116e32539f6bc6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a8aad0d0c9a0564554e2acb030a5f3c133de082af8a04f7708c6e354452c74c6
MD5 47bb0c0c882dab7ab4557c1458350e55
BLAKE2b-256 52a8a8ae463aff01fe9688ea75be0bd7141768dd13c66539bc2c51640a541c3d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc6-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc6-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1468437cff8d7d8caddc0e7407b1e55d87b2485ee80cb92afe00f4d6dc24c0b5
MD5 0d4fa4ae125d9277e72293c2e54adacd
BLAKE2b-256 0bc8460c503d4e3d5cd59f325e57667f58102b7d37e9f8c799b6bbab4e553ae4

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