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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc2-cp312-cp312-macosx_13_0_x86_64.whl (187.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc2-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.1rc2.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.6.1rc2.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.1rc2.tar.gz
Algorithm Hash digest
SHA256 41bd16040ff2a14eeea690f91adc435c032b6a6f6270b954cce711745ff56e88
MD5 e0848672aa9f72fe8b0352437d58b68d
BLAKE2b-256 6fb66ad5870e0bae290d42a88784d681b09ab1a805441165af39ed2df65acffa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d3e1074c454e155fa98c9d1087376aa94ca3afb8039bd08884dec568ea5f6a1c
MD5 f4940a87a91a5fd40f3219fc2a7abb49
BLAKE2b-256 0d0f8094f0bfdd9cb04e5a8b933ec7355b7ea36e3f300e7b74d1a5229fed9c27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e07a80f1445a59d26c9149ba1520fbb4f1618975305bc2fe9042c993c0c513f8
MD5 94141f7216da21ba9c1c5b2e408770c2
BLAKE2b-256 82f0e78858b200488a675d226c28b0b0253668cc8e631ff0f15856daa31c67a4

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc2-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.1rc2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 239734042cdcc073b672b4beaec09228a2b9dd7758bb244619d46ede7387f0e6
MD5 1524ee73269b6b667db6035c59b38481
BLAKE2b-256 2e543288a3b33824703c7879074828d2f0ddc78d656a4d9fbe88a9adc721e150

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4d2933bf89b6145ed03f9b86b423b3443bc903ac23a2360d26085ebcd33fb50a
MD5 d5884823b7bf0cb36c6a65c4bc48bdb5
BLAKE2b-256 9839174d228d0a1e7e036dea2585f5dab3d85438d3743b4a708f720633372c69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f7090dbbcbe28017f6071f7c34557754a8c871a959d4b833d72dd044a6b175c6
MD5 4dd2b564297ed441db4966e9ccd2a393
BLAKE2b-256 c0dbbf523f149771cf7d40e9503d5798a668e920ad7c341e01ced086df274c83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 add5278e68d578388ba9c45bae46b49fff4e6168cb25e4817322cee0febf17d8
MD5 b350b7cc12b41ffd77be2786b0221770
BLAKE2b-256 b41debceed9089068edcabaa8820dff424b51d8902293be5168e5b42d5b739ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5228ccb18eb10613421ee72e312ff2ce39f8810da55ff3589ba39c0005c36f78
MD5 b8e060f26b4707eecd056dbb09351714
BLAKE2b-256 ce8aa467124e283fc167d9f24f0357cf3b2cabd9a0cc791e9bb1dc69a384b08c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 08c86c3b4496536f0f3e1b04dee513378faf965a003c0557e4f5c2457c731059
MD5 c38db4bc4a8c2c41dd7e7bda228506b4
BLAKE2b-256 ef37f67680b89f73ea357054ca8c8e477884c1c5f0f97287c5efca159b2dbe40

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc2-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.1rc2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c66f729b67c289a845a9d855cefed1a4cb0ab2294def8282fc19acb03a3464fa
MD5 b9bcfd676461a5afe830e0c728ab58da
BLAKE2b-256 577f0b5c8b4f65e3c9b39be5c39b1867f6948689ab584aa3057bea8644b53bfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3f1a39e2d0a357a788519fc145a4cb0ff5fcb86ec44c9f94fd306854f96c65bf
MD5 4b70bffee2b6d3132f9efd38f877133d
BLAKE2b-256 ceadd50a3fef82edac45b6d38c91305c58306918d4b75a47e9cc5ed9961f3fad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 123c1a4dd4df6dccf32e2a34635b9bf13db84f4f3ea3e47cedf0c61b90f3933c
MD5 e3472d333f6cdecb395c79f9cf452d86
BLAKE2b-256 a447eb10ee5c6e4c7665e0c30172b5487736a345cf35a3d7347f6a64f86c9b91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c32e1407b4945683f5fa77d940046bde703c5c899a88b8af89155578efc7efe6
MD5 fbfe065a5c40a692d1945df7da5fe82e
BLAKE2b-256 243592e9824e0712bc66178e2fc96a05b53cef53a06803b1b6aef4b3edc8f602

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 26bdde75aac541cab8b49a9c082424f53412591daeef321e2a597cb375540abd
MD5 2f9d52fb03851753d1738c302e862a0b
BLAKE2b-256 c9fb36323148781f886142100c33440a3f9e86dabb392746f3c72b76fcaea381

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6d49ea143fb2baec6813be9f4da514a5bdeb75a1c906c3bbb8ec2ba97e917f91
MD5 1096b98a0c29f7b6be5b9e529f5f3ba2
BLAKE2b-256 206b43b944f8032d1df28d01b58da8073c4f6771fd14f47e8f61e610689d4630

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc2-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.1rc2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9a48217e5a4b81879cba2e62e7fe53708315d3849cd8dcaba6c141782dc6952d
MD5 f99f5a04e4e91104ae75b0b88905072f
BLAKE2b-256 5ab780e54587f2032ef5ee6121421d43c70d2904680380b2cd1624f1bb5e4c9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ed6a19e05c692651f20345dd12fc99c97f19cfc759b735b7af9269ade7e2cb87
MD5 26d1b54bcde29a64b67a101ea299b50c
BLAKE2b-256 01fc351171d38016279c0354f3581bcb0783add57bee5802470cbc902bf745e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1f81eff98c4a882b2583f2e93669265558b838eb194b46e979f5e2bdafb30107
MD5 2ad7b4bcbe58b3fdc08da717ad4fc6ce
BLAKE2b-256 85b60f0cb1aa8e0e89cdf2b56dc554956e1d6eafab7b026d4f9d103a3cf36dd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d98acef03bd538fc7b8d847fd38a341fdaa3f1cff85123132d98c3b496030a1a
MD5 602c5249ab82b3662fb3eb8242fbafbb
BLAKE2b-256 882242b1dff5cb4e6c8a6d73b14cc1439e31f64470b0965f23e1070cc5af700d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1da48e298cbfdfe7225e7bc4f08cbc3859b33feff3804f3c6cc0674ea43cdf14
MD5 0976927d0422942fac284f916eaf7912
BLAKE2b-256 3ff2020863c4a71669816e7cea96f2c141df88503866eea49bcf6b80056f8cd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b409b48d14a60aeefd3dd8e2015f4efca001cb255cb0c86a849f20d6544dc952
MD5 3995615fd5db0ab6cef12be5ea967427
BLAKE2b-256 0af5a1b9426178a1e852267db3dc124cc6c732548af5ed00b23af3ad803b7224

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc2-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.1rc2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 53e8073289a8504a0bc6d66df46b5f51b4d4a207e9add751b23bb0c5686ceab8
MD5 9c32ea14816c3332af2861f10cc29f15
BLAKE2b-256 eb38f9b341933e7d8cfa59d189220dce62c6d880c5ade7d30c60d96ad791de1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 de2f6406be1cb350eeb48488164ac5513457b248a1d2d84dff761d8ba987c044
MD5 a8b305e644b9da2a9937a491e749b853
BLAKE2b-256 572a4482f11790294cfda69a166839a297f1360f90bd94d79496c68ecaa2e516

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 59e9e2ad30e95fc198a444d3dfce466cd61695560ff2355d485744c557eec713
MD5 43f17572ec66b1837a85038cbb017f02
BLAKE2b-256 18ae3b392a1c38d05227c446287e4401bfaedd4218e8e6583e515e6c78f2588d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1768068d6924f35048b59a5b344df027722fb24e83a341c7c48963f732f1cb90
MD5 3b0cdbb85fceac3e934e76ddc8f1d355
BLAKE2b-256 9c422538152fc1b26b401f33e4ff0d51f8ce001e1d17a62d8b433ec0a73b8f98

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