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

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc9-cp312-cp312-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.6.1rc9-cp311-cp311-macosx_13_0_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

File metadata

  • Download URL: passagemath_glucose-10.6.1rc9.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.1rc9.tar.gz
Algorithm Hash digest
SHA256 640b7a031d6155284702c797086ba9de6c62ce8069801e1a4ef58029f6f073bd
MD5 2fcafdcffe7cf34a8b139e723bdddd8b
BLAKE2b-256 452f1e21133f4f8870751dcff605d2e0a8e0eee88eb89c2dc5afd4c498f09822

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 74d87146dc61155cac139bcb5c74212f1a329195aad8259d4d5cc487f76e360c
MD5 4729596f5a4a86e2da45b8aa97a5922a
BLAKE2b-256 2d3be976975f3c3be4733b275efa9eafa915986a2c5450f0a28f0b1252127fcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b1184b89a6d8b9839aea8f31f3967468d0af1d8c8c99f6ad2f9a187134eb9ba0
MD5 5f6eeeddf56a79462f469b0b93bcfb40
BLAKE2b-256 2ec8bb28340598b9d250b983ed8745ae67e2571baf130b42b9c0cdc8a6147011

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc9-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.1rc9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d7887bae924c4d51a96cd9a66ff79c7bd5ffb23bef598e200a611cfed46709f1
MD5 5156cce2725caedae0e841f6d02e03e2
BLAKE2b-256 870c3481f87877a0d9b244c86ffdcd9040a9180de8f06383a260c4f122c3a242

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 22bce82b1bd36c03939efd2c0babd3fce3a24ff59c09a15f76dfef1e530cc385
MD5 fed450248c202bf4da4f8a5054fd051b
BLAKE2b-256 4e3c7c1a254820a7740a21688b41829c74c46be744b0b92cdce0e844fc8fd6a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 751647d95b2bd98f676cecfb7f66ff482876a2b5e512390ef62d58b12e7d5b91
MD5 baa815cafbd46ff874d8488073312c1c
BLAKE2b-256 95f74a6c907018d038cceb1727add00d41deb8b13f761c5aae28225893efee15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 457175464f78eda58855b57d3a69da995026c6c893092dab8141012683c0f86d
MD5 739975736299200e4c624d57a6eb599c
BLAKE2b-256 61c3bc6ae8fb42abe30bbe4f6cc47a8ec6d4cb313d0b4870515891404f6ce44a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7d9723ae87fd66cb3c39e868aafe5cbfeb8d8c4331e896091ed2c9a626150e95
MD5 3ed30155be7be314fbb838a52a402423
BLAKE2b-256 62ec1157a0f8c7d574178c4ba8a988bf681572ff45c00d39255464a1b9c22f5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 17c9a7f9824cf7c6f0d1dc5ef288c4fd601a416b73a59a1c11ce1dc5c9282e90
MD5 6f2e1f960f613054bcbfbb1c98664b7f
BLAKE2b-256 1d02557d8a501de8bd902224980724664b494e852d0da17df9817ef3d92822fa

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc9-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.1rc9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 56418e17ec614851f5119d7c2967a5f47d0c4814377a36bf73fcf5c6cddcb108
MD5 efd906441f889b8bceab73d7a1843ace
BLAKE2b-256 92bd9b11591f1d8cf62d6dc638f08ae8d34aa0846ec140419646149e748f640d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ce5456ecdc4a88b7bef7a4b4a3adb76eae69022d8261db0ed26c9d725ae0646b
MD5 c1e6c2e5db1fdf8231ed2c906468b313
BLAKE2b-256 35c0fe7181f8c58e7f2a05f52f707cfbb3e7f93f9da7a6ed5dcdba2e8c8193b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 63462f0f5e84addecef56d0ea912bae094757d06321fbf603a08fec2917656eb
MD5 d6f0607b251e7842098c862ae8179dbf
BLAKE2b-256 1316489b4a2d9ba65388852273c6becbf85f9f855818ffc316f01344d23f5f4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ddea07688ff210c0917946f19a07bf2932009a25c32325f1bf32b6ab3f23cf49
MD5 0adf667327b63391e5442b18d4dce98a
BLAKE2b-256 72973e9382985c1e0a0529f489d24ac0a945555eda41e56635074934ce50a547

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1ac67ab858cfbaf3e8dd9ea5f7ca6d56c9eb231d26264d262e0b1c01dec3f21a
MD5 92dba2f7d28688ed8f2f94adfe0b097b
BLAKE2b-256 ace9bb11c663a14773a748808b37799b2037d1c14aa9d637ceefd8b66197a4f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 76b404f2cdbacacee215d986ad69c6c64e318df225bba44cf5f9cfb9ee4d85d5
MD5 3ab4aa29ac27a0fc12049d1c0dc34382
BLAKE2b-256 1d3bec95ca52758bb24e00c32c41b5e2369c943fce6bd86ba10ac254d123ee20

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc9-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.1rc9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 31ab4c91283ff79d840a4c4d31b3ff4d65070b0317c429015e9e8d6eaffdfb80
MD5 05194a615543af67977499e8c5e4182a
BLAKE2b-256 4d9fa11f4de1531c3ad4c62b25148a83c90e482151e9b1cc8f79fa51eca29d3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f39d8d175e150ce261d6013e600ae7467606fde2e88753870d85ee239ab8a7c1
MD5 7bbe067a39b0916e0c2b82293271dfde
BLAKE2b-256 993ec87338b31feccf2a5cd1f7d05ed3d92ba75dd880e0daf4dba12cc9abc904

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dfdaa816c05d73e9555836b42ffb29eeaf35eb7e224a91c66dfb313244bdb087
MD5 6f484b1abe059bd7544e4fc5d659c2cd
BLAKE2b-256 c114f3cbe2b85cea9f4a8845babf73b98593d30616688dc80320b95e04e7a744

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8d4105abee752b037df59e1b34674e7939b36fdd29d82d33968987d7269c1d4a
MD5 271cae7457f6d7b0bf671f987f67ebfd
BLAKE2b-256 77377e18e272645e03d9d1635e3bb3f634e0e644b7042ce4d843f0d46e806872

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8cc95844affe03afa4a1312ff7a70818f12cd1d372ba3ea9e17ea88cda52e55a
MD5 45534bf59ae96a274905cd08bf45adc5
BLAKE2b-256 cc9cdff7b9b54399845620f366dac9a79821c81594ed4796bdc492e0ed9ac31c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5361bdeb38aaeb35f6380e21bb675304342b019b6461d1d27e39b9c9cb22e270
MD5 a7d8d213d6909416e5cf1ffc91a36db4
BLAKE2b-256 d79efba1f872b90e1ff14ee56d45f597df4264c4b73a4a48769bd34d9d5353db

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.6.1rc9-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.1rc9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c8e2575fde4aa16f6815ccdcbd001cdbbfa51d071b0168f29e7f8177e27fcc2b
MD5 628c788c3090b7a4705748e5ec997159
BLAKE2b-256 4805e1f521de963d4fe3d9cfca94eaaade52dc0568868e95131dd44c0e2b7105

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0baff6b1795e92bf21d47a5c6446b908bab012e9f11f88dbc1b8fea5964c1455
MD5 4eefc061a572e8f7fd7ebf31c7e41e5d
BLAKE2b-256 172560cb84c11d0156d83abf825dc1d1970f6a51a155d6b5b8123b1757bf5b37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4d1223766c8fe1cefde3f72cf4528181ecbabd2efa3d9e090ffadd924f38f7ae
MD5 387dcd002341db177adfc7192feec075
BLAKE2b-256 cd21c37adff2410a1ae1d6adc4df48e7140cf3c375d884d61b688711391007d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.6.1rc9-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8ea3a7c7fb6c078d89aafc9c9eab3b7a1d31edbc078077d173b1fe1dd01604a2
MD5 66d078b5a4dcfd582ea47a4aaceb42d3
BLAKE2b-256 d75b0a213e8439eaed17227f782b3308c5a484d3f2d234fefafbd953a2b0a078

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